Skip to content

🐛 fix(ci): make mutation failures decisive - #1713

Merged
gaborbernat merged 1 commit into
mainfrom
fix/mutation-driver-state
Aug 28, 2026
Merged

🐛 fix(ci): make mutation failures decisive#1713
gaborbernat merged 1 commit into
mainfrom
fix/mutation-driver-state

Conversation

@gaborbernat

Copy link
Copy Markdown
Member

Nightly mutation shards were exhausting their CI budget after already finding a behavioral failure. One shard produced 363 outcomes from 543 candidates before its 180-minute limit, leaving 180 unrecorded, while driver shard 4 timed out after a mutated metrics counter interrupted scheduler completion. 🧬

just mutation now selects a fail-fast nextest profile, which lets cargo-mutants record the first caught mutation without continuing through unrelated cases. Public driver interfaces make cache refresh, retry policy, operation timestamps, retention, and index descriptions observable. Auth registrations identify whether an ecosystem uses only shared auth or adds extension fields. OCI therefore no longer implements empty field/default hooks, while PyPI supplies its extension schema in registration data. Job-start counters saturate so monitoring overflow cannot interrupt scheduler completion.

Cargo-mutants discovers candidates by parsing the source AST before builds and does not evaluate cfg predicates. This change does not exclude the resulting wasm-only hydrate artifact; cfg-aware discovery remains tracked in upstream issue #50 and design PR #623, while non-Cargo verifier support remains upstream issue #638.

Stop mutation runs after the first behavioral failure so one mutant cannot
consume a shard while unrelated tests continue.

Exercise the driver state transitions and plugin registration contracts that
the nightly shard left unobserved. Separate shared auth from extension settings
so plugins without extension fields have no empty contract to mutate. Keep
metrics overflow from interrupting scheduler completion.
@gaborbernat gaborbernat added the bug Something isn't working label Aug 28, 2026
@codspeed-hq

codspeed-hq Bot commented Aug 28, 2026

Copy link
Copy Markdown

Merging this PR will not alter performance

✅ 23 untouched benchmarks
⏩ 138 skipped benchmarks1


Comparing fix/mutation-driver-state (97a7d8f) with main (cfc5871)

Open in CodSpeed

Footnotes

  1. 138 benchmarks were skipped, so the baseline results were used instead. If they were deleted from the codebase, click here and archive them to remove them from the performance reports.

@gaborbernat
gaborbernat merged commit 3decb29 into main Aug 28, 2026
46 checks passed
@gaborbernat
gaborbernat deleted the fix/mutation-driver-state branch August 28, 2026 13:15
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

bug Something isn't working

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant