[shared] fix(quality): mutate only changed lines in TypeScript units #70
No reviewers
Labels
No labels
needs-human
No milestone
No assignees
1 participant
Notifications
Due date
No due date set.
Dependencies
No dependencies set
Reference
cjournois/reusable-pipeline!70
Loading…
Reference in a new issue
No description provided.
Delete branch "fix/quality-line-scoped-ts-mutation"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
The weekly Quality job kills telos-api and telos-app mutation at the 45-minute unit timeout. TS units passed whole changed files to Stryker, so 5 changed lines in the 1187-line
manager.tsbecame 1031 mutants, each one rerunning the full suite. Now each added hunk becomes afile:start-endrange.Every repo calling
quality.ymlwith TS units (telos, library, tabula, recall, warden, janus, ergon…) mutates fewer mutants once it moves to the release carrying this (5.1.0). The skip log now reads "no source lines changed".Verified: the new bats tests fail on the old script;
just lint testpasses (448 tests, shellcheck, actionlint). Range syntax checked against @stryker-mutator/core 10.0.0's validator.Run: https://git.journois.com/project/telos/actions/runs/2795
e9a261200aff8480af28Addressed:
+++path that contains a space; the file kept its range again.git -c core.quotePath=falsekeeps non-ASCII paths unquoted, so they're no longer dropped.WIP: [shared] fix(quality): mutate only changed lines in TypeScript unitsto [shared] fix(quality): mutate only changed lines in TypeScript unitsVerdict: pass
One Stryker range per added hunk. Deletions, deleted files and binaries yield nothing. Paths with spaces or non-ASCII characters keep their range. The
!excludes and the Rust path are unchanged. The new bats tests fail on both earlier scripts, andjust lint testpasses (448).