Repository navigation
fix(ci): declare the deps family by cook-base-v3 prefix (#3166) - #3169
Merged
Merged
Conversation
The pinned setup-soldr (9337570) writes cook-base-v3 keys, while the pinned linter (a1917ce) resolves via setup-soldr:cook to cook-base-v2, so the cache janitor classified every cook layer as an undeclared family and deleted it on each merge-queue run: 15 of 26 janitor runs on 2026-10-31 deleted 1-6 layers of 0.7-3.7 GB, and the Fast Gate compiled 153-168 external crates on a MISS against 97-111 on a HIT. deps now declares prefix = cook-base-v3- itself (ci-lint makes via and prefix mutually exclusive), keeping the measured shapes. Shape re-sizing needs cache budget (#1801): the measured v3 layers total ~3.8 GiB against 2.43 GiB declared and 0.45 GiB of headroom, so it is tracked separately rather than decided here. Fixes #3166
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.
The pinned
zackees/setup-soldr(9337570) writescook-base-v3-…keys, while the pinned linter (a1917ce) still resolvesvia = "setup-soldr:cook"tocook-base-v2-. The cache janitor therefore classified every cook layer as an undeclared family and deleted it on each merge-queue run (#3166): 15 of 26 janitor runs on 2026-10-31 removed 1–6 entries of 0.7–3.7 GB, and Fast Gate compiled 153–168 external crates on a MISS against 97–111 on a HIT.RED
b072d9f—ci/test_ci_toml.py,test_deps_family_matches_the_pinned_setup_soldr_cook_prefix. It reads thezackees/setup-soldr@<sha>pins out of.github/workflows/, requires them to equalSETUP_SOLDR_PIN, and requiresdepsto declareSETUP_SOLDR_COOK_PREFIX. On master:GREEN
ac065c5—depsdeclaresprefix = "cook-base-v3-"itself. ci-lint's schema makesviaandprefixmutually exclusive, so theviagoes;maxand the three shapes stay exactly as measured, so the declared footprint is unchanged (budget arithmetic below). TheVIA_PREFIXEStable keepssetup-soldr:cook -> cook-base-v2-with a note that the pinned linter resolves it that way, andtest_setup_soldr_and_uv_families_declareddropscookfrom its requiredviaset; the preserved-family assertion moves fromcook-base-v2-tocook-base-v3-since v2 keys are no longer written.Evidence
uv run --no-project python -m unittest ci.test_ci_toml ci.test_cache_family_budget: 51 tests, OK.The pinned linter's own classification of the live repository cache (
ci-lint cache audit --repo ., ci.yml@a1917ce, cache 69 entries): both live cook layers now match a family, and nocook-base-v3-key is a CACHE-001 violation../lint:== lane lint: ok (181.1 s).Not in this PR
Issue item 2 (shape sizes from the measured v3 layers) is a cache-budget decision, not a prefix fix. With the measured 1.29–1.51 GB Linux, 0.72 GB macOS and 0.80–0.84 GB Windows layers plus 25 % room,
depswould need ~3.8 GiB against 2.43 GiB declared; the families currently total 10,257,799,577 B against the 10 GiB cap, so only 0.45 GiB of headroom exists and another family has to give room. Filed as aDecision needed:on #1801 rather than decided here.Fixes #3166