Reduce CI cache storage - #627
Merged
Merged
Conversation
Codecov Report✅ All modified and coverable lines are covered by tests. Additional details and impacted files@@ Coverage Diff @@
## main #627 +/- ##
=======================================
Coverage 85.04% 85.04%
=======================================
Files 45 45
Lines 5691 5691
Branches 459 459
=======================================
Hits 4840 4840
Misses 721 721
Partials 130 130 ☔ View full report in Codecov by Harness. 🚀 New features to boost your workflow:
|
Every other job already passes persist-credentials: false. The MSRV job was the one still leaving the token in .git/config for the rest of the job, including while it builds and runs third-party code.
The macOS matrix does not define arch, so setup-python was always handed an empty architecture. Windows is the only job that varies it.
setup-uv keys on uv's host triple, the runner image and the Python patch version, so the 46 jobs shared 23 keys: Windows x86 with x64, 3.14 with 3.14t, every MSRV job with lint. One job per group saved and the rest restored a cache built for another interpreter, then skipped saving, so Windows x86 and the free-threaded jobs rebuilt gevent from source on every run. cache-suffix supplies what the key lacked, and setup-python now runs first so lint and MSRV stop keying on the runner's default Python. Prune before saving so 46 entries fit where 23 were already evicting within hours of the 10 GB limit.
RazerM
force-pushed
the
feature/ci-cache
branch
from
September 6, 2026 14:45
2e8ab41 to
ce7d02e
Compare
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.
Cache only source-built third-party wheels, with fallback restores across dependency changes. Share Linux/MSRV caches and separate Python ABIs and architectures.
Validated YAML/formatting and matrix keys. Cold and warm CI runs passed all 46 jobs; warm dependency installation time fell 42% from baseline.