Skip to content

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

Closed

Description

@aarne

Mutation testing doesn't run: pnpm exec stryker run --dryRunOnly fails on main with

Cannot find Checker plugin "typescript"

It fails the same way on main, where everything is on TypeScript 6, so the TypeScript 7 move (#190) didn't cause it. The validator of #188 found it.

Do

  1. Find why @stryker-mutator/typescript-checker doesn't load: plugin resolution from the repo root, the plugins and checkers settings in the Stryker config, and its version against @stryker-mutator/core (both ^10).
  2. Make the dry run pass.

The checker uses TypeScript's JavaScript API, so it has to run against the TypeScript 6 the root keeps. TypeScript 7 doesn't provide that API.

Done when

  • pnpm exec stryker run --dryRunOnly passes on main.
  • The fix is in one PR. It's dev tooling only, so it needs no changeset.

Activity

  1. moved this from Backlog to Todo in Factory Twoon Oct 27, 2026
  2. factory-release-coordinator commented on Oct 27, 2026

    @factory-release-coordinator

    The release coordinator picked #191 from Todo and started its release manager: session aarnes-imac/release-manager-2/claude:e2d6b05d-2950-4146-983d-503b3ef4c2ab.

    Skipped above it:

    • stackables/release-manager#4: held by rm@b54db2fa7380 2026-10-27T15:05Z
  3. factory-release-manager commented on Oct 27, 2026

    @factory-release-manager
    Contributor

    🏭 Release manager

    Owner: rm@b54db2fa7380 2026-10-27T15:05Z · Branch: factory/191-stryker-checker → main · Now: all parts merged

    Final PRs: stackables/bridge: #193

    Part PRs Commit Rounds
    ✅ #191 · Stryker loads its TypeScript checker #193 — 0

    Cost and time

    Sessions Cost
    Coder · claude · sonnet · high 1 $0.40
    Validator · claude · sonnet · high 1 $0.18
    Release manager · claude · opus · medium 1 $1.85
    Total 3 $2.43

    OpenRouter prices of 2026-10-27.

    Costs are what the tokens would cost through OpenRouter at its normal prices. Claude Code runs on a subscription, so for its sessions this is a comparable number, not the bill.

    Time Minutes
    Elapsed, 1 run 23
    Waiting on a person 0
    Automation time 23
    Agent minutes (coders and validators) 16
    Log
  4. moved this from Todo to Coding in Factory Twoon Oct 27, 2026
  5. added a commit that references this issue on Oct 27, 2026
  6. factory-coder commented on Oct 27, 2026

    @factory-coder
    Contributor

    ✅ Ready for validation

    Stryker's dry run passes. The PR is #193, one commit (dd39a3d), with no changeset because it is dev tooling only.

    The checker never loaded because Stryker's default plugin scan only looks next to @stryker-mutator/core, and under pnpm that directory has no typescript-checker. The config now lists the plugin explicitly. Two more failures were behind that one, and I fixed both:

    • Whole-repo type check: the checker compiled the whole repo through tsconfig.base.json. A new tsconfig.stryker.json limits it to the four mutated packages, and the root gets @types/node.
    • Sandbox copy: it failed on the docs/public symlink, so docs is now ignored.

    I also added Stryker's output directories to .gitignore. The checker still runs on the root's TypeScript 6.

  7. factory-validator commented on Oct 27, 2026

    @factory-validator

    🟢 Pass

    Validated #193 at dd39a3d against #191. The repo has no docs/agents/validation.md, so I took checks from CI and used the default review rules.

    • Dry run: pnpm exec stryker run --dryRunOnly exits 0 on the PR head. It loaded the TypeScript checker, instrumented 26 files with 11915 mutants, and the initial test run succeeded. The working tree stayed clean afterwards.
    • Done when: the dry run passes, the fix is one PR, and no changeset is needed because only dev tooling changed. All three hold.
    • CI: Test, CodeQL, Analyze and the Bencher PR benchmark are green. CI does not run Stryker, so I ran the dry run myself. I did not re-run build, lint, test or knip because CI covers them.
    • Review: the change is 20 lines of config and has no source changes. It adds the plugins entry and a dedicated tsconfig.stryker.json. It also ignores docs and adds the root @types/node with its lockfile entry. I found no second path, dead code or security surface.
    • Tests: the change adds none, which fits a config-only fix. The dry run is the test of it.
  8. moved this from Coding to Human Review in Factory Twoon Oct 27, 2026
  9. factory-release-manager commented on Oct 27, 2026

    @factory-release-manager
    Contributor

    @aarne the fix is ready for your review: #193 (release manager session aarnes-imac/release-manager-2/claude:e2d6b05d-2950-4146-983d-503b3ef4c2ab).

    stryker run --dryRunOnly passes again and the validation found nothing. The one thing worth a look is the coder's scope: besides adding the checker to plugins, it added a Stryker-only tsconfig.stryker.json, a root @types/node and a docs ignore, because the dry run failed behind the first fix without them. Approving the PR merges it.

  10. moved this from Human Review to Done in Factory Twoon Oct 27, 2026
  11. factory-release-manager commented on Oct 27, 2026

    @factory-release-manager
    Contributor

    Retrospective

    Retrospective: nothing to improve

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

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions