-
I often encounter issues where certain CI jobs run failed after submitting a PR. |
Beta Was this translation helpful? Give feedback.
Replies: 1 comment 7 replies
-
Unfortunately, no, not currently. Only those with The workaround is to push an empty commit to your branch, which will re-trigger CI. Unfortunately it re-triggers all jobs, not just the failed ones. Also the root cause fix is ofc to solve all the flakes, which are often due to unhandled race conditions in the actual code, and sometimes unhandled race conditions in the tests. You've seen #12832 as one example of tracking such test flakes, but there have also been #10807, #9027, #7133 and (many) others in the past. |
Beta Was this translation helpful? Give feedback.
Unfortunately, no, not currently. Only those with
write
permissions can retry GitHub CI, i.e. Approver+. This was a larger topic of discussion when there were substantially more test flakes back in September (and it was probably discussed during other test flake increases too).The workaround is to push an empty commit to your branch, which will re-trigger CI. Unfortunately it re-triggers all jobs, not just the failed ones.
The better solution is to add a bot/GH Action that can retry on behalf of Members if they comment
/retest
(similar to the k8s bot), which would more minimally retry failed jobs. I was looking at something similar for automated cherry-picks with/cherry-pick
: #12592 (co…