Skip to content

Commit ca9921a

Browse files
committed
Introduce S-blocked-closed, deduplicate some links
1 parent 86997a5 commit ca9921a

File tree

1 file changed

+26
-23
lines changed

1 file changed

+26
-23
lines changed

triage-procedure.md

Lines changed: 26 additions & 23 deletions
Original file line numberDiff line numberDiff line change
@@ -16,7 +16,8 @@ title: Triage Procedure
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
1818
- [S-waiting-on-bikeshed] - Waiting on the consensus over a minor detail
19-
- [S-blocked] - Waiting for another PR to be merged
19+
- [S-blocked] - Waiting for another PR to be merged or for discussion to be resolved
20+
- [S-blocked-closed] - Closed because resolving the block is expected to take a long time
2021
- [S-inactive-closed] - Closed due to inactivity.
2122

2223
[S-waiting-on-author]: https://github.com/rust-lang/rust/pulls?q=is%3Aopen+is%3Apr+sort%3Aupdated-asc+label%3AS-waiting-on-author
@@ -26,10 +27,13 @@ title: Triage Procedure
2627
[S-waiting-on-crater]: https://github.com/rust-lang/rust/pulls?q=is%3Aopen+is%3Apr+label%3AS-waiting-on-crater+sort%3Aupdated-asc
2728
[S-waiting-on-bikeshed]: https://github.com/rust-lang/rust/pulls?q=is%3Aopen+is%3Apr+label%3AS-waiting-on-bikeshed+sort%3Aupdated-asc
2829
[S-blocked]: https://github.com/rust-lang/rust/pulls?q=is%3Aopen+is%3Apr+label%3AS-blocked+sort%3Aupdated-asc
29-
[S-inactive-closed]: https://github.com/rust-lang/rust/pulls?q=is%3Aopen+is%3Apr+label%3AS-inactive-closed+sort%3Aupdated-asc
30+
[S-blocked-closed]: https://github.com/rust-lang/rust/pulls?q=is%3Apr+label%3AS-blocked-closed+sort%3Aupdated-asc
31+
[S-inactive-closed]: https://github.com/rust-lang/rust/pulls?q=is%3Apr+label%3AS-inactive-closed+sort%3Aupdated-asc
3032

3133
## Procedure:
3234

35+
*Note:* When you are pinging people in triage comments, you should mention that you are doing triage in the comment you post. For example, start your comments with something like "Ping from triage ..."."
36+
3337
### [Unlabeled PRs]
3438

3539
All unlabeled PRs should be processed. The steps below are not mutually exclusive, any number of
@@ -48,7 +52,7 @@ At this point, all PRs must have a tag applied.
4852

4953
[Unlabeled PRs]: https://github.com/rust-lang/rust/pulls?utf8=%E2%9C%93&q=is%3Aopen%20is%3Apr%20sort%3Aupdated-asc%20-label%3AS-waiting-on-author%20-label%3AS-waiting-on-team%20-label%3AS-waiting-on-bors%20-label%3AS-waiting-on-crater%20-label%3AS-waiting-on-team%20-label%3AS-waiting-on-review%20-label%3AS-blocked%20-label%3AS-waiting-on-bikeshed
5054

51-
### [S-waiting-on-author PRs]
55+
### [S-waiting-on-author PRs][S-waiting-on-author]
5256

