Repository navigation
v2.25.6
Patch release, test suite only: no library code changed. It fixes a timing flaw in one unit test that failed the post-release mutation jobs of 2.25.5.
Nothing changes for applications. The published tag now carries a fully green CI, mutation testing included.
Testing & CI
RetirePullInboxTest::testADrainThatNeverAsksForTheHandOverEndsItReleasedAtTheRequestTimeoutno longer fails when the drain is slow to ask its participant (#227).- What the test checks: the release of a pull consumer's inbox ends at the request timeout, at whichever comes first of two deadlines: its own budget, or the drain's seal, which ends the requests in flight at the drain's budget.
- The flaw: the drain's deadline starts first, but the test measured its 0.15 s lower bound from the release's call.
- How it failed: in the coverage run Infection starts with on a CI runner, the drain took about 55 ms to ask its participant, so the release ended 0.145 s after the call. That failed the mutation jobs on
mainand on thev2.25.5tag before any mutant ran. - The fix: the bound is now measured from the drain's start. With the drain made 80 ms slower, the old test fails the same way and the new one passes. The new one still fails when the release does not wait for the drain.
Quality gates
- PHPStan level 8, full repository.
- 3378 unit tests (with data sets), run in CI on PHP 8.2 to 8.5 under Xdebug. Locally they pass in random order with seed
1791715977, the order of the failed 2.25.5 run. Also 157 live integration tests and 49 Behat scenarios; all runnable examples pass. - Coverage unchanged at 99.03%, since no library line changed.
- Infection on
mainwith the fix (a82e5e8): covered MSI 92.77% (90% floor enforced in CI), the initial test run green.
The full record is in the CHANGELOG.