fix(mutation): complete weekly sweeps and validate harness changes

Merged
TH
1mo ago
+712-165

Summary

Weekly run 38114094784 exceeded deadlines and aggregated only 9/10 reports. Related discovery executed tests twice; partitions concentrated expensive mutation work.

  • Discover related tests without execution; retain per-test coverage. Balance actual mutants using the pinned Stryker instrumenter and complete statement boundaries: five error/eight selector shards. Exclude test fixture builders, preserving production mutants.
  • Use one completeness verdict for counts, module coverage, envelopes, and missing reports. Publish incomplete tables with uncovered/error/null fields.
  • Bound setup/mutation within 30-minute jobs; guard evidence/upload headroom and unconditional upload.
  • Rename the PR lane “Mutation Harness Canary”; include configuration/dependency/manifests. Scores remain advisory. Contributor guidance links authoritative scope declarations.

21 files changed. Five error shards leave deadline margin after the observed 8-minute dry run.

Validation

  • Head ff85105bab046bab3df6f61bef076d987263a9b8: pnpm check:affected --run passed every runnable gate; all 54 harness tests also passed on Node 22.12. Rebased onto d97c9bfbf3; use canonical test-kit fixtures after main’s helper migration.
  • Native instrumentation preserves 391 error/3,471 selector identities exactly. Largest partitions: errors 260→93; selectors 776→439. Unicode fixture preserves 12/12; real partial-range smoke passed 81 tests.
  • Full Ubuntu sweep passed all 16 shards and aggregation at 61a5b346d2 (historical evidence before the test-kit rebase). Verified 5,461 unique raw identities and matching source. Slowest step: 20m43s. Current canary passed through aggregation: 390 unique identities, zero errors, five timeouts; 13m53s. All current CI passed, including Coverage/Integration and Apple smoke. Five error shards passed: slowest 16m57s. All review threads resolved.