Skip to content

feat(mutation): advisory pull request mode and cancelled superseded runs - #73

Merged
sinemacula-ben merged 1 commit into
masterfrom
feat/advisory-pr-mutation
Oct 14, 2026
Merged

sinemacula-ben merged 1 commit into
masterfrom
feat/advisory-pr-mutation

Conversation

@sinemacula-ben

@sinemacula-ben sinemacula-ben commented Oct 14, 2026 •

Copy link
Copy Markdown
Contributor

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.

Change Detail
mutation-pr-mode input blocking (default) or advisory; anything else fails the plan. In advisory mode on pull_request runs, 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 block
Concurrency A group per caller workflow and pull request with cancel-in-progress on pull requests only; push, dispatch and scheduled runs each get their own group and are never cancelled or queued
Job summary Each shard's summary names the break threshold and lists at most 20 undetected mutants with a count of the rest

The weekly full sweep is unchanged.

Checks: node --test '.github/scripts/*.test.mjs' (29 pass), actionlint with shellcheck, qlty check and qlty smells against origin/master (no issues).

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
sinemacula-ben force-pushed the feat/advisory-pr-mutation branch from ea33f89 to ad6ac5e Compare October 14, 2026 04:20
@sinemacula-ben sinemacula-ben changed the title feat(mutation): advisory pull request mode, reports and a sweep issue feat(mutation): advisory pull request mode and cancelled superseded runs Oct 14, 2026
@sinemacula-ben
sinemacula-ben merged commit 39083c1 into master Oct 14, 2026
5 checks passed
@sinemacula-ben
sinemacula-ben deleted the feat/advisory-pr-mutation branch October 14, 2026 04:26
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.

1 participant