Commit 4491675
committed
ci(rust-test): coverage job debuginfo=0 — local repro confirms TD-CI-COVERAGE-MOLD-1, second ceiling found
Local reproduction with CI's exact flags (debuginfo=1, x86-64-v3,
CARGO_INCREMENTAL=0) confirms the diagnosis and sharpens it:
- The --tests --no-run build died 3x at link with CI's exact opaque
signature: rustc-LLVM 'IO failure on output stream', ld killed by
SIGBUS, 'could not compile ... (exit status: 101)'. Resource
exhaustion at link — never a compile or test error.
- Measured: 17 integration-test binaries x ~930 MB at debuginfo=1
(~252 MB at debuginfo=0, -73%). Set + deps + instrumentation +
profraw lands exactly on a hosted runner's disk/RSS budget — a
cliff edge, which is what a 2/50 intermittent looks like. TWO
ceilings: GNU-ld RSS (mold fixes) AND disk (mold does not).
- No test bug: every binary that linked was executed — 98/98
integration tests pass on lance 7.0.0. The SoA exoneration in the
debt entry is now empirical.
- debuginfo=0 is coverage-safe, verified: 600/600 contract tests under
'-C instrument-coverage -C debuginfo=0'; __llvm_covmap +
__llvm_prf_* sections present; .profraw emitted. Coverage mapping
is not DWARF.
Fix: job-level RUSTFLAGS '-C debuginfo=0 -C target-cpu=x86-64-v3' on
test-with-coverage only (test job keeps workflow-level debuginfo=1).
Mold stays from the parent commit. Note: job-level RUSTFLAGS gives
the coverage job its own Swatinem cache key; first run repopulates.
https://claude.ai/code/session_01PBTGaPCSnnt6u3pjXpbLwY1 parent a9a7460 commit 4491675
2 files changed
Lines changed: 51 additions & 0 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
17 | 17 | | |
18 | 18 | | |
19 | 19 | | |
| 20 | + | |
| 21 | + | |
| 22 | + | |
| 23 | + | |
| 24 | + | |
| 25 | + | |
| 26 | + | |
| 27 | + | |
| 28 | + | |
| 29 | + | |
| 30 | + | |
| 31 | + | |
| 32 | + | |
| 33 | + | |
| 34 | + | |
| 35 | + | |
| 36 | + | |
| 37 | + | |
| 38 | + | |
| 39 | + | |
| 40 | + | |
| 41 | + | |
| 42 | + | |
| 43 | + | |
| 44 | + | |
| 45 | + | |
| 46 | + | |
| 47 | + | |
| 48 | + | |
| 49 | + | |
| 50 | + | |
| 51 | + | |
| 52 | + | |
| 53 | + | |
| 54 | + | |
| 55 | + | |
| 56 | + | |
20 | 57 | | |
21 | 58 | | |
22 | 59 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
101 | 101 | | |
102 | 102 | | |
103 | 103 | | |
| 104 | + | |
| 105 | + | |
| 106 | + | |
| 107 | + | |
| 108 | + | |
| 109 | + | |
| 110 | + | |
| 111 | + | |
| 112 | + | |
| 113 | + | |
| 114 | + | |
| 115 | + | |
| 116 | + | |
| 117 | + | |
104 | 118 | | |
105 | 119 | | |
106 | 120 | | |
| |||
0 commit comments