From e9182d6a817d21b6724068b4da62f50d0c3b341c Mon Sep 17 00:00:00 2001 From: Baptiste LAFOURCADE Date: Wed, 9 Sep 2026 19:50:07 +0200 Subject: [PATCH] chore(ci): install expect without the runner's third-party apt source The coverage job's `apt-get update` fails a few times a day on the Google Chrome source the runner image ships, whose mirror serves a stale index ("Hash Sum mismatch"), and the whole job goes red before a test runs; it hit #804 and #807 within an hour. `expect` comes from ubuntu's own archive, so the chrome source is removed before the update. Co-Authored-By: Claude Fable 5.1 Claude-Session: https://claude.ai/code/session_011x4ms5qcGuZgYhCxfdHMUb AIDD-Session-Id: 4acc9a1c-19bc-4468-b8b6-e86644bcba60 --- .github/workflows/cli-ci.yml | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) diff --git a/.github/workflows/cli-ci.yml b/.github/workflows/cli-ci.yml index b560a5670..9d223e5ac 100644 --- a/.github/workflows/cli-ci.yml +++ b/.github/workflows/cli-ci.yml @@ -175,8 +175,12 @@ jobs: runs-on: ubuntu-latest steps: - uses: actions/checkout@3d3c42e5aac5ba805825da76410c181273ba90b1 # v7.0.1 + # The runner image carries Google's chrome apt source, whose mirror serves a stale index a + # few times a day ("Hash Sum mismatch") and fails the whole update; expect comes from ubuntu. - name: Install expect (TTY persona tests) - run: sudo apt-get update && sudo apt-get install -y expect + run: | + sudo rm -f /etc/apt/sources.list.d/google-chrome.list /etc/apt/sources.list.d/google-chrome.sources + sudo apt-get update && sudo apt-get install -y --no-install-recommends expect - name: Install pnpm run: corepack enable - uses: actions/setup-node@820762786026740c76f36085b0efc47a31fe5020 # v7.0.0