Commit 35041fd
committed
ci(rust-test): debuginfo=0 on the test job — link-footprint relief (TD-CI-COVERAGE-MOLD-1)
The `test` job has begun hitting the same disk/RSS link cliff already
mitigated on `test-with-coverage` (b56bb2c): `ld terminated with signal 7
[Bus error]` + an LLVM crash at the `cargo test --no-run` link step of
test_sql_query / intervene_counterfactual.
Root cause is link-footprint growth, NOT a logic break (a layout break would
fail an assertion, not SIGBUS at link). PR #507 (0c6ef02, +4055 lines across
causal-edge ce64-v2 layout + cognitive-shader-driver MailboxSoaOwner /
SurrealMailboxView) grew the integration-test object set enough to tip the
previously-marginal `test`-job link over the same ceiling. It surfaced on the
first full-workspace CI run after #507 (the intervening PRs are
root-excluded crates, so their CI never linked the post-#507 tree).
Fix: give the `test` job a job-level RUSTFLAGS with `-C debuginfo=0` (parity
with the coverage job). debuginfo carries no value in CI (no debugger is
attached); dropping it cut the coverage job's per-binary link ~930 MB -> ~252 MB
(-73%, measured in b56bb2c) and relieves both the mold/GNU-ld RSS and the disk
ceiling. mold is already installed on this job. Side effect: the job gets its
own Swatinem cache key (first run repopulates).
This is a fence (buys headroom), not a root reduction of #507's legitimate
codegen — documented as such in the TD-CI-COVERAGE-MOLD-1 ledger addendum,
including the secular-growth caveat and the separate (warns-not-fails)
intervene_counterfactual.rs deprecated-API debt.1 parent 1869862 commit 35041fd
2 files changed
Lines changed: 48 additions & 0 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
147 | 147 | | |
148 | 148 | | |
149 | 149 | | |
| 150 | + | |
| 151 | + | |
| 152 | + | |
| 153 | + | |
| 154 | + | |
| 155 | + | |
| 156 | + | |
| 157 | + | |
| 158 | + | |
| 159 | + | |
| 160 | + | |
| 161 | + | |
| 162 | + | |
| 163 | + | |
| 164 | + | |
| 165 | + | |
| 166 | + | |
| 167 | + | |
| 168 | + | |
| 169 | + | |
| 170 | + | |
| 171 | + | |
| 172 | + | |
| 173 | + | |
| 174 | + | |
| 175 | + | |
| 176 | + | |
| 177 | + | |
| 178 | + | |
| 179 | + | |
| 180 | + | |
| 181 | + | |
150 | 182 | | |
151 | 183 | | |
152 | 184 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
29 | 29 | | |
30 | 30 | | |
31 | 31 | | |
| 32 | + | |
| 33 | + | |
| 34 | + | |
| 35 | + | |
| 36 | + | |
| 37 | + | |
| 38 | + | |
| 39 | + | |
| 40 | + | |
| 41 | + | |
| 42 | + | |
| 43 | + | |
| 44 | + | |
| 45 | + | |
| 46 | + | |
| 47 | + | |
32 | 48 | | |
33 | 49 | | |
34 | 50 | | |
| |||
0 commit comments