Skip to content

ci(cache): prune obsolete Soldr cook-base generations - #359

Merged
zackees merged 1 commit into
mainfrom
ci/528-prune-obsolete-cook-base
Sep 27, 2026
Merged

zackees merged 1 commit into
mainfrom
ci/528-prune-obsolete-cook-base

Conversation

@zackees

@zackees zackees commented Sep 26, 2026 •

Copy link
Copy Markdown
Owner

Summary

  • Pin every first-party setup-soldr call to runtime Soldr 0.9.23 and guard that policy against mixed producer versions.
  • After all CI producers finish on a successful main push, prune only main-ref cook-base entries from older Soldr versions. Cook bases include the Soldr version in their key and restore exact-only, so old-version cook bases are unreachable from current producers.
  • Refuse deletion unless a current-version main cook base exists; treat a concurrent delete 404 as already absent; poll inventory and quota until settled.
  • Enforce a 9.5 GiB Actions cache budget using the larger of the usage endpoint and listed cache bytes. Preserve all current-version shapes, other cache families, and non-main refs.

Evidence

  • RED: current cache usage/listing is 10,829,310,998 bytes. Four v0.9.22 main cook bases total 7,800,315,246 bytes; read-only dry run projects 3,028,995,752 bytes after pruning.
  • GREEN: focused unittest suite passed (47 tests); full ci unittest discovery passed (131 tests); git diff check is clean.
  • Read-only clud-review clean after follow-up fixes.

Fixes #355. Part of setup-soldr#528.

@zackees zackees added the ci-full Run the complete release-equivalent CI matrix on this PR SHA label Sep 26, 2026
@zackees
zackees merged commit 638d81f into main Sep 27, 2026
15 of 21 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

ci-full Run the complete release-equivalent CI matrix on this PR SHA

Projects

None yet

Development

Successfully merging this pull request may close these issues.

ci(cache): setup-soldr PR saves blow the 10 GB cache (one PR offered ~23 GB, 14.6 GB of cook bases) — adopt setup-soldr#527 and guard it

1 participant