Skip to content

chore(cli): mutate only the lines a branch changed #842

Closed

Description

@blafourcade

Problem

scripts/run-mutation.mjs runs a whole scope. To check a change before pushing, mutation was run by hand five times in one session: the changed hunks of git diff -U0 turned into --mutate file:start-end ranges, and stryker run launched under a throwaway HOME. It is repetitive and easy to get wrong.

Proposal

node scripts/run-mutation.mjs --changed [<base>]: mutate only the lines changed since <base> (default origin/next). Report survivors with file and line, without touching any scope's incremental file or floor.

Acceptance criteria

  • On a branch changing one function, only that function's mutants are generated.
  • No scope's incremental.json is written.

Activity

  1. added theissue type on Sep 11, 2026
  2. moved this from Ideation to Todo in AIDD Roadmapon Sep 11, 2026
  3. moved this from Todo to In Progress in AIDD Roadmapon Sep 11, 2026
  4. moved this from In Progress to In review in AIDD Roadmapon Sep 11, 2026
  5. added 2 commits that reference this issue on Sep 11, 2026
    a173094
    8da878f
  6. closed this as completedby moving to Done in AIDD Roadmapon Sep 11, 2026
  7. moved this from In review to Done in AIDD Roadmapon Sep 11, 2026
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

    Fields

    Priority

    Low

    Projects

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions