Repository navigation
ci: check and test without debuginfo - the runner's disk ran out - #380
Merged
Merged
Conversation
…ker CICD) Run 45365371063 (the all-fixes -> dev merge, PR #378) failed twice at the same place with the same cause, and it is not a code failure: the Cargo check step passes and the run dies later with rustc-LLVM ERROR: IO failure on output stream: No space left on device ld terminated with signal 7 [Bus error] (the same ENOSPC, as SIGBUS) postgres: could not extend file ...: No space left on device The runner's disk is simply full: this workspace checks and tests 137+ targets and debug info is the bulk of target/debug - the job even carries a 'Free debug artifacts before release build' step because of it. It now compiles without debuginfo (CARGO_PROFILE_DEV_DEBUG=0, CARGO_PROFILE_TEST_DEBUG=0) and without incremental caches (a fresh container per run anyway), and prints df -h before the build so the next disk squeeze is visible instead of surfacing as a linker crash. Co-Authored-By: Claude Opus 5 <noreply@claude.com>
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
The
Docker CICD→Cargo and npm buildjob has now failed twice at the same place with the same cause (run 45365371063, the all-fixes → dev merge of PR #378 — the rerun's job 138366074357 failed identically). It is not a code failure:Cargo checkstep passes — the code compiles;The runner's disk is simply full: this workspace checks and tests 137+ targets in one job, and debug info is the bulk of
target/debug— the job already carries aFree debug artifacts before release build(rm -rf target/debug) step because of the same bloat, but the disk ran out before reaching it.How
On the
Cargo and npm buildjob:CARGO_PROFILE_DEV_DEBUG=0+CARGO_PROFILE_TEST_DEBUG=0— compile checks and tests without debuginfo (backtraces lose symbols; panic messages and source locations stay). This is the single biggest disk consumer and it also speeds up the link step that was crashing.CARGO_INCREMENTAL=0— incremental caches are large and worthless in a fresh container per run (rust-cache restores the compiled crates).df -h /before the build — the next squeeze shows up as a number, not as a linker crash.No code changes.
Verify
The next push/PR to
devruns this job: it must passCargo check,Cargo test, and the BDD suite. If it ever fails again, theDisk before the buildstep gives the baseline and the log will sayNo space lefthonestly instead ofBus error.