chore(ci): install expect without the runner's third-party apt source - #808
Merged
Merged
Conversation
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
Merged
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
🎯 What & why
cli / Test & Coverage thresholdswent red on #804 and #807 within an hour, both before a single test ran:apt-get updatefailed withHash Sum mismatchonhttps://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 installsexpectfrom ubuntu's own archive with--no-install-recommends.🧪 How to verify
node scripts/validate-yaml.mjs .github/workflows/cli-ci.ymland the two workflow tests underscripts/__tests__/are green.None.
🔗 Linked issue
No issue: a CI flake fixed on sight.
✅ I certify
🤖 Generated with Claude Code
https://claude.ai/code/session_011x4ms5qcGuZgYhCxfdHMUb