Skip to content

ci: check and test without debuginfo - the runner's disk ran out - #380

Merged
vsilent merged 1 commit into
devfrom
fix/ci-disk-debuginfo
Nov 24, 2026
Merged

vsilent merged 1 commit into
devfrom
fix/ci-disk-debuginfo

Conversation

@vsilent

@vsilent vsilent commented Nov 24, 2026

Copy link
Copy Markdown
Collaborator

What

The Docker CICD → Cargo and npm build job 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:

  • the Cargo check step passes — the code compiles;
  • the run then dies building test binaries with
    rustc-LLVM ERROR: IO failure on output stream: No space left on device
    error: linking with `cc` failed … ld terminated with signal 7 [Bus error], core dumped
    postgres: could not extend file "base/16389/2600": No space left on device
    
    The linker SIGBUS and the Postgres errors are the same ENOSPC surfacing in different processes.

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 a Free 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 build job:

  • 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 dev runs this job: it must pass Cargo check, Cargo test, and the BDD suite. If it ever fails again, the Disk before the build step gives the baseline and the log will say No space left honestly instead of Bus error.

…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>
@vsilent
vsilent merged commit 5383398 into dev Nov 24, 2026
11 checks passed
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