Skip to content

ci: drop the free-disk-space steps - #2652

Merged
thiras merged 1 commit into
mainfrom
ci/drop-free-disk-space
Oct 27, 2026
Merged

thiras merged 1 commit into
mainfrom
ci/drop-free-disk-space

Conversation

@thiras

@thiras thiras commented Oct 27, 2026

Copy link
Copy Markdown
Contributor

What

Drops the five Free disk space steps: test, anvil e2e (settlement), anvil e2e (journeys) and anvil e2e (sponsord) in ci.yml, and anvil e2e (sdk contract) in sdk-contract.yml.

The steps assumed a runner with ~14 GB free on /. This repo is public, and its ubuntu-latest runners now have a 145 GB root. On the last two main runs (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 latest main run, and it ran on each job's critical path.

Reviewer notes

  • The test job's closing Report 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.
  • The worst case is a main push, because only main saves the Rust caches (save-if). This PR's own CI does not exercise the cache save. Check the first main run after the merge.

Verification

  • pre-commit hooks passed on commit (check yaml included; cargo deny's advisory findings are the existing warn-only ones).
  • actionlint on both workflows reports no new findings (the three it prints are on unchanged lines: the code-quality permission scope and an SC2012 info).
  • Not run: clippy / nextest (no Rust change).

🤖 Generated with Claude Code

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]>
Copilot AI balanced review requested due to automatic review settings October 27, 2026 22:00
@thiras thiras self-assigned this Oct 27, 2026

Copilot AI left a comment

Copy link
Copy Markdown

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

🟢 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 space steps 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 main run.
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

@github-actions

Copy link
Copy Markdown

Gas snapshot

No gas changes vs base.

@github-code-quality

github-code-quality Bot commented Oct 27, 2026 •

Copy link
Copy Markdown

Code coverage overview

Languages: Rust, Solidity

Rust / code-coverage/cargo-llvm-cov

main d55d863 ci/drop-free-disk-sp... 100a49f +/-
77% 77% 0%
View coverage of the 3 most impacted files.
File main d55d863 ci/drop-free-disk-sp... 100a49f +/-
crates/client/src/lib.rs 89% 89% 0%
crates/client/s...undle/engine.rs 65% 65% 0%
crates/protocol/src/framing.rs 92% 93% +1%

Solidity / code-coverage/forge

main d55d863 ci/drop-free-disk-sp... 100a49f +/-
92% 92% 0%

ℹ️ Calculations represent line coverage. Results may change as calculations are updated.


Updated October 27, 2026 22:11 UTC

@thiras
thiras merged commit 4a6ad77 into main Oct 27, 2026
38 checks passed
@thiras
thiras deleted the ci/drop-free-disk-space branch October 27, 2026 22:15
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.

2 participants