Skip to content

ci: lower the self-hosted ccache cap to 60G - #1671

Merged
drsnuggles8 merged 1 commit into
masterfrom
ci/ccache-cap-60g
Oct 28, 2026
Merged

drsnuggles8 merged 1 commit into
masterfrom
ci/ccache-cap-60g

Conversation

@drsnuggles8

Copy link
Copy Markdown
Owner

Lowers the persistent ccache cap on the self-hosted Linux runners from 120G to 60G. The cap is still set in one place only (.github/actions/setup-linux-build/action.yml).

Why

The worst case the 120G comment planned for has happened. Measured 2026-10-28:

ccache dir 112G (at the 120G cap, ccache's G = 10^9)
/home 86% used, 57G free
new on the box a game server and its database, also on /home

A full /home takes out all four runner accounts and the login.

60G still holds two to three generations of every Linux flag set (~20-26 GB per generation, measured 2026-09-13), so consecutive commits keep hitting. Only older generations get evicted sooner.

What changes

  • --max-size=60G instead of 120G, plus the measurement in the comment above it.
  • The same note in docs/agent-rules/self-hosted-ccache-slot-multiplier.md.

The first self-hosted job after the merge re-asserts the cap, and ccache trims the cache down to it. Expect a lower hit rate on that job and the next one or two.

🤖 Generated with Claude Code

The cache filled the 120G cap (112G measured 2026-10-28) and /home was down to
57G free, with a game server and its database now on the same box. 60G still
holds two to three generations of every Linux flag set.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
@coderabbitai

coderabbitai Bot commented Oct 28, 2026

Copy link
Copy Markdown
Contributor

Warning

Review limit reached

You've used all free OSS reviews for now. Wait for the free limit to reset to keep reviewing this public repository.

Next included review available in 15 minutes.

Check out review usage here.

View limit details

Limit details: You’ve used the included review currently available.

Learn how review limits work.

Review configuration:

Run configuration
Commits

Reviewing files that changed from the base of the PR and between 31d76d5 and 2c8e136.

Files selected for processing: 2
  • .github/actions/setup-linux-build/action.yml
  • docs/agent-rules/self-hosted-ccache-slot-multiplier.md
  • Autofix · Keep fixing CodeRabbit findings and required CI, and resolving merge conflicts

Thanks for using CodeRabbit! It's free for OSS, and your support helps us grow. If you like it, consider giving us a shout-out.

❤️ Share

Comment @coderabbitai help to get the list of available commands.

@drsnuggles8
drsnuggles8 merged commit cba3f61 into master Oct 28, 2026
4 of 8 checks passed
@drsnuggles8
drsnuggles8 deleted the ci/ccache-cap-60g branch October 28, 2026 10:38
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