Add workflow to rerun potentially transient failures#3830
Open
henrymercer wants to merge 2 commits intomainfrom
Open
Add workflow to rerun potentially transient failures#3830henrymercer wants to merge 2 commits intomainfrom
henrymercer wants to merge 2 commits intomainfrom
Conversation
Contributor
There was a problem hiding this comment.
Pull request overview
Adds a new “Deflake” GitHub Actions workflow to automatically rerun failed jobs once for certain post-merge workflow runs, aiming to filter out transient CI failures on trusted branches.
Changes:
- Introduces
.github/workflows/deflake.ymltriggered viaworkflow_runfor a curated set of existing workflows. - Automatically reruns failed jobs on first failure attempt and posts a brief step summary.
Show a summary per file
| File | Description |
|---|---|
.github/workflows/deflake.yml |
New workflow_run-triggered workflow that reruns failed jobs once for selected workflows under specific conditions. |
Copilot's findings
- Files reviewed: 1/1 changed files
- Comments generated: 2
Co-authored-by: Copilot <175728472+Copilot@users.noreply.github.com>
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Workflow runs that are on main, on a release branch, and that were triggered as part of a merge group have already passed CI before being merged. Therefore if they fail, we should make sure that there wasn't a transient failure by rerunning the failed jobs once before investigating further.
Risk assessment
For internal use only. Please select the risk level of this change:
Which use cases does this change impact?
Environments:
How did/will you validate this change?
If something goes wrong after this change is released, what are the mitigation and rollback strategies?
How will you know if something goes wrong after this change is released?
I'll monitor runs of this workflow once this is merged.
Are there any special considerations for merging or releasing this change?
Merge / deployment checklist