Skip to content

ops(001): dependencies build without debug data in dev and test profiles - #506

Merged
bartekus merged 1 commit into
mainfrom
ops/dev-deps-no-debuginfo
Nov 4, 2026
Merged

bartekus merged 1 commit into
mainfrom
ops/dev-deps-no-debuginfo

Conversation

@bartekus

@bartekus bartekus commented Nov 4, 2026

Copy link
Copy Markdown
Contributor

Summary

Dependencies build without debug data in dev and test profiles ([profile.dev.package."*"] debug = false in the workspace Cargo.toml). The workspace's own crates keep the profile's setting, so CI's CARGO_PROFILE_DEV_DEBUG=line-tables-only still gives file:line in panics. A package override outranks that environment variable.

Why

From 2026-11-02 to 11-04, 13 CI jobs failed on a full runner disk: rustc-LLVM ERROR: IO failure on output stream: No space left on device (6) and collect2: fatal error: ld terminated with signal 7 [Bus error] (7). They were in code, the verify acceptance groups (the mutation seed workers) and release-checks / msrv. Dependency debuginfo is most of a debug target directory, and this one setting shrinks all of them, including the managed code job that this repository cannot edit.

Release and WebAssembly profiles are unchanged. Spec 001's implementation record carries a dated build-only paragraph (no claim changes).

Verification

  • Locally, with CARGO_PROFILE_DEV_DEBUG=line-tables-only cargo build -p rustev-contract -v: the dependency subtle compiles with -C strip=debuginfo and no -C debuginfo; rustev_contract compiles with -C debuginfo=line-tables-only.
  • make gate passes; spec-spine couple OK.
  • The workspace build and tests are left to CI (code, verify).

Note

The Actions caches are keyed on Cargo.lock and rust-toolchain.toml, so until the next lockfile change the restored targets still hold the old dependency artifacts and the first builds recompile dependencies. Cargo.lock changes almost every day, so this window is short.

Full runner disks failed code, verify and msrv jobs from 2026-11-02 to
11-04 (No space left on device; ld ending on SIGBUS). Dependency debuginfo
is most of a debug target directory; the workspace's own crates keep the
profile's setting, so CI's line tables still name file and line in panics.
@github-actions

github-actions Bot commented Nov 4, 2026

Copy link
Copy Markdown

AI review (no-findings)

Reviewing the two changed files:

Cargo.toml adds [profile.dev.package."*"] debug = false. This is a valid Cargo profile override that disables debuginfo for dependency packages in dev/test builds to recover disk space. The motivation (CI runners hitting "No space left on device") is documented in both the comment and the spec note. The override correctly targets only the dev profile; release and wasm profiles are unchanged.

specs/001-boundaries-and-authority/spec.md adds a maintenance note to what appears to be a deviations/exceptions log. The parenthetical "(build only, no claim of this spec changes)" explicitly disclaims any normative authority claim, which is consistent with the governance rule that "a behavior change starts with a spec change" — the author is asserting this is not a behavior change, just build infrastructure.

No bugs, security defects, or spec inconsistencies are present in the evidence supplied.

{"head": "0a712811a7d837bda481bb6384365959a4d59b1a", "verdict": "no-findings", "findings": []}

Subject: 4ab94eb...0a71281, diff digest a3fe98baedb27675390e3b012638e96b9ea4410ef76620944609cccd847e5edd, 1 call(s). An AI comment is not an approval.

@bartekus
bartekus added this pull request to the merge queue Nov 4, 2026
@github-merge-queue
github-merge-queue Bot removed this pull request from the merge queue due to failed status checks Nov 4, 2026
@bartekus
bartekus added this pull request to the merge queue Nov 4, 2026
@github-merge-queue
github-merge-queue Bot removed this pull request from the merge queue due to failed status checks Nov 4, 2026
@bartekus
bartekus added this pull request to the merge queue Nov 4, 2026
@bartekus
bartekus removed this pull request from the merge queue due to a manual request Nov 4, 2026
@bartekus
bartekus merged commit a3c1eab into main Nov 4, 2026
33 checks passed
@bartekus
bartekus deleted the ops/dev-deps-no-debuginfo branch November 4, 2026 23:27
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.

1 participant