Skip to content

chore(ci): cap sccache at 850M per target#23

Merged
Itsusinn merged 1 commit into
mainfrom
chore/ci-sccache-size
Jun 11, 2026
Merged

chore(ci): cap sccache at 850M per target#23
Itsusinn merged 1 commit into
mainfrom
chore/ci-sccache-size

Conversation

@Itsusinn

Copy link
Copy Markdown
Member

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: 1G and 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.yml notes to re-derive the value when targets are added or removed.

🤖 Generated with Claude Code

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>
@Itsusinn Itsusinn merged commit 2b80d61 into main Jun 11, 2026
13 checks passed
@Itsusinn Itsusinn deleted the chore/ci-sccache-size branch June 11, 2026 17:47
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant