Repository navigation
ci: pip caches share one hash-only key; nightly cache prune (Part of #4847) - #4966
Conversation
… prune (Part of #4847) Co-Authored-By: Claude Sonnet 5.5 <[email protected]>
#4935, Part of #4847) Co-Authored-By: Claude Sonnet 5.5 <[email protected]>
|
No description provided. |
|
No description provided. |
|
PR #4966 @ 3fbb94f: 5 failed check(s) == db2 1/4 (failure) -- infra == db2 2/4 (failure) -- infra == db2 3/4 (failure) -- infra == db2 4/4 (failure) -- infra == det (failure) -- real |
|
CI shepherd: the head of this PR (3f3e6a3) is not the one a maintainer labelled |
|
No description provided. |
|
No description provided. |
Part of #4847 (item: Actions cache under the 10 GB limit).
What
setup-pythonpip key issetup-python-<os>-<arch>-python-<ver>-pip-<hashFiles(cache-dependency-path)>. Workflows used four different dependency paths (pyproject.toml,gitgalaxy/pyproject.toml, none/default), so each shape saved its own ~450 MB Linux cache and PR merge refs kept saving copies. 29 workflows (36cache: pipsteps) now use one value:pyproject.toml+ci/requirements/*.txt(prefixedgitgalaxy/where the job checks out into that dir; hashFiles hashes contents, so the hash is identical). No run/sha/date component.cache-prune.yml(03:41 UTC; manual run defaults to dry-run) runstests/tools/cache_prune.py: deletes caches of closed PRs and dead branches, non-main caches idle >7 days, then coldest non-main caches, and as a last resort main's older duplicates, until under 6.5 GB. Main's newest cache of every key family is never deleted.test_cache_keys.pypins the pip key shape for every workflow (cache: pipshape, and any explicitactions/cacheof pip's dir must be hashFiles-only);test_cache_prune.pycovers the plan.Numbers (2026-10-12,
actions/cache/usageandactions/caches?per_page=100)Not touched
mainframe-ground-truth.ymlandsmoke-test.yml(both protected, #4935) still hashpyproject.tomlalone; both are inEXEMPTin the test with the reason (sibling gaps).Gates:
pr_gates --fast5/5,--ratchets7/7 (0 skipped).🤖 Generated with Claude Code