Repository navigation
fix(ci): install zsh/fish via apt-get, drop cache-apt-pkgs-action - #3324
Merged
Merged
Conversation
awalsh128/[email protected] (dependabot bump #3311) empties the `packages: zsh fish` argument in its "Normalizing package list" step, then aborts with "Packages argument is empty" before any compilation. This killed the non-required `code-coverage` job on every PR, so `codecov/patch` — a real merge gate in this repo — could no longer post anywhere. Replace the third-party action at all four call sites (ci.yaml code-coverage, nightly.yaml feature-powerset + benchmarks, and the test-setup composite action used by the required test matrix) with a plain `sudo apt-get update && sudo apt-get install -y zsh fish`. zsh and fish are in the standard Ubuntu repos, so the action only cached an install of two tiny packages — negligible benefit for a third-party dependency that can (and did) break CI repo-wide, and whose bare semver tags aren't immutable pins. Matches the existing musl-tools install already in nightly.yaml. Co-Authored-By: Claude Opus 4.8 (1M context) <[email protected]>
worktrunk-bot
approved these changes
Jun 29, 2026
# Conflicts: # .github/workflows/ci.yaml # .github/workflows/nightly.yaml
Collaborator
|
Linking another concrete instance of this failure: the This was a default-branch failure, so |
max-sixty
added a commit
that referenced
this pull request
Jun 30, 2026
…3337) The criterion suite ran as a job inside `nightly.yaml`: ~80 min, checking performance rather than correctness, yet feeding nightly's failure aggregator and dominating its wall-clock. This moves it into a standalone `benchmarks.yaml` on its own daily schedule, decoupled from nightly's correctness checks. `benchmarks.yaml` runs on its own cron (3:47 UTC, offset from nightly's 5:37 so the two long runs don't contend) plus `workflow_dispatch`. The env block is carried over so the shared `test` cache key still matches (per `.github/CLAUDE.md`); the gist time-series append stays gated to `schedule` events; and a dedicated `create-issue-on-benchmark-failure` job keeps a broken bench harness visible, since benchmarks no longer ride nightly's aggregator. One behavior change: benchmarks no longer run on PRs at all. Previously the job ran on a PR carrying the `nightly` label or touching `Cargo.*`. `workflow_dispatch` against a branch covers on-demand bench runs. `nightly.yaml` loses the `benchmarks` job, its header line, and its `needs` entry in the failure aggregator. Docs updated: the `CLAUDE.md` benchmarks note (benchmarks no longer gate merges since they're off PRs) and the `running-tend` skill's `setup-nu` call-site list. This branch also merges current `main`, which includes #3324 (drop `cache-apt-pkgs-action` for plain `apt-get`); `benchmarks.yaml` installs zsh/fish the same way rather than reintroducing the dropped action. > _This was written by Claude Code on behalf of max_ Co-authored-by: Claude Opus 4.8 (1M context) <[email protected]>
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 this does
Removes the third-party
awalsh128/cache-apt-pkgs-actionfrom CI entirely, installing zsh + fish with a plainsudo apt-get update && sudo apt-get install -y zsh fishat all four call sites:ci.yaml—code-coveragenightly.yaml—feature-powersetandbenchmarks.github/actions/test-setup/action.yaml— composite action used by the requiredtestmatrixIt also drops the Dependabot
ignoreentry for the action (no longer needed once the action is gone).Why (and why this supersedes #3321)
awalsh128/[email protected](dependabot bump #3311) empties its ownpackages: zsh fishargument in the "Normalizing package list" step and aborts withPackages argument is empty, in ~20s, before any compilation — killingcode-coverageon every PR, which in turn stoppedcodecov/patchfrom posting anywhere. Root cause is upstream PR #177 quoting${packages}, tracked at awalsh128/cache-apt-pkgs-action#210.#3321 already fixed main by pinning back to
v1.6.1. This PR takes the sturdier route — dropping the dependency — based on the upstream's health:Latest, and contributor PRs sit unmerged for months.v1/latesttags are actively being retargeted upstream (open PR Add unit tests to improve code coverage #211), which is how a@v1.6.1ref can resolve to drifted code — so even the pin isn't a stable anchor.zshandfishare in the standard Ubuntu repos (no PPA), so the action only cached an install of two tiny packages — a negligible speed-up for a third-party dependency that is under-maintained, broke CI repo-wide, and can't be stably pinned. Dropping it removes the whole failure class and matches the existingmusl-toolsinstall already innightly.yaml. Verified: the identicalapt-getstep already runs green in the requiredtest (linux)job (installs zsh 5.9 + fish 3.7.0), and a fullcode-coveragerun on this branch completed green end-to-end withcodecov/patchposting again.Guard against recurrence
#3311 merged while its own
code-coveragewas red becausecode-coverage/codecov/patcharen't required status checks (onlytest (linux/macos/windows)are), andcodecov/patchwas absent rather than red (the job died before uploading), so the mechanical-bump merge saw nothing blocking. Recommended guard: make thecode-coveragejob a required status check — it fails only on genuine breakage (the codecov upload already soft-fails on fork PRs), so it blocks this class without re-introducing the flake that keepscodecov/patchitself advisory.