You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
* Organize better the prioritization procedure structure
* General issues review process
* Add links to issues and actions needed to follow
* Reorganize the document and other general tweaks
Copy file name to clipboardExpand all lines: src/compiler/prioritization/procedure.md
+87-86Lines changed: 87 additions & 86 deletions
Original file line number
Diff line number
Diff line change
@@ -3,6 +3,18 @@
3
3
This document details the procedure the WG-prioritization follows to fill the agenda for the weekly meeting of `T-compiler`.
4
4
The working group focuses mainly on triaging `T-compiler` and `libs-impl` bugs, deciding if bugs are critical (potential release blockers) or not and building the agenda for the most important things `T-compiler` needs to discuss.
5
5
6
+
## General issues review process
7
+
8
+
- Check the status of the issue
9
+
- Try moving it forward if possible (ex. stimulate further comments from the issue author or a reviewer)
10
+
- Ask for more info if it's needed
11
+
- Is there an MCVE for the issue already?
12
+
- Check if it's a regression and label it accordingly (`regression-*` labels)
13
+
- Figure out the area the issue belongs and label it accordingly (`A-*` labels)
14
+
-[Ping notify groups](https://rustc-dev-guide.rust-lang.org/notification-groups/about.html) or relevant teams
15
+
- Assign if possible
16
+
- Nominate the issue if it needs to be discussed
17
+
6
18
## The procedure in detail
7
19
8
20
High level overview:
@@ -15,15 +27,15 @@ High level overview:
15
27
- Add `T-compiler` and `libs-impl` to unlabelled T-compiler and libs-impl issues
16
28
- Assign priority to unprioritized issues with "I-prioritize" label
17
29
- Assign priority to regressions without a `P-*` label
18
-
- Summarize stable/beta nominations
19
-
- Summarize PR's waiting on team
20
-
- Summarize `P-critical` and unassigned `P-high` regressions
21
-
- Summarize I-nominated issues
22
30
- Process MCPs/FCPs
23
31
-[Generate Agenda](#Generate-Agenda)
24
32
- Run cli to generate agenda
25
33
- Fill agenda announcements
26
34
- Add performance logs
35
+
- Summarize stable/beta nominations
36
+
- Summarize PR's waiting on team
37
+
- Summarize `P-critical` and unassigned `P-high` regressions
38
+
- Summarize I-nominated issues
27
39
-[Notify the team about the meeting](#Notify-the-team-about-the-meeting)
28
40
- Figure out which WGs need to check-in
29
41
- Notify @T-compiler/meeting about the meeting on Zulip
@@ -33,28 +45,16 @@ High level overview:
33
45
- Nominate issues
34
46
- Re-sync and check the agenda right before the meeting
35
47
36
-
##General review process
48
+
### Follow ups from previous meeting
37
49
38
-
- Check the status of the issue
39
-
- Try moving it forward if possible (ex. stimulate further comments from the issue author or a reviewer)
40
-
- Ask for more info if it's needed
41
-
- Is there an MCVE for the issue already?
42
-
- Check if it's a regression and label it accordingly (`regression-*` labels)
43
-
- Figure out the area the issue belongs and label it accordingly (`A-*` labels)
44
-
-[Ping notify groups](https://rustc-dev-guide.rust-lang.org/notification-groups/about.html) or relevant teams
45
-
- Assign if possible
46
-
- Nominate the issue if it needs to be discussed
47
-
48
-
## Follow ups from previous meeting
49
-
50
-
- Remove `I-nominated` tags of already discussed issues
51
-
- Notify @pnkfelix about accepted `beta-nominated` and `stable-nominated` without `beta-accepted` and `stable-accepted` label
52
-
- Notify @pnkfelix about rejected `beta-nominated` and `stable-nominated` still with the nominated label
53
-
- Create an empty agenda using our template, as soon as our Thursday's weekly meeting ends
50
+
- Remove [`I-nominated`](https://github.com/rust-lang/rust/labels/I-nominated) tags of already discussed issues. For that check previous week agenda and Zulip meeting
51
+
- Notify [@pnkfelix](https://rust-lang.zulipchat.com/#narrow/pm-with/116083-user116083) about accepted [`beta nominated`](https://github.com/rust-lang/rust/issues?q=is%3Aall+label%3Abeta-nominated+-label%3Abeta-accepted) and [`stable nominated`](https://github.com/rust-lang/rust/issues?q=is%3Aall+label%3Astable-nominated+-label%3Astable-accepted) without `beta-accepted` and `stable-accepted` label
52
+
- Notify @pnkfelix about rejected [`beta nominated`](https://github.com/rust-lang/rust/issues?q=is%3Aall+label%3Abeta-nominated+-label%3Abeta-accepted) and [`stable nominated`](https://github.com/rust-lang/rust/issues?q=is%3Aall+label%3Astable-nominated+-label%3Astable-accepted) still with the nominated label
53
+
- Create an empty agenda using [our template](https://hackmd.io/WQW0yzDDS16YvtBNurmj6A), as soon as our Thursday's weekly meeting ends
54
54
55
-
## Prepare agenda content
55
+
###Prepare agenda content
56
56
57
-
### Add `T-compiler` and `libs-impl` labels
57
+
####Add `T-compiler` and `libs-impl` labels
58
58
59
59
Add `T-compiler` and `libs-impl` labels to corresponding issues that are missing these labels.
60
60
@@ -64,26 +64,67 @@ Add `T-compiler` and `libs-impl` labels to corresponding issues that are missing
-[All PR's waiting on team](https://github.com/rust-lang/rust/labels/S-waiting-on-team)
66
66
67
-
### Assign priority to unprioritized issues with "I-prioritize" label
67
+
####Assign priority to unprioritized issues with "I-prioritize" label
68
68
69
-
We need all `I-prioritize` issues for `T-compiler` and `libs-impl` to be actually prioritized. To do so, we add one of the `P-critical`, `P-high`, `P-medium` or `P-low` labels and remove `I-prioritize` and also add a text such as:
69
+
We need all [`I-prioritizeT-compiler`](https://github.com/rust-lang/rust/issues?q=is%3Aopen+is%3Aissue+label%3AT-compiler+-label%3AP-critical+-label%3AP-high+-label%3AP-medium+-label%3AP-low+label%3AI-prioritize) and all [`I-prioritize libs-impl`](https://github.com/rust-lang/rust/issues?q=is%3Aopen+is%3Aissue+label%3Alibs-impl+-label%3AP-critical+-label%3AP-high+-label%3AP-medium+-label%3AP-low+label%3AI-prioritize) to be actually prioritized. To do so, we add one of the `P-critical`, `P-high`, `P-medium` or `P-low` labels and remove `I-prioritize` and also add a text such as:
70
70
71
71
> Assigning `P-XXX` as [discussed as part of the Prioritization Working Group procedure](link_to_zulip_conversation) and removing `I-prioritize`.
72
72
73
-
The procedure here follows the [General review process](#General-review-process).
73
+
The procedure here follows the [General issues review process](#General-issues-review-process).
74
74
75
75
Note: triagebot automatically creates a topic and notify @*WG-prioritization* members once an issue is labelled with `I-prioritize`
76
76
Note #2: These lists should typically be empty when we are close to the meeting.
77
77
78
-
### Assign priority to regressions without a P-label
78
+
####Assign priority to regressions without a P-label
79
79
80
-
We should not have unprioritized regressions and ideally regressions should have an assignee.
80
+
We should not have unprioritized regressions ([stable](https://github.com/rust-lang/rust/issues?q=is%3Aopen+label%3Aregression-from-stable-to-stable+-label%3AP-critical+-label%3AP-high+-label%3AP-medium+-label%3AP-low+-label%3AT-infra+-label%3AT-libs+-label%3AT-release+-label%3AT-rustdoc), [beta](https://github.com/rust-lang/rust/issues?q=is%3Aopen+label%3Aregression-from-stable-to-beta+-label%3AP-critical+-label%3AP-high+-label%3AP-medium+-label%3AP-low+-label%3AT-infra+-label%3AT-libs+-label%3AT-release+-label%3AT-rustdoc) and [nightly](https://github.com/rust-lang/rust/issues?q=is%3Aopen+label%3Aregression-from-stable-to-nightly+-label%3AP-critical+-label%3AP-high+-label%3AP-medium+-label%3AP-low+-label%3AT-infra+-label%3AT-libs+-label%3AT-release+-label%3AT-rustdoc)) and ideally regressions should have an assignee.
81
81
82
-
The procedure here follows the [General review process](#General-review-process).
82
+
The procedure here follows the [General issues review process](#General-issues-review-process).
83
83
84
84
Note: triagebot automatically adds `I-prioritize` to all regression issues and creates a topic and notify @*WG-prioritization* members requesting prioritization.
85
85
86
-
### Summarize stable/beta nominations
86
+
#### Accept MCPs
87
+
88
+
Accept all [MCPs that have been on `final-comment-period`](https://github.com/rust-lang/compiler-team/issues?q=is%3Aissue+is%3Aopen+label%3Amajor-change+label%3Afinal-comment-period) for 10 or more days. Basically check that `final-comment-period` label was added more than 10 days ago.
89
+
To accept, remove `final-comment-period`, add `major-change-accepted` and close the issue.
90
+
91
+
### Generate Agenda
92
+
93
+
#### Run cli to generate agenda
94
+
95
+
Run triagebot's prioritization cli to generate the agenda.
96
+
For that you need to clone https://github.com/rust-lang/triagebot if you haven't done so already.
97
+
You need to export your `GITHUB_API_TOKEN` on Linux that's typically done by adding
98
+
99
+
`export GITHUB_API_TOKEN=<your key>`
100
+
101
+
to your `~/.profile` file.
102
+
103
+
And then run:
104
+
105
+
```
106
+
$ cargo run --bin prioritization
107
+
```
108
+
109
+
Copy the content of the generated agenda into the agenda on HackMD.
110
+
111
+
#### Remove `to-announce` from MCPs/FCPs
112
+
113
+
As a quick reminder:
114
+
115
+
MCP = Major Change Proposal
116
+
FCP = Final Comment Period
117
+
118
+
Remove all [`to-announce` MCPs](https://github.com/rust-lang/compiler-team/issues?q=is%3Aissue+is%3Aall+label%3Amajor-change+label%3Ato-announce) as they were already added in the agenda in their corresponding place.
119
+
120
+
FIXME: We need to add `to-announce` also to FCPs and here we would need to also remove the [FCPs `to-announce`](https://github.com/rust-lang/rust/issues?q=is%3Aissue+is%3Aall+label%3Afinished-final-comment-period+label%3Ato-announce).
121
+
For now fix announcements output manually. Remove the nonsense no fcps kind of lines when there's content and remove old Finalized FCPs.
122
+
123
+
#### Fill agenda announcements
124
+
125
+
Check the compiler calendar to see if there's an outstanding event to announce and add it to the agenda.
126
+
127
+
#### Summarize stable/beta nominations
87
128
88
129
- Add them to the agenda explaining:
89
130
- Why was it nominated
@@ -92,11 +133,11 @@ Note: triagebot automatically adds `I-prioritize` to all regression issues and c
92
133
93
134
Note: triagebot automatically creates a topic and notify @*WG-prioritization* members requesting addition to the agenda.
94
135
95
-
### Summarize PR's waiting on team
136
+
####Summarize PR's waiting on team
96
137
97
138
These are PRs waiting for some decision by our team (`T-compiler` or `libs-impl`).
98
139
99
-
The procedure here should try following the [General review process](#General-review-process).
140
+
Try to follow the [General issues review process](#General-issues-review-process).
100
141
101
142
We should:
102
143
@@ -107,9 +148,9 @@ We should:
107
148
108
149
Note: triagebot automatically creates a topic and notify @*WG-prioritization* members requesting addition to the agenda.
109
150
110
-
### Summarize `P-critical` and unassigned `P-high` regressions
151
+
####Summarize `P-critical` and unassigned `P-high` regressions
111
152
112
-
The procedure here should try following the [General review process](#General-review-process).
153
+
Try to follow the [General issues review process](#General-issues-review-process).
113
154
114
155
We should:
115
156
@@ -119,11 +160,11 @@ We should:
119
160
120
161
Note: triagebot automatically creates a topic and notify @*WG-prioritization* members requesting addition to the agenda.
121
162
122
-
### Summarize I-nominated issues
163
+
####Summarize I-nominated issues
123
164
124
165
Issues labeled with `I-nominated` are important issues that we decide deserve discussion during the weekly meeting.
125
166
126
-
The procedure here should try following the [General review process](#General-review-process).
167
+
Try to follow the [General issues review process](#General-issues-review-process).
127
168
128
169
We should:
129
170
@@ -137,82 +178,42 @@ We should:
137
178
138
179
Note: triagebot automatically creates a topic and notify @*WG-prioritization* members requesting addition to the agenda.
139
180
140
-
### Accept MCPs
141
-
142
-
Accept all [MCPs that have been on `final-comment-period`](https://github.com/rust-lang/compiler-team/issues?q=is%3Aissue+is%3Aopen+label%3Amajor-change) for 10 or more days. Basically check that `final-comment-period` label was added more than 10 days ago.
143
-
To accept, remove `final-comment-period`, add `major-change-accepted` and close the issue.
144
-
145
-
## Generate Agenda
181
+
#### Add performance logs
146
182
147
-
### Run cli to generate agenda
183
+
Add [Triage Logs](https://github.com/rust-lang/rustc-perf/tree/master/triage#triage-logs) to the agenda.
148
184
149
-
Run triagebot's prioritization cli to generate the agenda.
150
-
For that you need to clone https://github.com/rust-lang/triagebot if you haven't done so already.
151
-
You need to export your `GITHUB_API_TOKEN` on Linux that's typically done by adding
152
-
153
-
`export GITHUB_API_TOKEN=<your key>`
154
-
155
-
to your `~/.profile` file.
156
-
157
-
And then run:
158
-
159
-
```
160
-
$ cargo run --bin prioritization
161
-
```
162
-
163
-
### Remove `to-announce` from MCPs/FCPs
164
-
165
-
As a quick reminder:
166
-
167
-
MCP = Major Change Proposal
168
-
FCP = Final Comment Period
169
-
170
-
Remove all [`to-announce` MCPs](https://github.com/rust-lang/compiler-team/issues?q=is%3Aissue+is%3Aall+label%3Amajor-change+label%3Ato-announce) as they were already added in the agenda in their corresponding place.
171
-
172
-
FIXME: We need to add `to-announce` also to FCPs and here we would need to also remove the [FCPs `to-announce`](https://github.com/rust-lang/rust/issues?q=is%3Aissue+is%3Aall+label%3Afinished-final-comment-period+label%3Ato-announce)
173
-
174
-
### Fill agenda announcements
175
-
176
-
Check the compiler calendar to see if there's an outstanding event to announce and add it to the agenda.
0 commit comments