Skip to content

Contributing: How to retry failed GitHub CI jobs? #12840

Closed Answered by agilgur5
jswxstw asked this question in Q&A
Discussion options

You must be logged in to vote

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…

Replies: 1 comment 7 replies

Comment options

You must be logged in to vote
7 replies
@jswxstw
Comment options

@Joibel
Comment options

@agilgur5
Comment options

@agilgur5
Comment options

@jswxstw
Comment options

Answer selected by jswxstw
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
area/build Build or GithubAction/CI issues area/contributing Contributing docs, ownership, etc issues & PRs
3 participants