Repository navigation
Add /retest PR comment workflow to re-run CI jobs - #1640
Merged
Merged
Conversation
Contributor
Author
|
/retest |
Contributor
Author
|
/retest tsan |
Contributor
Author
|
/retest all |
jiajunye
force-pushed
the
add-ci-retest-workflow
branch
from
October 19, 2026 20:32
8c1d9bb to
48fedec
Compare
Contributor
Author
|
/retest |
jiajunye
force-pushed
the
add-ci-retest-workflow
branch
from
October 19, 2026 21:05
48fedec to
9f53543
Compare
Add .github/workflows/retest.yml to allow PR authors to trigger re-runs of failed, all, or specific CI jobs by commenting /retest on their pull requests. Note: Workflows triggered on issue_comment only take effect once this PR is merged into the repository default branch (main), as GitHub Actions strictly executes comment workflows from the default branch. Features: - Validates that only the PR author can trigger re-runs. - Supports /retest to re-run only failed jobs for the latest commit. - Supports /retest all to re-run all jobs from scratch (including passed tests). - Supports /retest <job-name> (e.g. /retest tsan, /retest test_gcc) to re-run a specific completed job (including passed tests, even while other jobs in the workflow run are in progress). - Provides immediate feedback via comment reactions (eyes, rocket, confused) and informative status comments. - Updates CONTRIBUTING.md with instructions on how to use the command. - Removes legacy Azure Pipelines retest alias from repokitteh.star. - Pins actions to Git commit SHA for OpenSSF Scorecard supply-chain security compliance. Signed-off-by: Jason Ye <jiajunye@google.com>
jiajunye
force-pushed
the
add-ci-retest-workflow
branch
from
October 19, 2026 21:10
9f53543 to
cd03c60
Compare
jiajunye
marked this pull request as ready for review
October 20, 2026 02:37
fei-deng
approved these changes
Oct 20, 2026
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.
Add
.github/workflows/retest.ymlto allow PR authors to trigger re-runs of failed, all, or specific CI jobs by commenting/reteston their pull requests.Features
/retest: Re-runs only failed, cancelled, or timed-out jobs for the latest commit./retest all: Re-runs all jobs from scratch (including passed tests)./retest <job-name>(e.g./retest tsan,/retest test_gcc): Re-runs a specific completed job (including passed tests, even while other jobs in the workflow run are in progress)./retestalias fromrepokitteh.starto preventrepokittehfrom reacting with 😕.CONTRIBUTING.mdwith instructions on how to use/retest.