Commit 701aecb
authored
[red-knot] mypy_primer: Fail job on panic or internal errors (#17389)
## Summary
Let the mypy_primer job fail if Red Knot panics or exits with code 2
(indicating an internal error).
Corresponding mypy_primer commit:
astral-sh/mypy_primer@90808f4
In addition, we may also want to make a successful mypy_primer run
required for merging?
## Test Plan
Made sure that mypy_primer exits with code 70 locally on panics, which
should result in a pipeline failure, since we only allow code 0 and 1 in
the pipeline here:
https://github.com/astral-sh/ruff/blob/a4d7c6669bb356eb40e6e7069b11dffbfc27f483/.github/workflows/mypy_primer.yaml#L731 parent 850360a commit 701aecb
1 file changed
Lines changed: 1 addition & 1 deletion
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
45 | 45 | | |
46 | 46 | | |
47 | 47 | | |
48 | | - | |
| 48 | + | |
49 | 49 | | |
50 | 50 | | |
51 | 51 | | |
| |||
0 commit comments