Skip to content

Commit b99f6f4

Browse files
committed
ci(mutants): skip the gate on the next-into-main release PR
Every line of the release diff arrived through a PR into next, which the gate already mutated. The release diff yields over 2,000 mutants, about 7.5 hours of runner time, and cannot finish inside the 120-minute timeout, so each push to next spent up to two hours and then failed.
1 parent f3e9f92 commit b99f6f4

1 file changed

Lines changed: 5 additions & 0 deletions

File tree

‎.github/workflows/mutants.yml‎

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -64,6 +64,11 @@ env:
6464
jobs:
6565
mutants:
6666
name: Mutants gate
67+
# Not on the release PR (next into main). Every line of its diff arrived
68+
# through a PR into next, which this gate already mutated; the release
69+
# diff yields thousands of mutants, hours of runner time, and cannot
70+
# finish inside the timeout, so it would only spend money and fail.
71+
if: github.event_name != 'pull_request' || !(github.head_ref == 'next' && github.base_ref == 'main')
6772
runs-on: blacksmith-16vcpu-ubuntu-2204
6873
timeout-minutes: 120
6974
permissions:

0 commit comments

Comments
 (0)