Repository navigation
feat(mutation): advisory pull request mode and cancelled superseded runs - #73
Merged
Merged
Conversation
Add a mutation-pr-mode input. In advisory mode a pull request's scoped shards pass with a warning when the score, Stryker's or the shard's own, is under the break threshold, once Stryker has finished and left a fresh report; a dry-run failure, crash, config error or missing report still fails. Blocking stays the default, and pushes and the sweep always block. Cancel a pull request's superseded runs with a concurrency group per pull request; push, dispatch and scheduled runs each get their own group. Each shard's job summary now names the break threshold and lists at most 20 undetected mutants with a count of the rest.
sinemacula-ben
force-pushed
the
feat/advisory-pr-mutation
branch
from
October 14, 2026 04:20
ea33f89 to
ad6ac5e
Compare
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Adds an advisory pull request mode to the Node mutation gate and cancels superseded pull request runs. Blocking stays the default, so existing callers see no change in verdicts.
mutation-pr-modeinputblocking(default) oradvisory; anything else fails the plan. In advisory mode onpull_requestruns, a shard whose Stryker run ends on the break threshold (Final mutation score … under breaking threshold, exit 1), or whose own-scope score is under it, passes with a warning. A dry-run failure, crash, config error or missing fresh report still fails. Pushes, dispatches and the sweep always blockcancel-in-progresson pull requests only; push, dispatch and scheduled runs each get their own group and are never cancelled or queuedThe weekly full sweep is unchanged.
Checks:
node --test '.github/scripts/*.test.mjs'(29 pass), actionlint with shellcheck,qlty checkandqlty smellsagainstorigin/master(no issues).