ci: free runner disk before heavy builds (fix "No space left on device")#115
Merged
Conversation
…device") ubuntu-latest ships ~14GB free; orca's dep tree plus all the integration-test artifacts intermittently exhausts it, failing `cargo test` with "rustc-LLVM ERROR: IO failure on output stream: No space left on device". Drop preinstalled SDKs we don't use (dotnet, android, ghc, CodeQL, boost) + prune docker images to reclaim ~20GB, in every ubuntu-latest job (CI check / arm64 / e2e) and the release-binaries build. Co-Authored-By: Claude Opus 4.8 (1M context) <[email protected]>
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.
Problem
CI on
mainstarted failing intermittently with:in the Check, Lint, Test job (
cargo testbuilds every integration-test artifact).ubuntu-latestships only ~14 GB free, and orca's dep tree (wasmtime/bollard/hyper) + test artifacts tips over it. It's intermittent — the same code passed on the PR branch and at rc.5 — so it's runner disk pressure, not a code issue. (The rc.6 release binary still published fine; that build is justcargo build --release -p mallorca, no test artifacts.)Fix
Add a Free disk space step to every
ubuntu-latestjob (check,build-arm64,e2e) and the release-binaries build: remove unused preinstalled SDKs (dotnet, android, ghc, CodeQL, boost) + prune docker images → reclaims ~20 GB. Printsdf -h /for visibility.No code changes; no version bump.