Skip to content

test: kill escaped mutants - #64

Merged
roxblnfk merged 3 commits into
1.xfrom
test/kill-mutants
Nov 20, 2026
Merged

roxblnfk merged 3 commits into
1.xfrom
test/kill-mutants

Conversation

@roxblnfk

@roxblnfk roxblnfk commented Nov 20, 2026 •

Copy link
Copy Markdown
Member

What was changed

  • The TransactionMode::Ignore scenario now writes to the database outside a transaction. Before, it saved and deleted one entity in a single group, which ran no command, so it passed in strict mode too. It now saves in one group and deletes in another, and the finally block always removes the row.
  • FacadeTest checks that the Transaction service is fetched from the container only once.
  • MSI on Linux: 96.1% → 100% (escaped 2 → 0), CI 100% as well; the gate goes from 90 to 98.

Why?

To make the mutation score meaningful before raising the gate.

Checklist

  • Tested
    • Unit and Acceptance tests changed
    • Infection run on Linux (Docker, PHP 8.4, SQLite)

…nsaction

Saving and deleting the same entity in one group ran no command, so the test passed in strict mode too.

Assisted-By: Claude Opus 5.5 <[email protected]>
@roxblnfk
roxblnfk requested a review from a team November 20, 2026 16:57
@roxblnfk
roxblnfk requested a review from lotyp as a code owner November 20, 2026 16:57
@codecov

codecov Bot commented Nov 20, 2026 •

Copy link
Copy Markdown

Codecov Report

✅ All modified and coverable lines are covered by tests.
✅ Project coverage is 95.00%. Comparing base (e288b4f) to head (0584e9b).

Additional details and impacted files
@@           Coverage Diff           @@
##              1.x      #64   +/-   ##
=======================================
  Coverage   95.00%   95.00%           
=======================================
  Files          10       10           
  Lines         100      100           
=======================================
  Hits           95       95           
  Misses          5        5           
Flag Coverage Δ
mysql 82.82% <ø> (ø)
postgres 82.82% <ø> (ø)
sqlite 82.82% <ø> (ø)
sqlserver 82.82% <ø> (ø)
unit 17.17% <ø> (+1.01%) ⬆️

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.

@roxblnfk
roxblnfk merged commit d2ec332 into 1.x Nov 20, 2026
26 checks passed
@roxblnfk
roxblnfk deleted the test/kill-mutants branch November 20, 2026 17:03
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant