Skip to content

Stryker loads its TypeScript checker - #193

Merged
factory-release-manager[bot] merged 1 commit into
mainfrom
factory/191-stryker-checker
Oct 27, 2026
Merged

factory-release-manager[bot] merged 1 commit into
mainfrom
factory/191-stryker-checker

Conversation

@factory-coder

@factory-coder factory-coder Bot commented Oct 27, 2026 •

Copy link
Copy Markdown
Contributor

Fixes #191

Release manager: session aarnes-imac/release-manager-2/claude:e2d6b05d-2950-4146-983d-503b3ef4c2ab, in the boxes UI: ask it anything, or give it your feedback there.

What this does

Mutation testing runs again: pnpm exec stryker run --dryRunOnly used to fail with Cannot find Checker plugin "typescript", and now it passes, still on the TypeScript 6 the root keeps. Under pnpm, Stryker's default plugin scan only looks next to @stryker-mutator/core, so the checker was never loaded. The config now lists it explicitly. Fixing that exposed two more failures, fixed here too: the checker compiled the whole repo, and the sandbox copy tripped over the docs/public symlink.

  • stryker.config.json: plugins lists @stryker-mutator/typescript-checker; tsconfigFile points at tsconfig.stryker.json; ignorePatterns excludes docs.
  • tsconfig.stryker.json (new): extends the base and includes only the four mutated packages' src.
  • Root package.json and the lockfile: @types/node ^25.5.2, the same range the packages use, since types: ["node"] resolves from the root.
  • .gitignore: .stryker-tmp and reports/mutation.

Dev tooling only, so no changeset.

Needs your attention

Nothing: the validation found nothing to fix.

Validation

🟢 pass, no findings, on dd39a3d.

  • The Stryker dry run passes: 26 files and 11915 mutants instrumented, the TypeScript checker loads, and the initial test run succeeds. The coder ran it from a clean checkout after pnpm install --frozen-lockfile, and the validator ran it again.
  • CI is green: Test (build, lint, test, knip), CodeQL and the Bencher PR benchmark.

Tests: the dry run itself is the check for this tooling-only change. No product behaviour changed, so no new test was added.

Time: coding 14 min, validation 2 min, one part, no fix rounds.

Decisions for you

None.

Proposed follow-ups

None.

🤖 Generated with Claude Code

Stryker's default plugin glob scans the directory next to @stryker-mutator/core, which under pnpm holds no checker, so "typescript" was never found. List the plugin explicitly.

With the plugin loaded the dry run hit two more failures: the checker compiled the whole repo through tsconfig.base.json (add tsconfig.stryker.json limited to the mutated packages, and @types/node at the root, where that tsconfig resolves it), and the sandbox copy failed on the docs/public symlink (ignore docs). Ignore Stryker's output directories.

Co-Authored-By: Claude Sonnet 5.5 <noreply@anthropic.com>
@changeset-bot

changeset-bot Bot commented Oct 27, 2026

Copy link
Copy Markdown

⚠️ No Changeset found

Latest commit: dd39a3d

Merging this PR will not cause a version bump for any packages. If these changes should not result in a new version, you're good to go. If these changes should result in a version bump, you need to add a changeset.

This PR includes no changesets

When changesets are added to this PR, you'll see the packages that this PR includes changesets for and the associated semver types

Click here to learn what changesets are, and how to add one.

Click here if you're a maintainer who wants to add a changeset to this PR

@github-actions

github-actions Bot commented Oct 27, 2026 •

Copy link
Copy Markdown
Contributor

🐰 Bencher Report

