GeezerVisonThe World Wide Web, restored to 800 pixels of glory. | ||||||||||||||||||||||||||||||
| Home|About|Gaming cabinet|Archives|How it works|Starter sites | ||||||||||||||||||||||||||||||
GeezerVison is showing github.com — ci: fix cargo cache eviction — rust-cache, per-suite e2e keys, main-only saves by mikolalysenko · Pull Request #121 · SocketDev/socket-patch Conversation
Collaborator
ProblemEvery ubuntu
Fix
Workspace crates ( Expected effecte2e legs go from ~275-crate cold builds per leg per PR run to dependency-cached builds; total repo cache footprint drops well under the 10 GiB budget so main caches stop being evicted. 🤖 Generated with Claude Code
Sorry, something went wrong. Uh oh!
There was an error while loading. Please reload this page. All reactions…nly saves Every ubuntu e2e leg has been cold-compiling the full ~275-crate graph on every PR run. Two compounding causes: 1. Matrix key collision: all ~9 same-OS e2e legs shared one cache key (`<os>-cargo-e2e-<lockhash>`), so a single leg won the cache reserve per run and the other 8 logged "Unable to reserve cache". 2. Budget blowout: caching the entire target/ dir put a single main run's cache footprint at ~8.2 GiB (windows 3.96 GB, macos 2.19 GB) against GitHub's 10 GiB LRU budget, so PR-branch saves evicted the main caches (and vice versa) — the big e2e caches always first. Fix: swap the five raw actions/cache blocks (clippy, test matrix, test-release, coverage, e2e) for Swatinem/rust-cache, which prunes the cache to dependency artifacts (~5-10x smaller) and keys on the rustc host triple + job automatically; give e2e legs a per-suite key; and restrict saves to main (`save-if`) so PR branches restore without churning the budget. Workspace crates recompile per run by design — that's the ~1-2 min tradeoff that keeps dependency caches alive. The docker-image jobs keep their deliberate no-cache stance (zizmor cache-poisoning audit). Co-Authored-By: Claude Fable 5 <[email protected]>
All reactions
Sorry, something went wrong. Uh oh!
There was an error while loading. Please reload this page.
All reactions
Sorry, something went wrong. Uh oh!
There was an error while loading. Please reload this page.
Jeppe Hasseriis (cenobitedk)
approved these changes
Uh oh!
There was an error while loading. Please reload this page.
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
ReviewersUh oh!
There was an error while loading. Please reload this page. AssigneesNo one assignedLabels
None yet
ProjectsMilestoneNo milestoneDevelopmentSuccessfully merging this pull request may close these issues. Uh oh!
There was an error while loading. Please reload this page. 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. | ||||||||||||||||||||||||||||||
| You are visitor 01402503 — GeezerVison does not store the pages you look up. Best viewed with Netscape Navigator 4.7 or Internet Explorer 6 at 800×600. No cookies required. |