]> git.lizzy.rs Git - rust.git/blob - triagebot.toml
wf correctly shallow_resolve consts
[rust.git] / triagebot.toml
1 [relabel]
2 allow-unauthenticated = [
3     "A-*",
4     "C-*",
5     "D-*",
6     "E-*",
7     "F-*",
8     "I-*",
9     "NLL-*",
10     "O-*",
11     "S-*",
12     "T-*",
13     "WG-*",
14     "needs-fcp",
15     "relnotes",
16     "requires-nightly",
17     "regression-*",
18     "perf-*",
19     "AsyncAwait-OnDeck",
20 ]
21
22 [assign]
23
24 [glacier]
25
26 [ping.icebreakers-llvm]
27 alias = ["llvm", "llvms"]
28 message = """\
29 Hey LLVM ICE-breakers! This bug has been identified as a good
30 "LLVM ICE-breaking candidate". In case it's useful, here are some
31 [instructions] for tackling these sorts of bugs. Maybe take a look?
32 Thanks! <3
33
34 [instructions]: https://rustc-dev-guide.rust-lang.org/notification-groups/llvm.html
35 """
36 label = "ICEBreaker-LLVM"
37
38 [ping.icebreakers-cleanup-crew]
39 alias = ["cleanup", "cleanups", "cleanup-crew", "shrink", "reduce", "bisect"]
40 message = """\
41 Hey Cleanup Crew ICE-breakers! This bug has been identified as a good
42 "Cleanup ICE-breaking candidate". In case it's useful, here are some
43 [instructions] for tackling these sorts of bugs. Maybe take a look?
44 Thanks! <3
45
46 [instructions]: https://rustc-dev-guide.rust-lang.org/notification-groups/cleanup-crew.html
47 """
48 label = "ICEBreaker-Cleanup-Crew"
49
50 [ping.windows]
51 message = """\
52 Hey Windows Group! This bug has been identified as a good "Windows candidate".
53 In case it's useful, here are some [instructions] for tackling these sorts of
54 bugs. Maybe take a look?
55 Thanks! <3
56
57 [instructions]: https://rustc-dev-guide.rust-lang.org/notification-groups/windows.html
58 """
59 label = "O-windows"
60
61 [ping.arm]
62 message = """\
63 Hey ARM Group! This bug has been identified as a good "ARM candidate".
64 In case it's useful, here are some [instructions] for tackling these sorts of
65 bugs. Maybe take a look?
66 Thanks! <3
67
68 [instructions]: https://rustc-dev-guide.rust-lang.org/notification-groups/arm.html
69 """
70 label = "O-ARM"
71
72 [ping.risc-v]
73 message = """\
74 Hey RISC-V Group! This bug has been identified as a good "RISC-V candidate".
75 In case it's useful, here are some [instructions] for tackling these sorts of
76 bugs. Maybe take a look?
77 Thanks! <3
78
79 [instructions]: https://rustc-dev-guide.rust-lang.org/notification-groups/risc-v.html
80 """
81 label = "O-riscv"
82
83 [ping.fuchsia]
84 message = """\
85 Hey friends of Fuchsia! This issue could use some guidance on how this should be
86 resolved/implemented on Fuchsia. Could one of you weigh in?
87 """
88 label = "O-fuchsia"
89
90 [ping.macos]
91 message = """\
92 Hey MacOS Group! This issue or PR could use some MacOS-specific guidance. Could one
93 of you weigh in? Thanks <3
94 """
95 label = "O-macos"
96
97 [prioritize]
98 label = "I-prioritize"
99
100 [autolabel."I-prioritize"]
101 trigger_labels = [
102     "regression-untriaged",
103     "regression-from-stable-to-stable",
104     "regression-from-stable-to-beta",
105     "regression-from-stable-to-nightly",
106     "I-unsound",
107 ]
108 exclude_labels = [
109     "P-*",
110     "T-infra",
111     "T-release",
112     "requires-nightly",
113 ]
114
115 [autolabel."T-rustdoc"]
116 trigger_files = [
117     # Source code
118     "src/librustdoc",
119     "src/tools/rustdoc",
120     "src/rustdoc-json-types",
121
122     # Tests
123     "src/test/rustdoc",
124     "src/test/rustdoc-ui",
125     "src/test/rustdoc-gui",
126     "src/test/rustdoc-js",
127     "src/test/rustdoc-js-std",
128     "src/test/rustdoc-json",
129
130     # Internal tooling
131     "src/etc/htmldocck.py",
132     "src/tools/jsondocck",
133     "src/tools/rustdoc-gui",
134     "src/tools/rustdoc-js",
135     "src/tools/rustdoc-themes",
136 ]
137 exclude_labels = [
138     "T-*",
139 ]
140
141 [autolabel."T-compiler"]
142 trigger_files = [
143     # Source code
144     "compiler",
145
146     # Tests
147     "src/test/ui",
148 ]
149 exclude_labels = [
150     "T-*",
151 ]
152
153 [autolabel."T-libs"]
154 trigger_files = [
155     "library/alloc",
156     "library/core",
157     "library/panic_abort",
158     "library/panic_unwind",
159     "library/std",
160     "library/stdarch",
161     "library/term",
162     "library/test",
163 ]
164 exclude_labels = [
165     "T-*",
166 ]
167
168 [autolabel."A-bootstrap"]
169 trigger_files = [
170     "x.py",
171     "src/bootstrap",
172     "src/tools/rust-installer",
173 ]
174
175 [autolabel."T-infra"]
176 trigger_files = [
177     "src/ci",
178     "src/tools/bump-stage0",
179 ]
180
181 [notify-zulip."I-prioritize"]
182 zulip_stream = 245100 # #t-compiler/wg-prioritization/alerts
183 topic = "#{number} {title}"
184 message_on_add = """\
185 @*WG-prioritization/alerts* issue #{number} has been requested for prioritization.
186
187 # [Procedure](https://forge.rust-lang.org/compiler/prioritization/procedure.html#assign-priority-to-unprioritized-issues-with-i-prioritize-label)
188 - Priority?
189 - Regression?
190 - Notify people/groups?
191 - Needs `I-nominated`?
192 """
193 message_on_remove = "Issue #{number}'s prioritization request has been removed."
194 message_on_close = "Issue #{number} has been closed while requested for prioritization."
195 message_on_reopen = "Issue #{number} has been reopened."
196
197 [notify-zulip."T-rustdoc"]
198 required_labels = ["I-nominated"]
199 zulip_stream = 266220 # #rustdoc
200 topic = "nominated: #{number}"
201 message_on_add = """\
202 @*T-rustdoc* issue #{number} "{title}" has been nominated for `T-rustdoc` discussion.
203 """
204 message_on_remove = "Issue #{number}'s nomination request has been removed."
205
206 [notify-zulip."I-types-nominated"]
207 zulip_stream = 326866 # #T-types/nominated
208 topic = "#{number}: {title}"
209 message_on_add = """\
210 @*T-types* issue #{number} "{title}" has been nominated for team discussion.
211 """
212 message_on_remove = "Issue #{number}'s nomination has been removed. Thanks all for participating!"
213 message_on_close = "Issue #{number} has been closed. Thanks for participating!"
214 message_on_reopen = "Issue #{number} has been reopened. Pinging @*T-types*."
215
216 [notify-zulip."A-edition-2021"]
217 required_labels = ["C-bug"]
218 zulip_stream = 268952 # #edition 2021
219 topic = "Edition Bugs"
220 message_on_add = """\
221 Issue #{number} "{title}" has been added.
222 """
223
224 [github-releases]
225 format = "rustc"
226 project-name = "Rust"
227 changelog-path = "RELEASES.md"
228 changelog-branch = "master"
229
230 [shortcut]
231
232
233 [mentions."compiler/rustc_apfloat"]
234 message = """
235 Changes rustc_apfloat. rustc_apfloat is currently in limbo and you almost \
236 certainly don't want to change it (see #55993).
237 """
238 cc = ["@eddyb"]
239
240 [mentions."compiler/rustc_codegen_cranelift"]
241 cc = ["@bjorn3"]
242
243 [mentions."compiler/rustc_codegen_gcc"]
244 cc = ["@antoyo"]
245
246 [mentions."compiler/rustc_const_eval/src/interpret"]
247 message = "Some changes occurred to the CTFE / Miri engine"
248 cc = ["@rust-lang/miri"]
249
250 [mentions."compiler/rustc_infer/src/infer/error_reporting/need_type_info.rs"]
251 message = "Some changes occurred in need_type_info.rs"
252 cc = ["@lcnr"]
253
254 [mentions."compiler/rustc_middle/src/mir/interpret"]
255 message = "Some changes occurred to the CTFE / Miri engine"
256 cc = ["@rust-lang/miri"]
257
258 [mentions."compiler/rustc_mir_transform/src/"]
259 message = "Some changes occurred to MIR optimizations"
260 cc = ["@rust-lang/wg-mir-opt"]
261
262 [mentions."compiler/rustc_trait_selection/src/traits/const_evaluatable.rs"]
263 message = "Some changes occurred in const_evaluatable.rs"
264 cc = ["@lcnr"]
265
266 [mentions."compiler/rustc_error_codes/src/error_codes.rs"]
267 message = "Some changes occurred in diagnostic error codes"
268 cc = ["@GuillaumeGomez"]
269
270 [mentions."library"]
271 message = """
272 Hey! It looks like you've submitted a new PR for the library teams!
273
274 If this PR contains changes to any `rust-lang/rust` public library APIs then \
275 please comment with `@rustbot label +T-libs-api -T-libs` to tag it \
276 appropriately. If this PR contains changes to any unstable APIs please edit \
277 the PR description to add a link to the relevant [API Change \
278 Proposal](https://std-dev-guide.rust-lang.org/feature-lifecycle/api-change-proposals.html) \
279 or [create one](https://github.com/rust-lang/libs-team/issues/new?assignees=&labels=api-change-proposal%2C+T-libs-api&template=api-change-proposal.md&title=%28My+API+Change+Proposal%29) \
280 if you haven't already. If you're unsure where your change falls no worries, \
281 just leave it as is and the reviewer will take a look and make a decision to \
282 forward on if necessary.
283
284 Examples of `T-libs-api` changes:
285
286 * Stabilizing library features
287 * Introducing insta-stable changes such as new implementations of existing \
288   stable traits on existing stable types
289 * Introducing new or changing existing unstable library APIs (excluding \
290   permanently unstable features / features without a tracking issue)
291 * Changing public documentation in ways that create new stability guarantees
292 * Changing observable runtime behavior of library APIs
293 """
294
295 [mentions."library/proc_macro/src/bridge"]
296 cc = ["@rust-lang/wg-rls-2"]
297
298 [mentions."src/librustdoc/clean/types.rs"]
299 cc = ["@camelid"]
300
301 [mentions."src/librustdoc/html/static"]
302 message = "Some changes occurred in HTML/CSS/JS."
303 cc = [
304     "@GuillaumeGomez",
305     "@Folyd",
306     "@jsha",
307 ]
308
309 [mentions."src/librustdoc/html/static/css/themes"]
310 message = "Some changes occurred in HTML/CSS themes."
311 cc = ["@GuillaumeGomez"]
312
313 [mentions."src/librustdoc/html/static/css/themes/ayu.css"]
314 message = "A change occurred in the Ayu theme."
315 cc = ["@Cldfire"]
316
317 [mentions."src/rustdoc-json-types"]
318 message = """
319 rustdoc-json-types is a **public** (although nightly-only) API. \
320 If possible, consider changing `src/librustdoc/json/conversions.rs`; \
321 otherwise, make sure you bump the `FORMAT_VERSION` constant.
322 """
323 cc = [
324     "@CraftSpider",
325     "@aDotInTheVoid",
326     "@Enselic",
327 ]
328
329 [mentions."src/tools/cargo"]
330 cc = ["@ehuss"]
331
332 [mentions."src/tools/clippy"]
333 cc = ["@rust-lang/clippy"]
334
335 [mentions."src/tools/miri"]
336 message = "The Miri submodule was changed"
337 cc = ["@rust-lang/miri"]
338
339 [mentions."src/tools/rustfmt"]
340 cc = ["@rust-lang/rustfmt"]
341
342 [mentions."compiler/rustc_middle/src/mir/syntax.rs"]
343 message = "This PR changes MIR"
344 cc = ["@oli-obk", "@RalfJung", "@JakobDegen", "@davidtwco", "@celinval", "@vakaras"]