Skip to content

fix(mutate): a Stryker mutant run runs only the tests its filter names - #1954

Merged
V3RON merged 3 commits into
mainfrom
bug/1953
Nov 29, 2026
Merged

V3RON merged 3 commits into
mainfrom
bug/1953

Conversation

@V3RON

@V3RON V3RON commented Nov 29, 2026 •

Copy link
Copy Markdown
Contributor

Closes #1953

Status

Implement: done (2/2 green) Review: round 2 passed, 0 open Hardware: n/a Gate: running
Next: gate

Assumptions

none

Review

Spec review: 0 blocking, 0 fixed, 0 notes. Code review: 2 blocking, 2 fixed, 1 notes. Claims review: 0 blocking, 0 fixed, 0 notes.
Rounds: 2. Tokens: 1.3M.
Runs: 10. Cost USD: 1.5744. Agent seconds: 784.

Assessment: complete

Written by an agent.

…ig.ts runs every test of its file, not just the ones its filter names
@coderabbitai

coderabbitai Bot commented Nov 29, 2026 •

Copy link
Copy Markdown

Warning

Review limit reached

You've used all free OSS reviews for now. Wait for the free limit to reset to keep reviewing this public repository.

Next included review available in 10 minutes.

Check out review usage here.

View limit details

Limit details: You’ve used all 4 included reviews currently available.

Learn how review limits work.

Review configuration:

Run configuration

  • Source mode: Auto
  • Repository: Unavailable
  • Branch: Unavailable
  • File: No configuration file from this repository applied
  • Commit: Unavailable
  • Layers: Repository UI
  • Review profile: QUIET
  • Plan: Advanced
  • Run ID: 8a499f3c-3d8e-4644-b909-3376cbd056dd
Commits

Reviewing files that changed from the base of the PR and between 3c79000 and 49bf53f.

Files selected for processing: 3

  • src/mutate-config.test.ts
  • stryker.config.mjs
  • vitest.mutate.config.ts
  • Autofix · Keep fixing CodeRabbit findings and required CI, and resolving merge conflicts

Thanks for using CodeRabbit! It's free for OSS, and your support helps us grow. If you like it, consider giving us a shout-out.

Share

…s its TZ, and the dry-run check no longer counts another file's tests (#1953)
@V3RON

V3RON commented Nov 29, 2026

Copy link
Copy Markdown
Contributor Author

Review ledger

Round 1: c006671
Round 2: 49bf53f

Runs: 10. Cost USD: 1.5744. Agent seconds: 784.
Tokens input 169, output 38201, cache read 1777393, cache write 235454.
- build implementer: claude-sonnet-5-5 63 s $0.1404
- audit implementer: claude-sonnet-5-5 27 s $0.0968
- review 1 reviewer: claude-sonnet-5-5 149 s $0.1201
- review 1 spec: claude-sonnet-5-5 16 s $0.0652
- review 1 code tests: claude-opus-5-5 92 s $0.3426
- fix 1 implementer: claude-sonnet-5-5 34 s $0.0926
- review 2 reviewer: claude-sonnet-5-5 205 s $0.0832
- review 2 spec: claude-sonnet-5-5 14 s $0.0491
- review 2 code tests: claude-opus-5-5 162 s $0.5086
- review 2 claims: claude-sonnet-5-5 22 s $0.0758
Finding outcomes: {"duplicate":1,"fixed":2,"nonblocking":1}. Classes: {"testing 2":2,"testing 7":1,"triage fix (forks pool) not delivered":1}.
{"findings":[{"id":"R1","role":"code","class":"testing 2","outcome":"fixed","path":"ui/src/model/events.test.ts","round":"1","fix":"49bf53f2a1ec7a4454b4b7aa868ef67e83948d12","detail":"rewritten test misses getUTCHours under UTC"},{"id":"R2","role":"spec","class":"testing 7","outcome":"duplicate","canonicalId":"R1","path":"ui/src/model/events.test.ts","round":"1","detail":"unrequested weakening of clock-face test"},{"id":"R3","role":"code","class":"testing 2","outcome":"fixed","path":"src/mutate-config.test.ts","round":"1","fix":"49bf53f2a1ec7a4454b4b7aa868ef67e83948d12","detail":"hard-coded count of a file the test does not own"},{"id":"R4","role":"spec","class":"triage fix (forks pool) not delivered","outcome":"nonblocking","path":"stryker.config.mjs","round":"1"}]}

Written by an agent.

@V3RON

V3RON commented Nov 29, 2026

Copy link
Copy Markdown
Contributor Author

Review notes

Not blocking, not verified. Each is one reviewer's claim.

  • code: src/mutate-config.test.ts:64 size > 2 also holds when the dry run runs no test, because skipped tests are counted; the red is caught at lines 54 and 65.

Written by an agent.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

vitest.mutate.config.ts's testNamePattern overrides Stryker's per-mutant test filter, so each mutant runs every test of its files

1 participant