Conversation
Use shared-key per OS so build, ci-other, autofix, and release-plz share one cache instead of each maintaining its own. Only ci-other saves (on main) since it has the most complete artifacts (test + clippy). Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
Contributor
|
Note Gemini is unable to generate a summary for this pull request due to the file types involved not being currently supported. |
Greptile SummaryThis PR consolidates the Rust compilation cache across all CI jobs from ~6 distinct keys (~10.8 GB) down to 3 shared keys (
Confidence Score: 5/5
Flowchart%%{init: {'theme': 'neutral'}}%%
flowchart TD
MAIN[Main Branch Push] --> BUILD_U[build - ubuntu-latest\nsave-if: false]
MAIN --> BUILD_M[build - macos-latest\nsave-if: false]
MAIN --> CIO_U[ci-other - ubuntu-latest\nsave-if: true on main]
MAIN --> CIO_M[ci-other - macos-latest\nsave-if: true on main]
MAIN --> MSRV[msrv\nsave-if: true on main]
MAIN --> RP[release-plz\nsave-if: false]
PR[PR Trigger] --> AUTOFIX[autofix\nsave-if: false]
subgraph CACHE["GitHub Actions Cache"]
C1["debug-ubuntu-latest"]
C2["debug-macos-latest"]
C3["msrv"]
end
BUILD_U -- reads --> C1
BUILD_M -- reads --> C2
CIO_U -- reads + writes --> C1
CIO_M -- reads + writes --> C2
MSRV -- reads + writes --> C3
RP -- reads --> C1
AUTOFIX -- reads --> C1
Last reviewed commit: cf43c58 |
Merged
jdx
pushed a commit
that referenced
this pull request
Mar 9, 2026
### 🚀 Features - **(cloudflare)** add Cloudflare API token lease backend by [@jdx](https://github.com/jdx) in [#335](#335) - **(fido2)** bump demand to v2, mask PIN during typing by [@jdx](https://github.com/jdx) in [#334](#334) - **(init)** add -f as short alias for --force by [@jdx](https://github.com/jdx) in [#329](#329) - **(lease)** add --all flag, default to creating all leases by [@jdx](https://github.com/jdx) in [#337](#337) - **(lease)** add GitHub App installation token lease backend by [@jdx](https://github.com/jdx) in [#342](#342) ### 🐛 Bug Fixes - **(config)** fix directory locations to follow XDG spec by [@jdx](https://github.com/jdx) in [#336](#336) - **(exec)** use unix exec and exit silently on subprocess failure by [@jdx](https://github.com/jdx) in [#339](#339) - **(fido2)** remove duplicate touch prompt by [@jdx](https://github.com/jdx) in [#332](#332) - **(set)** write to lowest-priority existing config file by [@jdx](https://github.com/jdx) in [#331](#331) - **(tui)** skip providers requiring interactive auth by [@jdx](https://github.com/jdx) in [#333](#333) ### 🛡️ Security - **(ci)** retry lint step to handle transient pkl fetch failures by [@jdx](https://github.com/jdx) in [#341](#341) - **(mcp)** add MCP server for secret-gated AI agent access by [@jdx](https://github.com/jdx) in [#343](#343) - add guide for fnox sync by [@jdx](https://github.com/jdx) in [#328](#328) ### 🔍 Other Changes - share Rust cache across CI jobs by [@jdx](https://github.com/jdx) in [#340](#340)
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-keyper OS sobuild,ci-other,autofix, andrelease-plzall share one Rust cache instead of each maintaining its ownci-othersaves the cache (on main merges) since it has the most complete artifacts (test + clippy)msrvkeeps a separate key since it uses a different Rust toolchainTest plan
autofixjob gets a cache hit instead of compiling 547 crates from scratchbuildandci-otherjobs still get cache hits🤖 Generated with Claude Code
Note
Low Risk
Workflow-only changes affecting CI caching behavior; low risk beyond potential cache misses or slightly longer CI runs if misconfigured.
Overview
Consolidates Rust caching across GitHub Actions workflows.
autofix,build,ci-other, andrelease-plznow use a per-OSshared-key(e.g.,debug-ubuntu-latest,debug-macos-latest) so they can reuse the same cache instead of creating separate ones.Cache writes are tightened: most jobs set
save-if: false, whileci-other(andmsrvunder its ownshared-key) only saves the cache onrefs/heads/mainto reduce cache churn and size.Written by Cursor Bugbot for commit cf43c58. This will update automatically on new commits. Configure here.