chore(ci): cap sccache at 850M per target#23
Merged
Conversation
GitHub limits the per-repo Actions cache to 10 GB total and every matrix target keeps its own sccache directory, so size each cache at 10 GB / 12 active targets = ~850M to keep the fleet inside the quota instead of letting per-target 1G+ caches evict each other. Co-Authored-By: Claude Fable 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.
GitHub limits the per-repo Actions cache to 10 GB total, and the build workflow keeps one sccache directory per matrix target. With the default
sccache-max-size: 1Gand 12 active targets in.github/target.toml, the fleet can exceed the quota and caches start evicting each other.Size each per-target cache at 10 GB / 12 targets = ~850M so all targets fit inside the quota. A comment in
ci.ymlnotes to re-derive the value when targets are added or removed.🤖 Generated with Claude Code