1.4 KiB
WARNING: This document describes only the change applied in this PR. It may already be outdated once the next PR is merged. Historic PR-documentation is not maintained along with new PRs — treat it as a snapshot, not as current documentation.
Problem
The nightly mutation build of 2026-10-11 failed its Mutation-CRAP gate on main (d95b7e6, the merge of PR#150).
BuildsApiController.restart scores 15.64; the limit is 15.
It stood at 14.07 before; PR#150 added the refusal of the newest commit to it.
Non-Goals
- No change of behaviour; the existing scenarios of PR#150 stay.
Solution
-
restartAtNewestCommittakes the newest-commit branch ofrestart: the refusal and the origin head.restartkeeps the token check and the repetition of the latest recorded commit. -
Measured locally with PIT on
BuildsApiController,BuildRestartsandRestartPolicy:Method Mutation-CRAP BuildsApiController.restart8 (was 15.64) BuildsApiController.restartAtNewestCommit3 BuildRestarts.newestCommitRefusal5 The highest score of the three classes is the unchanged
BuildsApiController.current, 13.70.
Additional Changes
- The plan notes the split under
#restart2. - Version 1.41.2 with its release note.