ci: stop caching the zig linker toolchain - #5415
Closed
orangeCatDeveloper wants to merge 1 commit into
Closed
orangeCatDeveloper wants to merge 1 commit into
orangeCatDeveloper wants to merge 1 commit into
Conversation
setup-zig saves its global cache under a run-scoped key, so every cli-package-validation run added an entry nothing later restores, and the repository cache is already past its quota. Generated-by: Claude Code
Contributor
Author
|
Opened by mistake while testing on a fork; closing. Will reopen once the change has been validated. |
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
mlugg/setup-zigsaves the global zig cache under a key that includes the run id, so everycli-package-validationrun adds an entry that no later run restores. The repository cache is over its 10 GB quota, and those entries are crowding out the Rust build cache that keepsBuild CLI release candidateat 45 s instead of 185 s. zig only links here, so the cache carries nothing worth keeping; turn it off.Verification
Repository cache before this change:
Cost on the linux jobs of run 35125665522: the save step (
Post Install the Linux baseline linker) took 1–2 s per job, andBuild the release addontakes 10–18 s with or without a warm zig cache. No wall-clock change expected; the change is cache hygiene.AI use
Select exactly one:
Tool(s) and scope: Claude Code audited the repository cache, traced the entries to setup-zig's run-scoped key, and wrote the change.
Checklist
Does this PR entail a change in behavior?