Conversation
Plan §1.2 deliberate-break check for PR C (#1003): an untested pub fn mutants_probe(x: u8) -> bool { x > 3 } in packages/stack-auth/src/lib.rs. Expected failure: mutants, 'Enforce' step; the sticky comment lists 5 missed. Co-Authored-By: Claude Opus 5.5 (1M context) <noreply@anthropic.com> Claude-Session: https://claude.ai/code/session_01PaY5xYydZUWhv8Nex9Sw8a
|
Contributor
Mutation testing (cargo-mutants,
|
| caught | missed | unviable | timeout |
|---|---|---|---|
| 0 | 5 | 0 | 0 |
Surviving mutants: add a test that fails on each before merging
packages/stack-auth/src/lib.rs:160:5: replace mutants_probe -> bool with true
packages/stack-auth/src/lib.rs:160:5: replace mutants_probe -> bool with false
packages/stack-auth/src/lib.rs:160:7: replace > with == in mutants_probe
packages/stack-auth/src/lib.rs:160:7: replace > with < in mutants_probe
packages/stack-auth/src/lib.rs:160:7: replace > with >= in mutants_probe
Contributor
Author
|
Deliberate-break run finished (Mutants gate failed as expected: 5 missed). Closing; the branch is deleted next. |
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.
Throwaway. Do not review or merge; it will be closed and its branch deleted shortly.
Plan §1.2 deliberate-break check for PR C (#1003):
mutants.ymlruns--in-diffand posts its sticky comment only on a pull request, so this draft PR exists to exercise it. The one commit adds an untestedpub fn mutants_probe(x: u8) -> bool { x > 3 }topackages/stack-auth/src/lib.rs; the expected result is the Enforce step failing with 5 missed mutants. The other workflows this PR triggers are cancelled.🤖 Generated with Claude Code
https://claude.ai/code/session_01PaY5xYydZUWhv8Nex9Sw8a