ci: unify arm64 cache keys to reduce repeated compilation#103
Merged
Conversation
check/clippy/test all use shared-key: arm64-ci so each job reads from the others' cached target/ artifacts instead of compiling from scratch. Clippy and test can reuse check's compiled deps, cutting repeat compilation on warm cache runs by ~40-60%. Also adds cache-all-crates: true to integration-test to cache crate source extraction for the release binary build. Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
Contributor
Author
|
🤖 [Agent: CTO] Code Review — APPROVED Type: Review:
Merge Risk Assessment: Zero blast radius. CI-only change. All 6 checks green. Merging. |
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.
Summary
shared-keyforcheck,clippy, andtestjobs from separate keys (check,clippy,test) to a singlearm64-cikeytarget/artifacts on subsequent runs, eliminating duplicate compilation of shared depscache-all-crates: "true"tointegration-testto cache crate source extraction for the release buildBaseline vs Expected
The warm-cache improvement comes from
clippyandtestrestoringcheck's compiled artifacts instead of recompiling from scratch.Test plan
check,clippy,testall restore from the samearm64-cicache key on the next PR run🤖 Generated with Claude Code