5357
PRs with greater than 3 days of inactivity need to be processed. These can be found by looking at
5458
the "updated X days ago" on GitHub's PR list.
@@ -68,13 +72,10 @@ author for the changes. Also tag the PR with S-inactive-closed.
6872
you can 'bump' the PR by removing and readding the tag (note that removing/readding requires
6973
clicking off the tag selection dropdown between the two actions).
7074

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-
75-
[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
75+
If the PR is blocked on another PR, issue, or some kind of discussion, add a comment clearly identifying what is blocking the PR (something like "This PR appears to be blocked on
76+
#12345") and change the state to S-blocked. Follow the instruction for S-blocked to determine whether you should also close the PR.
7677

77-
### [S-waiting-on-review PRs]
78+
### [S-waiting-on-review PRs][S-waiting-on-review]
7879

7980
PRs with greater than 3 days of inactivity need to be processed. These can be found by looking at
8081
the "updated X days ago" on GitHub's PR list.
@@ -101,9 +102,7 @@ If the PR is blocked on another PR, add a comment clearly identifying
101102
the blocking PR (something like "This PR appears to be blocked on
102103
#12345") and change the state to S-blocked.
103104

104-
[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
105-
106-
### [S-waiting-on-team PRs]
105+
### [S-waiting-on-team PRs][S-waiting-on-team]
107106

108107
PRs active within the last 4 days or inactive for greater than 2 weeks need to be processed.
109108
These can be found by looking at the "updated X days ago" on GitHub's PR list.
@@ -118,16 +117,12 @@ noting that you've pinged on IRC.
118117
If there has been recent activity, the team might have taken some action meaning the state has
119118
changed but the label has not yet been updated. Therefore, we also check the most recent ones.
120119

121-
[S-waiting-on-team PRs]: https://github.com/rust-lang/rust/pulls?q=is%3Aopen+is%3Apr+label%3AS-waiting-on-team+sort%3Aupdated-desc
122-
123-
### [S-waiting-on-bors PRs]
120+
### [S-waiting-on-bors PRs][S-waiting-on-bors]
124121

125122
All PRs should be processed. First, ensure that the status tag matches the current state of the PR.
126123
Change the tag if necessary, and apply the procedure for the new tag now.
127124

128-
[S-waiting-on-bors PRs]: https://github.com/rust-lang/rust/pulls?q=is%3Aopen+is%3Apr+label%3AS-waiting-on-bors+sort%3Aupdated-asc
129-
130-
### [S-waiting-on-crater PRs]
125+
### [S-waiting-on-crater PRs][S-waiting-on-crater]
131126

132127
All PRs should be processed.
133128

@@ -148,8 +143,6 @@ the last three distinct listed people on the spreadsheet in the infra irc channe
148143
If crater has been started (the person starting should leave a comment) and it has
149144
been more than 5 days since an update, ping the person starting the run on IRC and GitHub.
150145

151-
[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
152-
153146
### [S-waiting-on-bikeshed][S-waiting-on-bikeshed]
154147

155148
PRs inactive for greater than 7 days need to be processed. These can
@@ -166,6 +159,14 @@ This resets the update time so the PR won't be reviewed for another week.
166159

167160
### [S-blocked PRs][S-blocked]
168161

162+
Blocked PRs can remain blocked for a long time. To avoid needlessly re-triaging them, they should be closed if the blocking issue is unlikely to be resolved soon. If you close a blocked PR, apply the S-blocked-closed label and invite the author to re-open the PR once the issue has been resolved. If you feel uncomfortable just closing the PR, feel free to link to this document. As a rule of thumb, consider these guidelines:
163+
164+
* PRs blocked on discussion (such as RFCs or WG decisions) should be closed immediately, since those discussions generally take a long time.
165+
* PRs blocked on other PRs can be left open, unless the blocking PR doesn't look like it's going to be merged soon.
166+
* PRs which have already been blocked for two weeks should generally be closed, unless there is a clear indication that they will be unblocked soon.
167+
168+
Blocked PRs which have not been closed should be triaged as follows:
169+
169170
PRs inactive for greater than 7 days need to be processed. These can
170171
be found by looking at the "updated X days ago" on GitHub's PR list.
171172

@@ -179,13 +180,15 @@ or reviewer that the PR is now unblocked.
179180
If it has not been resolved, remove and re-add the S-blocked tag. This
180181
resets the update time so the PR won't be reviewed for another week.
181182

182-
### [S-inactive-closed PRs]
183+
### [S-blocked-closed PRs][S-blocked-closed]
184+
185+
These never need to be looked at, although if you want you can go through the PRs and see if any have been unblocked. This label is for PRs which are blocked and have been closed because it is unlikely that the blocking issue will be resolved soon.
186+
187+
### [S-inactive-closed PRs][S-inactive-closed]
183188

184189
These never need to be looked at. PRs which have been closed due inactivity. This is a terminal
185190
state for the time being, primarily oriented towards easing future work.
186191

187-
[S-inactive-closed PRs]: https://github.com/rust-lang/rust/pulls?utf8=%E2%9C%93&q=is%3Aopen%20is%3Apr%20sort%3Aupdated-asc%20label%3AS-inactive-closed
188-
189192
# Issue triage
190193

191194
Issue triage is mostly much simpler. After finishing PR triage, go to the [list of untagged issues]

0 commit comments

Comments
 (0)