Repository navigation
ci: drop the free-disk-space steps - #2652
Merged
Merged
Conversation
The hosted runners give this repo a 145 GB root with about 90 GB free, so the step no longer prevents ENOSPC. It cost 1:44 to 3:20 per job across `test`, the three anvil e2e jobs and the SDK contract run. The `test` job's closing `df -h /` stays, so a shrink in headroom still shows up as a number. Co-Authored-By: Claude Opus 5.5 <[email protected]>
There was a problem hiding this comment.
🟢 Approval recommended
No active review issues remain for the removal of CI disk-cleanup steps intended to reduce job startup time.
No open issues 🎉
What changed in this PR
Removes disk-cleanup steps from CI to reduce job startup time, based on the reported available space on current public GitHub-hosted runners.
Changes:
- Removes five
Free disk spacesteps across the test and end-to-end jobs. - Preserves the test job’s closing disk-usage report for monitoring.
- Leaves build, test, and cache behavior unchanged; cache-save headroom still needs confirmation on the first post-merge
mainrun.
| File | Description |
|---|---|
.github/workflows/sdk-contract.yml |
Removes disk cleanup from the SDK contract end-to-end job. |
.github/workflows/ci.yml |
Removes disk cleanup from the test, settlement, journeys, and sponsord jobs. |
Review effort: Balanced
Gas snapshotNo gas changes vs base. |
Code coverage overviewLanguages: Rust, Solidity Rust / code-coverage/cargo-llvm-cov
View coverage of the 3 most impacted files.
Solidity / code-coverage/forge
ℹ️ Calculations represent line coverage. Results may change as calculations are updated. Updated |
3 tasks done
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.
What
Drops the five
Free disk spacesteps:test,anvil e2e (settlement),anvil e2e (journeys)andanvil e2e (sponsord)inci.yml, andanvil e2e (sdk contract)insdk-contract.yml.The steps assumed a runner with ~14 GB free on
/. This repo is public, and itsubuntu-latestrunners now have a 145 GB root. On the last twomainruns (40584210670, 40572071062),df -h /after the step read 110–111 GB free. The step removes ~20 GB, so a job starts with roughly 90 GB free. The heaviest job,test(instrumented coverage), ends at 53–55 GB used, about 20 GB above its start. No log has an ENOSPC error.The step cost 1:51 in
test, 3:20 in settlement, 2:37 in journeys and 1:44 in sponsord on the latestmainrun, and it ran on each job's critical path.Reviewer notes
testjob's closingReport disk usage(df -h /,if: always()) stays. If the runners shrink again (for example, a private repo goes back to the 14 GB runners), the headroom shows up there as a number.mainpush, because onlymainsaves the Rust caches (save-if). This PR's own CI does not exercise the cache save. Check the firstmainrun after the merge.Verification
pre-commithooks passed on commit (check yaml included; cargo deny's advisory findings are the existing warn-only ones).actionlinton both workflows reports no new findings (the three it prints are on unchanged lines: thecode-qualitypermission scope and an SC2012 info).🤖 Generated with Claude Code