Repository navigation
ci: keep the cook layers in the cache budget and carry the verdicts - #3548
Merged
Merged
Conversation
…amily (#2661) RED: the tests fail on master. Co-Authored-By: Claude Opus 5.5 <[email protected]>
…2661) The janitor evicted one cook layer on each queue run, because the deps footprint was below the live layers, and the next master push saved it again. Fast Gate and Cross Lint now share one Linux layer, the macOS and Windows shapes hold the measured layers, and zccache-tier2 gives up the space: a run restores only its newest entry. Declare soldr-verdict: the janitor deleted it as undeclared, so PRs had no verdicts to replay. Bump the Linux host suffix to leave the key whose save gets a 409. Co-Authored-By: Claude Opus 5.5 <[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.
Refs #2661
What and why
The janitor evicts a cook layer on each queue run, Fast Gate's Linux layer cannot save, and the verdicts are deleted before a PR can replay them. The findings and numbers are on #2661.
--profile dev -- --testsandlinux-host-v2(alsorelease-rust.yaml, which a test keeps equal): one Linux layerdepsshapes: macOS 400 MB to 900 MB, Windows 650 MB to 1.1 GBzccache-tier2: 1.5 GB to 700 MBsoldr-verdict, 1 MB, LRUDeclared worst case: 10,641,788,107 B of the 10,737,418,240 B budget. The janitor still chooses what goes, not GitHub.
ci/fixtures/queue-compiler-caches.jsongets the currentzccache-tier2entry, 260,444,470 B. It was 1,171,438,427 B on 2026-10-24.RED and GREEN
RED, local, on the first commit:
test_cook_profilesandtest_cache_family_budgethave 9 failures, intest_build_consumers_declare_the_profile_policy,test_linux_host_jobs_share_one_cook_layer,test_linux_host_key_is_not_the_stuck_one,test_cook_shapes_hold_the_measured_layersandtest_verdicts_have_a_family.GREEN, local: those tests,
test_tier2_cache_retention,test_ci_toml,test_verdict_scopeandtest_cache_metricspass.ci-lint precheckreports the same 10 violations as master.Not known yet
depseviction lines and verdict replays on ci: Cook cache layers rarely help: macOS/Windows layers missing, evicted at the 10 GB limit, test builds recompile dependencies #2661 after the merge.deps.🤖 Generated with Claude Code