Skip to content

ci: keep the cook layers in the cache budget and carry the verdicts - #3548

Merged
vpacher merged 2 commits into
masterfrom
infra/2661-cook-layers
Nov 3, 2026
Merged

vpacher merged 2 commits into
masterfrom
infra/2661-cook-layers

Conversation

@vpacher

@vpacher vpacher commented Nov 3, 2026

Copy link
Copy Markdown
Member

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.

Change Declared size
Fast Gate and both Cross Lint jobs share --profile dev -- --tests and linux-host-v2 (also release-rust.yaml, which a test keeps equal): one Linux layer none
deps shapes: macOS 400 MB to 900 MB, Windows 650 MB to 1.1 GB +1,023,829,606 B
zccache-tier2: 1.5 GB to 700 MB -876,609,536 B
New family soldr-verdict, 1 MB, LRU +1,048,576 B

Declared 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.json gets the current zccache-tier2 entry, 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_profiles and test_cache_family_budget have 9 failures, in test_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_layers and test_verdicts_have_a_family.

GREEN, local: those tests, test_tier2_cache_retention, test_ci_toml, test_verdict_scope and test_cache_metrics pass. ci-lint precheck reports the same 10 violations as master.

Not known yet

🤖 Generated with Claude Code

vpacher and others added 2 commits November 3, 2026 11:18
…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]>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

Status: Done

Development

Successfully merging this pull request may close these issues.

1 participant