Repository navigation
ci(cache-cleanup): drop hourly cron, trigger on-demand from cache-adding workflows - #520
Merged
Merged
Conversation
…ing workflows Removes the hourly schedule. Cleanup now runs: - workflow_dispatch: manual trigger. - workflow_run after CI / Integration / Coverage / Benchmark Stats / Perf Cluster Rust: those are the workflows that ADD large per-commit cache entries (cook-delta, zccache-test-*, cargo-target-bench-*). Triggering after them lines up the cleanup with the moment new entries land. Gated by a high-water-mark check (8 GB). Cleanup is a no-op when cache usage is under the threshold — no wasted runner time on runs that don't need to prune. The 8 GB threshold leaves 2 GB headroom under the 10 GB GitHub cap for in-flight workflow saves to complete without forcing LRU eviction of small long-lived caches. Co-Authored-By: Claude Opus 4.7 <[email protected]>
6 tasks
zackees
added a commit
that referenced
this pull request
May 31, 2026
Patch release covering the fixes and CI hardening that landed since 1.11.8: - fix(persist): retry artifact rename through AV-scanner share lock on Windows (#509) - fix(request-cache): scope worktree-bound entries to their originating root (#511) - fix(cli): add `analyze` + `kv` to KNOWN_SUBCOMMANDS to stop wrap-mode misroute (#507) - perf(guard): gate rust-workspace-link Cold ratio (issue #517) (#519) - perf(bench): emit zccache_rust_miss_profile lines in benchmark-stats logs (#521) - ci(cache-cleanup): switch to count-based policy, broader per-commit families, on-demand trigger (#515, #516, #520) - ci: setup-soldr pin bumps v0.9.21 -> v0.9.38 (#485–#518) Co-authored-by: Claude Opus 4.7 <[email protected]>
This was referenced Jun 20, 2026
zackees
added a commit
that referenced
this pull request
Jun 20, 2026
…ks CI (#851) Main CI has been red since the cross-repo dev pin in zccache#842 landed a \`file:///C:/Users/niteris/dev/zccache/.extern-repos/running-process\` patch-pin into the workspace Cargo.toml. CI runners can't see that path, so every Cargo build that resolves running-process aborts with: Updating git repository \`file:///C:/Users/niteris/dev/zccache/.extern-repos/running-process\` Unable to update file:///C:/Users/niteris/dev/zccache/.extern-repos/running-process#baf2d60b Visible on the latest main push (PR #850's merge run 27879118164): Integration / Perf Guard / Linux / macOS / Windows all failed at "Build integration test binaries" with that exact error. Fix: replace the file:// pin with the equivalent public git+rev on the running-process \`fix/broker-v2-hardening-rp517-518-519\` branch (PR zackees/running-process#520). The pinned commit ca0a7ad2 is the current tip after the clippy manual_flatten fix landed (so PR #520 itself is also unblocked on the lint front). Iteration cycle is unchanged for the maintainer's local clone — bump the rev to the new branch tip after pushing upstream. Reverts to the published \`running-process = "4.5.6+"\` line once upstream PR #520 merges and the next release ships. Co-authored-by: Claude Opus 4.7 (1M context) <[email protected]>
This was referenced Jun 20, 2026
zackees
added a commit
that referenced
this pull request
Jun 20, 2026
…ad) (#852) zackees/running-process PR #520 merged at 2026-06-20T18:07:55Z, closing upstream issues #517, #518, #519. The fix branch's tip \`ca0a7ad2\` was squash-merged into \`main\` as commit \`502040ad\`. Move the zccache pin from the now-deleted PR-branch rev to main HEAD so - the cargo dep is anchored on a long-lived branch (not a soon-to-be-GC'd PR tip), - the next sub-PR can land additional running-process hardening without blocking on a release cut. The published \`running-process = \"4.5.5\"\` line in \`[workspace.dependencies]\` still can't be used directly: 4.5.5 ships the pre-#518 \`BrokerV2Error::Refused\` shape (\`details: Box<Refused>\`), but zccache's \`BrokerRefusal::from_brokerv2_error\` now destructures the post-#518 top-level \`retry_after_ms\` field. Will revert the patch entry entirely once running-process cuts 4.5.6+. Co-authored-by: Claude Opus 4.7 (1M context) <[email protected]>
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.
Per user request: revert the hourly schedule, just trigger when necessary.
Now runs:
workflow_dispatch(manual)workflow_runafter CI / Integration / Coverage / Benchmark Stats / Perf Cluster Rust completeGated on cache usage > 8 GB high-water mark — no-op when under threshold so we don't waste runner time on idle runs.
🤖 Generated with Claude Code