Cache retention and prune utility for S3 and local backends #4
Loading…
Add table
Add a link
Reference in a new issue
No description provided.
Delete branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
Why
The README says storage lifecycle/prune is external and there is no per-cache size cap. Operators need a first-party cleanup path for local backend and object stores without lifecycle rules.
Verified
MIGRATION.mdsays retention is your storage lifecycle/prune job.README.mdsays there is no per-cache size cap.Build
prunemode/script that lists cache objects by scope/version/key age and size.Already implemented on
main: the retention/prune utility shipped inbeee077(PR #8, merging9f6d37d). It provides theprunesub-action /src/prune.jswith--max-age,--max-bytes, and--dry-run, across the local and S3 backends, pruning each archive together with its.sha256sidecar, with tests. Closing as done; the issue was just never closed at merge time.