Repository navigation
Commit fc17bc4
committed
fix(mutation-gate): keep the stacked map out of the pull request's own tree
- .github/workflows/mutation-testing.yml downloaded the stacked map into .mutation/, inside the
checkout. A pull request can commit .mutation/stacked-map.json itself, and with
continue-on-error a missing artifact leaves that committed file exactly where the gate reads
it, so the pull request picks the base it is measured against. The map now lands under
RUNNER_TEMP: a missing artifact means no file there, which degrades to the event base -
stricter than the intended measurement, never looser.
- reinstallAlignedDependencies built its failure detail with ??. pnpm killed or terminated by a
signal leaves stderr empty, and an empty string is a valid ?? operand, so the report ended in a
blank detail and lost the exit status. The chain now lives in reinstallFailureDetail() and
falls through with ||.
- summarizeReinstallFailure received only stackedOn, so the job summary named the parent PR but
not the base the gate had selected. It takes the resolved invocation now, and formatSummary
turns baseSha + headSha into the "Reproduce locally" command.
Each change has a control with it removed and the file restored byte-identically:
- detail chain back to ?? -> "AssertionError [ERR_ASSERTION]: Expected values to be strictly
equal:" with actual: '' and expected: 'exit 1' (test line 616),
- summary back to { stackedOn } -> "AssertionError [ERR_ASSERTION]: The expression evaluated to
a falsy value:" because the reproduce line disappears (test line 598),
- map path back to .mutation -> the same falsy-value assertion on the workflow check.
Patched suite: 122 tests / 23 suites / 122 pass / 0 fail. tsc from src: 0 errors. eslint
--max-warnings=0 clean, src/eslint-suppressions.json restored to its committed blob.1 parent f133c58 commit fc17bc4
3 files changed
Lines changed: 59 additions & 12 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
106 | 106 | | |
107 | 107 | | |
108 | 108 | | |
109 | | - | |
110 | | - | |
| 109 | + | |
| 110 | + | |
| 111 | + | |
| 112 | + | |
| 113 | + | |
111 | 114 | | |
112 | 115 | | |
113 | 116 | | |
114 | 117 | | |
115 | | - | |
| 118 | + | |
116 | 119 | | |
117 | 120 | | |
118 | 121 | | |
| |||
128 | 131 | | |
129 | 132 | | |
130 | 133 | | |
131 | | - | |
| 134 | + | |
132 | 135 | | |
133 | 136 | | |
134 | 137 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
394 | 394 | | |
395 | 395 | | |
396 | 396 | | |
| 397 | + | |
| 398 | + | |
| 399 | + | |
| 400 | + | |
| 401 | + | |
| 402 | + | |
| 403 | + | |
| 404 | + | |
| 405 | + | |
| 406 | + | |
397 | 407 | | |
398 | 408 | | |
399 | 409 | | |
400 | 410 | | |
401 | 411 | | |
402 | 412 | | |
403 | | - | |
404 | | - | |
| 413 | + | |
| 414 | + | |
| 415 | + | |
405 | 416 | | |
406 | 417 | | |
407 | 418 | | |
| |||
840 | 851 | | |
841 | 852 | | |
842 | 853 | | |
843 | | - | |
| 854 | + | |
844 | 855 | | |
845 | 856 | | |
846 | 857 | | |
847 | 858 | | |
848 | 859 | | |
849 | | - | |
| 860 | + | |
| 861 | + | |
| 862 | + | |
| 863 | + | |
850 | 864 | | |
851 | 865 | | |
852 | 866 | | |
| |||
1094 | 1108 | | |
1095 | 1109 | | |
1096 | 1110 | | |
1097 | | - | |
| 1111 | + | |
1098 | 1112 | | |
1099 | 1113 | | |
1100 | 1114 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
32 | 32 | | |
33 | 33 | | |
34 | 34 | | |
| 35 | + | |
35 | 36 | | |
36 | 37 | | |
37 | 38 | | |
| |||
84 | 85 | | |
85 | 86 | | |
86 | 87 | | |
87 | | - | |
| 88 | + | |
| 89 | + | |
| 90 | + | |
| 91 | + | |
| 92 | + | |
| 93 | + | |
88 | 94 | | |
89 | 95 | | |
90 | 96 | | |
| |||
580 | 586 | | |
581 | 587 | | |
582 | 588 | | |
583 | | - | |
| 589 | + | |
| 590 | + | |
| 591 | + | |
| 592 | + | |
| 593 | + | |
584 | 594 | | |
585 | | - | |
| 595 | + | |
| 596 | + | |
586 | 597 | | |
| 598 | + | |
| 599 | + | |
| 600 | + | |
| 601 | + | |
587 | 602 | | |
588 | 603 | | |
589 | 604 | | |
| |||
595 | 610 | | |
596 | 611 | | |
597 | 612 | | |
| 613 | + | |
| 614 | + | |
| 615 | + | |
| 616 | + | |
| 617 | + | |
| 618 | + | |
| 619 | + | |
| 620 | + | |
| 621 | + | |
| 622 | + | |
| 623 | + | |
| 624 | + | |
| 625 | + | |
| 626 | + | |
| 627 | + | |
598 | 628 | | |
599 | 629 | | |
600 | 630 | | |
| |||
0 commit comments