Skip to content

ci: raise minimum mutation score to 90 and condense changelog entries#54

Merged
turegjorup merged 2 commits into
developfrom
ci/raise-min-covered-msi
Jun 11, 2026
Merged

ci: raise minimum mutation score to 90 and condense changelog entries#54
turegjorup merged 2 commits into
developfrom
ci/raise-min-covered-msi

Conversation

@turegjorup

Copy link
Copy Markdown
Collaborator

Summary

Final follow-up to the mutation-testing rollout (#49#52), mirroring itk-dev/openid-connect-bundle#51: the suite now scores 93% covered MSI (185/198 mutants killed), so the bootstrap threshold of 68 is ratcheted to 90.

The 13 surviving mutants are equivalent or contrived rather than test gaps: JSON depth: 512 literals, random-string default lengths, casts only observable on corrupted cache, an unreachable catch-union member, and an authorization-URL default that league's getDefaultScopes() fallback makes equivalent. Chasing them would add contrived tests for no real verification value.

The [Unreleased] changelog is condensed: the three per-PR test-strengthening bullets collapse into one final-outcome entry.

Files Changed

  • infection.json5 - minCoveredMsi 68 → 90, comment documents the surviving-mutant rationale
  • CHANGELOG.md - condensed Unreleased entries

Test Plan

  • task test:mutation — 185/198 killed, 93% covered MSI, passes the new 90 threshold
  • markdownlint — clean
  • The Mutation tests (8.3, prefer-stable) check on this PR exercises the new threshold

Notes

Small conflict expected with #53 (RFC 2606 domains) on CHANGELOG.md — whichever merges second, I'll resolve.

🤖 Generated with Claude Code

The suite kills 185 of 198 mutants (93% covered MSI); the 13 survivors
are equivalent or contrived. The bootstrap threshold of 68 no longer
defends anything; 90 keeps headroom for run-to-run variance. The
Unreleased changelog entries from the mutation-testing rollout are
condensed to the final outcome, matching the tone of earlier releases.

Co-Authored-By: Claude Fable 5 <noreply@anthropic.com>
@turegjorup turegjorup self-assigned this Jun 11, 2026
@turegjorup turegjorup merged commit e3d0636 into develop Jun 11, 2026
15 checks passed
@turegjorup turegjorup deleted the ci/raise-min-covered-msi branch June 11, 2026 09:26
@codecov

codecov Bot commented Jun 11, 2026

Copy link
Copy Markdown

Codecov Report

✅ All modified and coverable lines are covered by tests.
✅ Project coverage is 100.00%. Comparing base (9fedae3) to head (1bf3161).
⚠️ Report is 3 commits behind head on develop.

Additional details and impacted files
@@             Coverage Diff             @@
##             develop       #54   +/-   ##
===========================================
  Coverage     100.00%   100.00%           
  Complexity        71        71           
===========================================
  Files              1         1           
  Lines            185       185           
===========================================
  Hits             185       185           
Flag Coverage Δ
unittests 100.00% <ø> (ø)

Flags with carried forward coverage won't be shown. Click here to find out more.

☔ View full report in Codecov by Harness.
📢 Have feedback on the report? Share it here.

🚀 New features to boost your workflow:
  • ❄️ Test Analytics: Detect flaky tests, report on failures, and find test suite problems.

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