Commit Graph
1 Commits
Author SHA1 Message Date
saru c9286e3624 Save atomically and auto-prune the cache store
Write the archive to a .tmp file then rename into place so a concurrent
prune can never delete a half-written archive, and run prune.sh after
every save: keep the 3 newest archives per key-prefix family, expire
anything older than 7 days, hard-cap the store at 2 GB (oldest first,
trumping the keep set), never touch files younger than 1h, and drop
stale run workspaces under ~/.cache/act older than 2 days.
2026-08-14 22:54:43 +08:00