• Home
  • Features
  • Pricing
  • Docs
  • Announcements
  • Sign In

cameri / nostream / 44846898895
78%
main: 80%

Build:
Build:
LAST BUILD BRANCH: rewrite/main
DEFAULT BRANCH: main
Ran 21 Nov 2026 12:58AM UTC
Jobs 2
Files 321
Run time 1min
Badge
Embed ▾
README BADGES
x

If you need to use a raster PNG badge, change the '.svg' to '.png' in the link

Markdown

Textile

RDoc

HTML

Rst

21 Nov 2026 12:54AM UTC coverage: 77.582% (-0.006%) from 77.588%
44846898895

push

github

web-flow
chore(test): stop writing debug info into test binaries (#1204)

Stops writing debug info into test binaries, because nothing in this
repository reads it.

## Measured

`-p nostream-mcp --test auth`, each from a cold `CARGO_TARGET_DIR`, same
tree:

| profile | binary | build | target dir |
|---|---|---|---|
| `dev` default (`debug = 2`) | 230 MB | 75 s | 1.6 GB |
| line tables (`debug = 1`) | 150 MB | 54 s | 1.3 GB |
| none (`debug = 0`) | **43 MB** | **49 s** | **0.8 GB** |

`debug = 1` is the surprise: line tables alone kept 107 MB of debug
info, 75 MB of it `.debug_str`, so it buys a third of the win for the
same lost debugging. The full profile is worth nothing here and line
tables are barely worth anything.

## Why nobody needs it

Every consumer either never opens a symbol table or does not need one:

- `cargo test`, `clippy`, `fmt`, `cargo check` — no symbol reader in the
path.
- CI builds fresh on its own runner; the artifacts under test are never
inspected.
- A failing assertion prints its `assert_eq!` diff from values, not from
DWARF, and a panic's `file:line` comes from `#[track_caller]` and
`Location`, which the compiler emits regardless.

The one case that does read it — attaching a debugger to a binary by
hand — is `cargo build` output, which is why **`[profile.test]` is the
only profile changed and `dev` keeps its default**.

## Why it matters for the factory

One review round links a test binary per integration-test target — 66 of
them in this workspace — each statically carrying the crate graph. A
single five-round job left 13 target directories and ~55 GB in `/tmp` in
one day and the disk reached 7.8 GB free. At these numbers that job's
trees would have been about 28 GB, and each build is 35% faster.

## Scope

One `Cargo.toml` profile and an empty changeset. `cargo test -p
nostream-mcp --test auth` passes: 11 passed, 0 failed. Nothing else in
the tree is touched.

4501 of 6342 branches covered (70.97%)

Branch coverage included in aggregate %.

9792 of 12081 relevant lines covered (81.05%)

760.29 hits per line

Jobs
ID Job ID Ran Files Coverage
1 Unit - 44846898895.1 21 Nov 2026 12:58AM UTC 321
75.03
GitHub Action Run
2 Integration - 44846898895.2 21 Nov 2026 12:58AM UTC 321
32.99
GitHub Action Run
Source Files on build 44846898895
  • Tree
  • List 321
  • Changed 1
  • Source Changed 0
  • Coverage Changed 1
Coverage ∆ File Lines Relevant Covered Missed Hits/Line Branch Hits Branch Misses
  • Back to Repo
  • Github Actions Build #44846898895
  • 9d2c15e1 on github
  • Prev Build on rewrite/main (#44772360683)
  • Next Build on rewrite/main (#44907504425)
STATUS · Troubleshooting · Open an Issue · Sales · Support · CAREERS · ENTERPRISE · START FREE TRIAL · SCHEDULE DEMO
ANNOUNCEMENTS · TWITTER · TOS & SLA · Supported CI Services · What's a CI service? · Automated Testing

© 2026 Coveralls, Inc