ci: free ~20GB on GHA runner before docker build#5
Merged
Conversation
pip install of the full dep set (vllm + torch + nvidia-* CUDA libs + pipecat + kokoro + flashinfer) overflows ubuntu-latest's ~14GB of free disk. v0.12.5 publish AND release both failed at `ERROR: Could not install packages due to an OSError: [Errno 28] No space left on device` within ~3 min — the subsequent PR merges only succeeded because the buildcache kept the working set small. Adds jlumbroso/free-disk-space@v1.3.1 before the docker build in both workflows. Conservative flags: keep tool-cache (Python/Node used by other actions) and docker-images (the daemon needs them); drop Android SDK (~9GB), .NET (~1.7GB), Haskell (~5.2GB), swap (~4GB). Co-Authored-By: Claude Opus 4.7 (1M context) <noreply@anthropic.com>
|
Caution Review failedThe pull request is closed. ℹ️ Recent review info⚙️ Run configurationConfiguration used: Organization UI Review profile: ASSERTIVE Plan: Pro Run ID: 📒 Files selected for processing (2)
WalkthroughTwo GitHub Actions workflow files are updated to include a disk space reclamation step before subsequent build operations. This step uses a free-disk-space action configured with conservative settings to prevent "No space left on device" errors during Docker builds and dependency installation. Changes
Estimated code review effort🎯 1 (Trivial) | ⏱️ ~5 minutes ✨ Finishing Touches🧪 Generate unit tests (beta)
Comment |
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.
Summary
Defensive fix — pip install of the full protoVoice dep set (vllm + torch + nvidia-* CUDA libs + pipecat + kokoro + flashinfer) overflows
ubuntu-latest's ~14GB of free disk. v0.12.5 publish and release both failed at:within ~3 minutes. The two subsequent PR merges (#3, #4) only succeeded because the buildcache kept the working set small — next time the cache misses (dep bump, buildcache eviction, etc.) it will fail again.
What changed
Adds
jlumbroso/free-disk-space@v1.3.1as the first step in bothdocker-publish.ymlandrelease.yml. Conservative flags:tool-cachefalsedocker-imagesfalseandroidtruedotnettruehaskelltrueswap-storagetruelarge-packagesfalseNet ~20GB reclaimed, comfortably above the overflow point.
Test plan
docker-publish.ymlruns on main → completes withoutNo space leftregardless of buildcache state.release.ymlbuilds on the same reclaimed runner and creates both the semver Docker tags and the GitHub Release.🤖 Generated with Claude Code
Summary by CodeRabbit