Skip to content

chore(ci): install expect without the runner's third-party apt source - #808

Merged
blafourcade merged 1 commit into
nextfrom
chore/ci-expect-without-third-party-apt
Sep 9, 2026
Merged

chore(ci): install expect without the runner's third-party apt source#808
blafourcade merged 1 commit into
nextfrom
chore/ci-expect-without-third-party-apt

Conversation

@blafourcade

Copy link
Copy Markdown
Contributor

🎯 What & why

cli / Test & Coverage thresholds went red on #804 and #807 within an hour, both before a single test ran: apt-get update failed with Hash Sum mismatch on https://dl.google.com/linux/chrome-stable/deb, a source the ubuntu runner image ships and this job never uses. A gate that fails on somebody else's mirror is a gate people learn to re-run.

🛠️ How it works

The step removes the chrome apt source before apt-get update, then installs expect from ubuntu's own archive with --no-install-recommends.

🧪 How to verify

  • The job on this PR passes its "Install expect" step.
  • node scripts/validate-yaml.mjs .github/workflows/cli-ci.yml and the two workflow tests under scripts/__tests__/ are green.

⚠️ Heads-up

None.

🔗 Linked issue

No issue: a CI flake fixed on sight.

✅ I certify

  • I DO CERTIFY I READ EACH LINE OF THE PULL REQUEST BECAUSE I AM A SOFTWARE ENGINEER, NOT A AI PUPPY.

🤖 Generated with Claude Code

https://claude.ai/code/session_011x4ms5qcGuZgYhCxfdHMUb

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 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_011x4ms5qcGuZgYhCxfdHMUb
AIDD-Session-Id: 4acc9a1c-19bc-4468-b8b6-e86644bcba60
@blafourcade
blafourcade requested a review from a team as a code owner September 9, 2026 17:50
@blafourcade
blafourcade merged commit 1e8ce3f into next Sep 9, 2026
36 checks passed
@aidd-bot aidd-bot Bot mentioned this pull request Sep 9, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant