Skip to content

tmp: deliberate break, do not merge (mutants gate) - #1008

Closed
auxesis wants to merge 1 commit into
ci/port-stack-cratesfrom
tmp/break-mutants
Closed

auxesis wants to merge 1 commit into
ci/port-stack-cratesfrom
tmp/break-mutants

Conversation

@auxesis

@auxesis auxesis commented Oct 2, 2026

Copy link
Copy Markdown
Contributor

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.yml runs --in-diff and posts its sticky comment only on a pull request, so this draft PR exists to exercise it. The one commit adds an untested pub fn mutants_probe(x: u8) -> bool { x > 3 } to packages/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

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
@changeset-bot

changeset-bot Bot commented Oct 2, 2026

Copy link
Copy Markdown

⚠️ No Changeset found

Latest commit: 500ae5b

Merging this PR will not cause a version bump for any packages. If these changes should not result in a new version, you're good to go. If these changes should result in a version bump, you need to add a changeset.

This PR includes no changesets

When changesets are added to this PR, you'll see the packages that this PR includes changesets for and the associated semver types

Click here to learn what changesets are, and how to add one.

Click here if you're a maintainer who wants to add a changeset to this PR

@github-actions

github-actions Bot commented Oct 2, 2026

Copy link
Copy Markdown
Contributor

Mutation testing (cargo-mutants, --in-diff, stack-auth + stack-encrypt)

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

@auxesis

auxesis commented Oct 2, 2026

Copy link
Copy Markdown
Contributor Author

Deliberate-break run finished (Mutants gate failed as expected: 5 missed). Closing; the branch is deleted next.

@auxesis auxesis closed this Oct 2, 2026
@auxesis
auxesis deleted the tmp/break-mutants branch October 2, 2026 06:03
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