Repository navigation
chore: mark the verified equivalent mutants as ignored and exclude ArrayDeclaration - #1807
Merged
Merged
Conversation
…rayDeclaration Annotate the 41 surviving mutants that the backlog groups in cncf#1788 verified as equivalent (cncf#1789, cncf#1790, cncf#1793, cncf#1794, cncf#1795) with Stryker disable directives that carry the reason, so they report as Ignored instead of Survived and no longer surface as mutation findings. Exclude the ArrayDeclaration mutator in stryker.config.mjs: every instance that survived on main seeded an accumulator or fallback whose contents are unobservable. Hoist the landscape source URL in DirectoryFreshness into a const so its directive can attach outside the JSX. Document the directive placement rules in CONTRIBUTING. Refs cncf#1788 Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com> Signed-off-by: mrbobbytables <mrbobbytables@users.noreply.github.com>
✅ Deploy Preview for endusers ready!
To edit notification comments on pull requests, go to your Netlify project configuration. |
This was referenced Oct 22, 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
Makes the equivalent-mutant triage machine-readable so surviving-mutant findings stop being re-filed for mutants that were already verified as equivalent.
// Stryker disable next-line <Mutator>: <reason>directives on the 41 survivors verified as equivalent by the backlog groups in Trend analysis of the last 100 issues and PRs: proactive changes to reduce agent backlog #1788 (test: kill the surviving mutants in the end user data sources #1789, test: kill the surviving mutants in the external source and URL safety helpers #1790, test: kill the surviving mutants in the SVG active content gate #1793, test: kill the surviving mutants in the site components #1794, test: kill the surviving mutants in the MDX and architecture content gates #1795); they now report as Ignored with the reason attached in the report.ArrayDeclarationmutator instryker.config.mjs. Every one of its surviving instances on main (16) seeded an accumulator or fallback whose["Stryker was here"]contents are unobservable; the 145 that were killed are covered by assertions on the populated arrays.landscape?.sourceUrlinDirectoryFreshnessinto a const so the directive can attach (Stryker directives do not attach inside JSX children orelse iftests via{/* */};else ifsites use an inline block comment inside the parentheses).CONTRIBUTING.md, including that an Ignored mutant does not need an issue.Verification
Scoped
npm run test:mutation -- --mutate ...over all 17 annotated files: every annotated mutant reports Ignored, no new survivors, 99.65-100% per run.npm run test:unit:coverage:checkand all six lint gates pass.Refs #1788