Repository navigation
ci: pin cache-apt-pkgs-action to v1.6.0 - #2583
Merged
Merged
Conversation
Pin all three call sites away from `@latest`. Matches the existing pin style for `Swatinem/rust-cache@v2`, `hustcer/setup-nu@v3`, and `taiki-e/[email protected]`.
max-sixty
enabled auto-merge (squash)
May 4, 2026 07:40
max-sixty
pushed a commit
that referenced
this pull request
Jun 29, 2026
## Problem CI on `main` fails in the required `code-coverage` job ([failed run](https://github.com/max-sixty/worktrunk/actions/runs/28358354325)). The `Install shells (zsh, fish)` step aborts: ``` PACKAGES: zsh fish Normalizing package list... Validating action arguments (version='1', packages='')... exit status 100Packages argument is empty. ##[error]Process completed with exit code 3. ``` This is a deterministic regression in `awalsh128/[email protected]`, introduced by the bump in #3311. v1.6.2's new "Normalize package list" step turns the input `zsh fish` into an empty string before validation. Upstream root cause: PR #177 added quotes around `${packages}` in `get_normalized_package_list`, so `apt_query` treats the entire space-separated list as one package name and the normalization yields nothing — tracked at [awalsh128/cache-apt-pkgs-action#210](awalsh128/cache-apt-pkgs-action#210). v1.6.2 is still the latest release with no fix. #3311 bumped three of the four call sites (`ci.yaml` `code-coverage`, two in `nightly.yaml`); `.github/actions/test-setup/action.yaml` was never bumped and stayed on v1.6.1 — which is why test-setup-based jobs passed while `code-coverage` failed. ## Solution Revert the three v1.6.2 references to v1.6.1, the known-good version the test-setup action already uses, so all four sites are consistent again. Also add a Dependabot `ignore` for v1.6.2 of this action so the daily github-actions update doesn't immediately re-create the same broken bump; the entry is scoped to that one version, so Dependabot can bump forward once a fixed release ships. This is the right level: the failure is entirely upstream, the fix matches the existing precedent (#2583 pinned this action), and pinning back is a clean revert rather than a workaround layered on a broken release. ## Testing The fix is a CI-config change; correctness is verified by CI itself re-running the `code-coverage` job with v1.6.1. The v1.6.1 path is already exercised by every existing run via `test-setup`, which never failed on this step. Note: the advisory (non-required) `collect affected coverage (windows)` leg in the failed run also failed, on an unrelated PTY flake (`test_switch_picker_create_validates_templates_before_worktree`) — a separate known-flaky Windows shell-integration test, not caused by this commit and not addressed here. --- Automated fix for [failed run](https://github.com/max-sixty/worktrunk/actions/runs/28358354325) Co-authored-by: worktrunk-bot <[email protected]> Co-authored-by: Claude <[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.
Summary
awalsh128/cache-apt-pkgs-actioncall sites used@latest— pin them to@v1.6.0(current latest, published 2025-10-15).Swatinem/rust-cache@v2,hustcer/setup-nu@v3,taiki-e/[email protected])..github/actions/test-setup/action.yaml.Test plan
test-setupand the two cargo-affected jobs all install zsh/fish via the pinned action.