diff --git a/docs/developer_guide/contribution_guide.md b/docs/developer_guide/contribution_guide.md index 7ef5164f9fc9..49f70f7df68b 100644 --- a/docs/developer_guide/contribution_guide.md +++ b/docs/developer_guide/contribution_guide.md @@ -78,11 +78,14 @@ For CI to run on a pull request, it must have the "run-ci" label. Authorized use - `/tag-run-ci-label`: Adds the "run-ci" label. Every future commit will trigger CI. - `/rerun-failed-ci`: Reruns the failed or flaky tests from the most recent commit. - `/tag-and-rerun-ci`: A single command that performs both `/tag-run-ci-label` and `/rerun-failed-ci`. +- `/rerun-stage `: Reruns a specific test stage without waiting for its dependencies. This is useful when you want to quickly validate a fix for a specific test failure instead of waiting ~30 minutes for preceding stages to complete. If you have permission, the [Slash Command Handler](https://github.com/sgl-project/sglang/actions/workflows/slash-command-handler.yml) will run your command and react with a 👍 to your comment. It may take up to a few minutes for the reaction to appear. Here’s a usage [example](https://github.com/sgl-project/sglang/pull/14253#issuecomment-3599509302). To avoid spamming a PR with too many `/rerun-failed-ci` comments, you can also trigger the command by editing an existing comment and adding any suffix (e.g., `/rerun-failed-ci try again`). +Example of rerunning a single test stage: `/rerun-stage unit-test-backend-4-gpu`. + If you don’t have permission, please ask maintainers to trigger CI for you. ### CI rate limits