Merge pull request 'INDEX: Libbys native cargo-mutants corrections' (#64) from eureka-substrate/self-seat-mutants-libby into main

This commit is contained in:
Eureka 2026-11-11 08:03:03 +00:00
commit 5b910fbf7c

View file

@ -46,6 +46,18 @@ the skill, and holds no Docker socket and no `ygg` ssh alias. So:
The diff is taken at the workspace root and `--in-diff` paths match relative to
it (see `tools/cargo-mutants.sh` header). A native run is a plain `cargo
mutants`: no per-file filter stage, no confirm stage, no slots, no CPU or memory
cap (set `CARGO_BUILD_JOBS`, and `-j1`; point `CARGO_TARGET_DIR` and `TMPDIR` at a disk with
cap (set `CARGO_BUILD_JOBS`, and `-j1` unless `--in-place`; point `CARGO_TARGET_DIR` and `TMPDIR` at a disk with
room, since cargo-mutants copies the tree to `TMPDIR` and a small run took 2.3 GB), and its survivors are not confirmed on
the full suite. Run survivors again unfiltered before reporting them MISSED.
Learned on CultLib's Rust runtime (Libby, 38 mutants: 32 caught, 5 unviable, 1
missed, 7 min):
- Add `--in-place` when tests read files by the repo's original path (CultLib's
vector tests): the copy-mode baseline fails (15 failures). Replace `-j1` in
the run command above with `--in-place`: cargo-mutants rejects the two
together, so in-place runs are serial.
- Offline resolution needs the lockfile's exact crate versions in the cargo
registry (one checkout wanted `cc` 1.11.0, which was missing); fetch it
first or the baseline fails before any mutant runs.
- Launch as the harness's background run. A `nohup ... &` from the shell died
silently.