chore(ci): lower self-hosted earthly cache_size_pct 50 → 20#1867
Open
scottbuckel wants to merge 3 commits into
Open
chore(ci): lower self-hosted earthly cache_size_pct 50 → 20#1867scottbuckel wants to merge 3 commits into
scottbuckel wants to merge 3 commits into
Conversation
At 50 the shared earthly-buildkitd cache on the self-hosted runner host is allowed ~850 GB of the 1.7 TB disk and was observed at 889 GB with the disk at 99%, failing jobs with "No space left on device". 20 targets ~340 GB. Lockstep with shieldedtech/shielded-iac#1818 — cache_size_pct is an earthly settings-hash key and must stay byte-identical between this file and the host-level config on the runner, or CI jobs restart the shared buildkitd and cancel concurrent builds. Assisted-by: Claude:claude-fable-5 Signed-off-by: Scott Buckel <scott.buckel@shielded.io>
|
Codex usage limits have been reached for code reviews. Please check with the admins of this repo to increase the limits by adding credits. |
ozgb
previously approved these changes
Jul 13, 2026
gilescope
previously approved these changes
Jul 13, 2026
gilescope
enabled auto-merge
July 13, 2026 15:22
Signed-off-by: Giles Cope <gilescope@gmail.com>
gilescope
approved these changes
Jul 13, 2026
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.
Overview
Lowers
cache_size_pctin.earthly/config.selfhosted.ymlfrom 50 to 20. At 50, the shared earthly-buildkitd on the self-hosted runner host (fsn1-runner-01, 1.7 TB disk) is allowed ~850 GB of cache and was observed at 889 GB with the disk at 99% (2026-07-13), failing CI jobs with "No space left on device". 20 targets ~340 GB, leaving headroom for CI images and the local GHA cache server on the shared disk.cache_size_pctis an earthly settings-hash key shared with the host-level config the SRE ansible role writes on the runner. The twoglobalblocks must stay byte-identical or every earthly invocation restarts the shared buildkitd and cancels concurrent builds mid-run. SRE will converge the host right after both PRs merge; the hash change restarts the shared buildkitd once.🗹 TODO before merging
📌 Submission Checklist
git commit -s) for the DCO🧪 Testing Evidence
Config-only change to the self-hosted earthly config. Verified the resulting
globalblock stays byte-identical to the host-level config in shieldedtech/shielded-iac#1815 (settings-hash parity). Buildkit cache behaviour at the new cap is enforced lazily by the daemon after the host converges.🔱 Fork Strategy