Repository navigation
Save the pinned swift-format cache on main - #66
Merged
Merged
Conversation
PR runs can read caches saved on main but not each other's, and CI runs only on pull requests, so every PR rebuilt the formatter (~8 minutes) and #65's Verify hit its 15-minute timeout. A path-filtered push-to-main workflow, plus a weekly refresh inside GitHub's 7-day eviction window, keeps the shared cache warm. check_workflows accepts a push paths filter as macOS gating. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
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.
Why
#64 cached the formatter per PR branch. GitHub only lets PRs read caches saved on
main, and CI never runs onmain, so every PR rebuilt it (8 min on CI). That pushed #65's Verify past its 15-minute timeout even though every step passed.What
.github/workflows/tool_cache.ymlbuilds and saves the formatter onmain. It runs when the pin changes, weekly (inside GitHub's 7-day cache eviction), and on demand.scripts/check_workflows.shaccepts a pushpaths:filter as gating for a macOS job, with a test.Evidence
check_workflows_test.sh,check_workflows.sh, andcheck_fast.shpass.🤖 Generated with Claude Code