Skip to content

Commit 7ff749a

Browse files
authored
Merge pull request #114 from shepmaster/blocked
Document S-blocked
2 parents 7665a3f + 2ca3af8 commit 7ff749a

File tree

1 file changed

+25
-0
lines changed

1 file changed

+25
-0
lines changed

pr-triage-procedure.md

Lines changed: 25 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -15,13 +15,15 @@ title: Triage Procedure
1515
- [S-waiting-on-team] - A T- label is marked, and team has been cc-ed for feedback.
1616
- [S-waiting-on-bors] - Currently approved, waiting to merge.
1717
- [S-waiting-on-crater] - Waiting to see what the impact the PR will have on the ecosystem
18+
- [S-blocked] - Waiting for another PR to be merged
1819
- [S-inactive-closed] - Closed due to inactivity.
1920

2021
[S-waiting-on-author]: https://github.com/rust-lang/rust/pulls?q=is%3Aopen+is%3Apr+sort%3Aupdated-asc+label%3AS-waiting-on-author
2122
[S-waiting-on-review]: https://github.com/rust-lang/rust/pulls?q=is%3Aopen+is%3Apr+sort%3Aupdated-asc+label%3AS-waiting-on-review
2223
[S-waiting-on-team]: https://github.com/rust-lang/rust/pulls?q=is%3Aopen+is%3Apr+label%3AS-waiting-on-team+sort%3Aupdated-desc
2324
[S-waiting-on-bors]: https://github.com/rust-lang/rust/pulls?q=is%3Aopen+is%3Apr+label%3AS-waiting-on-bors+sort%3Aupdated-asc
2425
[S-waiting-on-crater]: https://github.com/rust-lang/rust/pulls?q=is%3Aopen+is%3Apr+label%3AS-waiting-on-crater+sort%3Aupdated-asc
26+
[S-blocked]: https://github.com/rust-lang/rust/pulls?q=is%3Aopen+is%3Apr+label%3AS-blocked+sort%3Aupdated-asc
2527
[S-inactive-closed]: https://github.com/rust-lang/rust/pulls?q=is%3Aopen+is%3Apr+label%3AS-inactive-closed+sort%3Aupdated-asc
2628

2729
## Procedure:
@@ -66,6 +68,10 @@ author for the changes. Also tag the PR with S-inactive-closed.
6668
you can 'bump' the PR by removing and readding the tag (note that removing/readding requires
6769
clicking off the tag selection dropdown between the two actions).
6870

71+
If the PR is blocked on another PR, add a comment clearly identifying
72+
the blocking PR (something like "This PR appears to be blocked on
73+
#12345") and change the state to S-blocked.
74+
6975
[S-waiting-on-author PRs]: https://github.com/rust-lang/rust/pulls?q=is%3Aopen+is%3Apr+sort%3Aupdated-asc+label%3AS-waiting-on-author
7076

7177
### [S-waiting-on-review PRs]
@@ -89,6 +95,10 @@ If the **review is incomplete**:
8995
- If more than 3 days since last reviewer comment, ping the reviewer on IRC and on GitHub.
9096
- If more than 6 days since the last reviewer comment, also ping the subteam on GitHub.
9197

98+
If the PR is blocked on another PR, add a comment clearly identifying
99+
the blocking PR (something like "This PR appears to be blocked on
100+
#12345") and change the state to S-blocked.
101+
92102
[S-waiting-on-review PRs]: https://github.com/rust-lang/rust/pulls?q=is%3Aopen+is%3Apr+sort%3Aupdated-asc+label%3AS-waiting-on-review
93103

94104
### [S-waiting-on-team PRs]
@@ -138,6 +148,21 @@ been more than 5 days since an update, ping the person starting the run on IRC a
138148

139149
[S-waiting-on-crater PRs]: https://github.com/rust-lang/rust/pulls?utf8=%E2%9C%93&q=is%3Aopen%20is%3Apr%20sort%3Aupdated-asc%20label%3AS-waiting-on-crater
140150

151+
### [S-blocked PRs][S-blocked]
152+
153+
PRs inactive for greater than 7 days need to be processed. These can
154+
be found by looking at the "updated X days ago" on GitHub's PR list.
155+
156+
Find the blocking issue from the triage comment and see if it has been
157+
resolved.
158+
159+
If it has been resolved, move it back to S-waiting-on-author or
160+
S-waiting-on-review as appropriate. Add a comment notifying the author
161+
or reviewer that the PR is now unblocked.
162+
163+
If it has not been resolved, remove and re-add the S-blocked tag. This
164+
resets the update time so the PR won't be reviewed for another week.
165+
141166
### [S-inactive-closed PRs]
142167

143168
These never need to be looked at. PRs which have been closed due inactivity. This is a terminal

0 commit comments

Comments
 (0)