ProjectThe Bridge
Branchfactory/191-stryker-checker
Testbedubuntu-latest
Click to view all benchmark results
BenchmarkLatencyBenchmark Result
nanoseconds (ns)
(Result Δ%)
Upper Boundary
nanoseconds (ns)
(Limit %)
compiled: absolute baseline (passthrough, no tools)📈 view plot
🚷 view threshold
0.00 ns
(-37.03%)Baseline: 0.00 ns
0.00 ns
(47.03%)
compiled: array + SYNC tool-per-element 10📈 view plot
🚷 view threshold
0.00 ns
(-28.37%)Baseline: 0.01 ns
0.01 ns
(52.44%)
compiled: array + SYNC tool-per-element 100📈 view plot
🚷 view threshold
0.02 ns
(-23.87%)Baseline: 0.03 ns
0.05 ns
(45.13%)
compiled: array + tool-per-element 10📈 view plot
🚷 view threshold
0.00 ns
(-37.85%)Baseline: 0.01 ns
0.01 ns
(43.88%)
compiled: array + tool-per-element 100📈 view plot
🚷 view threshold
0.02 ns
(-44.92%)Baseline: 0.04 ns
0.05 ns
(36.28%)
compiled: chained 3-tool fan-out📈 view plot
🚷 view threshold
0.00 ns
(-26.37%)Baseline: 0.01 ns
0.01 ns
(56.30%)
compiled: flat array 10 items📈 view plot
🚷 view threshold
0.00 ns
(-39.55%)Baseline: 0.01 ns
0.01 ns
(42.79%)
compiled: flat array 100 items📈 view plot
🚷 view threshold
0.01 ns
(-42.95%)Baseline: 0.01 ns
0.02 ns
(34.88%)
compiled: flat array 1000 items📈 view plot
🚷 view threshold
0.05 ns
(-48.74%)Baseline: 0.09 ns
0.16 ns
(28.21%)
compiled: nested array 10x10📈 view plot
🚷 view threshold
0.01 ns
(-45.56%)Baseline: 0.02 ns
0.03 ns
(35.03%)
compiled: nested array 20x10📈 view plot
🚷 view threshold
0.02 ns
(-45.80%)Baseline: 0.04 ns
0.06 ns
(34.25%)
compiled: nested array 5x5📈 view plot
🚷 view threshold
0.01 ns
(-41.83%)Baseline: 0.01 ns
0.01 ns
(39.80%)
compiled: short-circuit (overdefinition bypass)📈 view plot
🚷 view threshold
0.00 ns
(-36.53%)Baseline: 0.00 ns
0.00 ns
(47.47%)
compiled: simple chain (1 tool)📈 view plot
🚷 view threshold
0.00 ns
(-38.01%)Baseline: 0.00 ns
0.01 ns
(46.44%)
exec: absolute baseline (passthrough, no tools)📈 view plot
🚷 view threshold
0.00 ns
(-25.71%)Baseline: 0.00 ns
0.01 ns
(54.53%)
exec: array + SYNC tool-per-element 10📈 view plot
🚷 view threshold
0.02 ns
(-62.75%)Baseline: 0.07 ns
0.14 ns
(16.87%)
exec: array + SYNC tool-per-element 100📈 view plot
🚷 view threshold
0.20 ns
(-65.09%)Baseline: 0.57 ns
1.30 ns
(15.28%)
exec: array + tool-per-element 10📈 view plot
🚷 view threshold
0.03 ns
(-62.05%)Baseline: 0.08 ns
0.16 ns
(17.79%)
exec: array + tool-per-element 100📈 view plot
🚷 view threshold
0.25 ns
(-62.50%)Baseline: 0.67 ns
1.47 ns
(17.03%)
exec: chained 3-tool fan-out📈 view plot
🚷 view threshold
0.01 ns
(-55.75%)Baseline: 0.03 ns
0.07 ns
(21.26%)
exec: flat array 10 items📈 view plot
🚷 view threshold
0.01 ns
(-47.20%)Baseline: 0.01 ns
0.02 ns
(31.75%)
exec: flat array 100 items📈 view plot
🚷 view threshold
0.02 ns
(-63.32%)Baseline: 0.06 ns
0.13 ns
(16.58%)
exec: flat array 1000 items📈 view plot
🚷 view threshold
0.17 ns
(-67.59%)Baseline: 0.51 ns
1.22 ns
(13.59%)
exec: nested array 10x10📈 view plot
🚷 view threshold
0.04 ns
(-57.77%)Baseline: 0.10 ns
0.20 ns
(21.33%)
exec: nested array 20x10📈 view plot
🚷 view threshold
0.08 ns
(-58.21%)Baseline: 0.19 ns
0.39 ns
(20.71%)
exec: nested array 5x5📈 view plot
🚷 view threshold
0.02 ns
(-52.62%)Baseline: 0.04 ns
0.08 ns
(26.68%)
exec: short-circuit (overdefinition bypass)📈 view plot
🚷 view threshold
0.00 ns
(-31.51%)Baseline: 0.01 ns
0.01 ns
(47.13%)
exec: simple chain (1 tool)📈 view plot
🚷 view threshold
0.01 ns
(-34.53%)Baseline: 0.01 ns
0.01 ns
(46.02%)
parse: large bridge (20 handles x 5 wires)📈 view plot
🚷 view threshold
0.68 ns
(-40.76%)Baseline: 1.16 ns
1.66 ns
(41.14%)
parse: simple bridge📈 view plot
🚷 view threshold
0.02 ns
(-40.20%)Baseline: 0.03 ns
0.05 ns
(42.98%)
🐰 View full continuous benchmarking report in Bencher

@factory-release-manager
factory-release-manager Bot merged commit 8ac6c36 into main Oct 27, 2026
10 checks passed
@factory-release-manager

Copy link
Copy Markdown
Contributor

Merged on @aarne's approval: #193 (review)

@factory-release-manager
factory-release-manager Bot deleted the factory/191-stryker-checker branch October 27, 2026 15:33
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.

Stryker can't find its TypeScript checker plugin, so mutation testing doesn't run

1 participant