Repository navigation
ci(stryker): close the survivors issue when nothing survives - #712
Merged
Merged
Conversation
The Track surviving mutants step only ever edited or created the kind:mutation-survives issue, so a run with zero survivors retitled it 'Mutation survivors (0)' and left it open indefinitely (#655). Now a zero-survivor run closes the open issue with a comment naming the run and score; the next run that finds a survivor opens a new one. Closes #655 Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
This was referenced Oct 15, 2026
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.
Summary
#655 is titled "Mutation survivors (0)". The
Track surviving mutantsstep instryker.yamlonly ever edits or creates thekind:mutation-survivesissue. So when a run finds no survivors, it retitles the issue to "(0)" and leaves it open indefinitely.This PR adds one branch: when
countis 0, the step closes the open tracking issue with a comment naming the run and the score, then exits. Nothing else changes. Any later run that finds a survivor opens a new issue, as before.stryker.yamlis a protected file, so this PR changes only that file. repo-template'sstryker.yamlhas the same gap and needs the same change, in a separate PR there.Closes #655
Verified (locally)
actionlintpasses,zizmor --offlinereports no findings, andbash -npasses on the extracted step.ghand a generatedmutation-report.json:ghcalls madeissue list, thenissue close 655 --comment "No surviving mutants in run 9 …"issue listonlyissue edit 655 --title "Mutation survivors (1) …"(unchanged behaviour)issue create … --label kind:mutation-survives(unchanged behaviour)Not verified: a real run. The step only runs on non-PR events (schedule or dispatch on
main), so the first scheduled run after merge is the end-to-end check.🤖 Generated with Claude Code