]> git.lizzy.rs Git - rust.git/blob - triagebot.toml
Use `Mode` less.
[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     "const-hack",
15     "needs-fcp",
16     "relnotes",
17     "requires-nightly",
18     "regression-*",
19     "perf-*",
20     "AsyncAwait-OnDeck",
21 ]
22
23 [glacier]
24
25 [ping.icebreakers-llvm]
26 alias = ["llvm", "llvms"]
27 message = """\
28 Hey LLVM ICE-breakers! This bug has been identified as a good
29 "LLVM ICE-breaking candidate". In case it's useful, here are some
30 [instructions] for tackling these sorts of bugs. Maybe take a look?
31 Thanks! <3
32
33 [instructions]: https://rustc-dev-guide.rust-lang.org/notification-groups/llvm.html
34 """
35 label = "ICEBreaker-LLVM"
36
37 [ping.icebreakers-cleanup-crew]
38 alias = ["cleanup", "cleanups", "cleanup-crew", "shrink", "reduce", "bisect"]
39 message = """\
40 Hey Cleanup Crew ICE-breakers! This bug has been identified as a good
41 "Cleanup ICE-breaking candidate". In case it's useful, here are some
42 [instructions] for tackling these sorts of bugs. Maybe take a look?
43 Thanks! <3
44
45 [instructions]: https://rustc-dev-guide.rust-lang.org/notification-groups/cleanup-crew.html
46 """
47 label = "ICEBreaker-Cleanup-Crew"
48
49 [ping.windows]
50 message = """\
51 Hey Windows Group! This bug has been identified as a good "Windows candidate".
52 In case it's useful, here are some [instructions] for tackling these sorts of
53 bugs. Maybe take a look?
54 Thanks! <3
55
56 [instructions]: https://rustc-dev-guide.rust-lang.org/notification-groups/windows.html
57 """
58 label = "O-windows"
59
60 [ping.arm]
61 message = """\
62 Hey ARM Group! This bug has been identified as a good "ARM candidate".
63 In case it's useful, here are some [instructions] for tackling these sorts of
64 bugs. Maybe take a look?
65 Thanks! <3
66
67 [instructions]: https://rustc-dev-guide.rust-lang.org/notification-groups/arm.html
68 """
69 label = "O-ARM"
70
71 [ping.risc-v]
72 message = """\
73 Hey RISC-V Group! This bug has been identified as a good "RISC-V candidate".
74 In case it's useful, here are some [instructions] for tackling these sorts of
75 bugs. Maybe take a look?
76 Thanks! <3
77
78 [instructions]: https://rustc-dev-guide.rust-lang.org/notification-groups/risc-v.html
79 """
80 label = "O-riscv"
81
82 [ping.fuchsia]
83 message = """\
84 Hey friends of Fuchsia! This issue could use some guidance on how this should be
85 resolved/implemented on Fuchsia. Could one of you weigh in?
86 """
87 label = "O-fuchsia"
88
89 [ping.macos]
90 message = """\
91 Hey MacOS Group! This issue or PR could use some MacOS-specific guidance. Could one
92 of you weigh in? Thanks <3
93 """
94 label = "O-macos"
95
96 [prioritize]
97 label = "I-prioritize"
98
99 [autolabel."I-prioritize"]
100 trigger_labels = [
101     "regression-untriaged",
102     "regression-from-stable-to-stable",
103     "regression-from-stable-to-beta",
104     "regression-from-stable-to-nightly",
105     "I-unsound",
106 ]
107 exclude_labels = [
108     "P-*",
109     "T-infra",
110     "T-release",
111     "requires-nightly",
112 ]
113
114 [autolabel."T-rustdoc"]
115 trigger_files = [
116     # Source code
117     "src/librustdoc",
118     "src/tools/rustdoc",
119     "src/rustdoc-json-types",
120
121     # Tests
122     "src/test/rustdoc",
123     "src/test/rustdoc-ui",
124     "src/test/rustdoc-gui",
125     "src/test/rustdoc-js",
126     "src/test/rustdoc-js-std",
127     "src/test/rustdoc-json",
128
129     # Internal tooling
130     "src/etc/htmldocck.py",
131     "src/tools/jsondocck",
132     "src/tools/jsondoclint",
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."A-rustdoc-json"]
142 trigger_files = [
143     "src/librustdoc/json/",
144     "src/rustdoc-json-types",
145     "src/test/rustdoc-json",
146     "src/tools/jsondocck",
147     "src/tools/jsondoclint",
148 ]
149
150 [autolabel."T-compiler"]
151 trigger_files = [
152     # Source code
153     "compiler",
154
155     # Tests
156     "src/test/ui",
157 ]
158 exclude_labels = [
159     "T-*",
160 ]
161
162 [autolabel."T-libs"]
163 trigger_files = [
164     "library/alloc",
165     "library/core",
166     "library/panic_abort",
167     "library/panic_unwind",
168     "library/std",
169     "library/stdarch",
170     "library/term",
171     "library/test",
172 ]
173 exclude_labels = [
174     "T-*",
175 ]
176
177 [autolabel."A-bootstrap"]
178 trigger_files = [
179     "x.py",
180     "x",
181     "x.ps1",
182     "src/bootstrap",
183     "src/tools/rust-installer",
184     "configure",
185     "Cargo.toml",
186     "Cargo.lock",
187     "config.toml.example",
188     "src/stage0.json"
189 ]
190
191 [autolabel."T-infra"]
192 trigger_files = [
193     "src/ci",
194     "src/tools/bump-stage0",
195 ]
196
197 [autolabel."T-style"]
198 trigger_files = [
199     "src/doc/style-guide",
200 ]
201
202 [autolabel."A-translation"]
203 trigger_files = [
204     "compiler/rustc_error_messages",
205     "compiler/rustc_errors/src/translation.rs",
206     "compiler/rustc_macros/src/diagnostics"
207 ]
208
209 [autolabel."A-query-system"]
210 trigger_files = [
211     "compiler/rustc_query_system",
212     "compiler/rustc_query_impl",
213     "compiler/rustc_macros/src/query.rs"
214 ]
215
216 [autolabel."A-testsuite"]
217 trigger_files = [
218     "src/ci",
219     "src/tools/compiletest",
220     "src/tools/cargotest",
221     "src/tools/tidy",
222     "src/tools/remote-test-server",
223     "src/tools/remote-test-client",
224     "src/tools/tier-check"
225 ]
226
227 [autolabel."A-meta"]
228 trigger_files = [
229     "triagebot.toml",
230     "rustfmt.toml",
231     "LICENSES",
232     "README.md",
233     "CONTRIBUTING.md",
234     ".reuse",
235     ".mailmap",
236     ".git-blame-ignore-revs",
237     ".editorconfig"
238 ]
239
240 [autolabel."T-release"]
241 trigger_files = [
242     "RELEASES.md",
243     "src/stage0.json",
244     "src/version"
245 ]
246
247 [autolabel."S-waiting-on-review"]
248 new_pr = true
249
250 [notify-zulip."I-prioritize"]
251 zulip_stream = 245100 # #t-compiler/wg-prioritization/alerts
252 topic = "#{number} {title}"
253 message_on_add = """\
254 @*WG-prioritization/alerts* issue #{number} has been requested for prioritization.
255
256 # [Procedure](https://forge.rust-lang.org/compiler/prioritization/procedure.html#assign-priority-to-unprioritized-issues-with-i-prioritize-label)
257 - Priority?
258 - Regression?
259 - Notify people/groups?
260 - Needs `I-nominated`?
261 """
262 message_on_remove = "Issue #{number}'s prioritization request has been removed."
263 message_on_close = "Issue #{number} has been closed while requested for prioritization."
264 message_on_reopen = "Issue #{number} has been reopened."
265
266 [notify-zulip."T-rustdoc"]
267 required_labels = ["I-nominated"]
268 zulip_stream = 266220 # #rustdoc
269 topic = "nominated: #{number}"
270 message_on_add = """\
271 @*T-rustdoc* issue #{number} "{title}" has been nominated for `T-rustdoc` discussion.
272 """
273 message_on_remove = "Issue #{number}'s nomination request has been removed."
274
275 [notify-zulip."I-types-nominated"]
276 zulip_stream = 326866 # #T-types/nominated
277 topic = "#{number}: {title}"
278 message_on_add = """\
279 @*T-types* issue #{number} "{title}" has been nominated for team discussion.
280 """
281 message_on_remove = "Issue #{number}'s nomination has been removed. Thanks all for participating!"
282 message_on_close = "Issue #{number} has been closed. Thanks for participating!"
283 message_on_reopen = "Issue #{number} has been reopened. Pinging @*T-types*."
284
285 [notify-zulip."A-edition-2021"]
286 required_labels = ["C-bug"]
287 zulip_stream = 268952 # #edition 2021
288 topic = "Edition Bugs"
289 message_on_add = """\
290 Issue #{number} "{title}" has been added.
291 """
292
293 [github-releases]
294 format = "rustc"
295 project-name = "Rust"
296 changelog-path = "RELEASES.md"
297 changelog-branch = "master"
298
299 [shortcut]
300
301
302 [mentions."compiler/rustc_apfloat"]
303 message = """
304 Changes rustc_apfloat. rustc_apfloat is currently in limbo and you almost \
305 certainly don't want to change it (see #55993).
306 """
307 cc = ["@eddyb"]
308
309 [mentions."compiler/rustc_codegen_cranelift"]
310 cc = ["@bjorn3"]
311
312 [mentions."compiler/rustc_codegen_gcc"]
313 cc = ["@antoyo"]
314
315 [mentions."compiler/rustc_const_eval/src/interpret"]
316 message = "Some changes occurred to the CTFE / Miri engine"
317 cc = ["@rust-lang/miri"]
318
319 [mentions."compiler/rustc_infer/src/infer/error_reporting/need_type_info.rs"]
320 message = "Some changes occurred in need_type_info.rs"
321 cc = ["@lcnr"]
322
323 [mentions."compiler/rustc_middle/src/mir/interpret"]
324 message = "Some changes occurred to the CTFE / Miri engine"
325 cc = ["@rust-lang/miri"]
326
327 [mentions."compiler/rustc_mir_transform/src/"]
328 message = "Some changes occurred to MIR optimizations"
329 cc = ["@rust-lang/wg-mir-opt"]
330
331 [mentions."compiler/rustc_trait_selection/src/traits/const_evaluatable.rs"]
332 message = "Some changes occurred in const_evaluatable.rs"
333 cc = ["@lcnr"]
334
335 [mentions."compiler/rustc_error_codes/src/error_codes.rs"]
336 message = "Some changes occurred in diagnostic error codes"
337 cc = ["@GuillaumeGomez"]
338
339 [mentions."library"]
340 message = """
341 Hey! It looks like you've submitted a new PR for the library teams!
342
343 If this PR contains changes to any `rust-lang/rust` public library APIs then \
344 please comment with `@rustbot label +T-libs-api -T-libs` to tag it \
345 appropriately. If this PR contains changes to any unstable APIs please edit \
346 the PR description to add a link to the relevant [API Change \
347 Proposal](https://std-dev-guide.rust-lang.org/feature-lifecycle/api-change-proposals.html) \
348 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) \
349 if you haven't already. If you're unsure where your change falls no worries, \
350 just leave it as is and the reviewer will take a look and make a decision to \
351 forward on if necessary.
352
353 Examples of `T-libs-api` changes:
354
355 * Stabilizing library features
356 * Introducing insta-stable changes such as new implementations of existing \
357   stable traits on existing stable types
358 * Introducing new or changing existing unstable library APIs (excluding \
359   permanently unstable features / features without a tracking issue)
360 * Changing public documentation in ways that create new stability guarantees
361 * Changing observable runtime behavior of library APIs
362 """
363
364 [mentions."src/librustdoc/clean/types.rs"]
365 cc = ["@camelid"]
366
367 [mentions."src/librustdoc/html/static"]
368 message = "Some changes occurred in HTML/CSS/JS."
369 cc = [
370     "@GuillaumeGomez",
371     "@Folyd",
372     "@jsha",
373 ]
374
375 [mentions."src/librustdoc/html/static/css/themes"]
376 message = "Some changes occurred in HTML/CSS themes."
377 cc = ["@GuillaumeGomez"]
378
379 [mentions."src/librustdoc/html/static/css/themes/ayu.css"]
380 message = "A change occurred in the Ayu theme."
381 cc = ["@Cldfire"]
382
383 [mentions."src/rustdoc-json-types"]
384 message = """
385 rustdoc-json-types is a **public** (although nightly-only) API. \
386 If possible, consider changing `src/librustdoc/json/conversions.rs`; \
387 otherwise, make sure you bump the `FORMAT_VERSION` constant.
388 """
389 cc = [
390     "@CraftSpider",
391     "@aDotInTheVoid",
392     "@Enselic",
393     "@obi1kenobi",
394 ]
395
396 [mentions."src/tools/cargo"]
397 cc = ["@ehuss"]
398
399 [mentions."src/tools/clippy"]
400 cc = ["@rust-lang/clippy"]
401
402 [mentions."src/tools/miri"]
403 message = "The Miri subtree was changed"
404 cc = ["@rust-lang/miri"]
405
406 [mentions."src/tools/rustfmt"]
407 cc = ["@rust-lang/rustfmt"]
408
409 [mentions."compiler/rustc_middle/src/mir/syntax.rs"]
410 message = "This PR changes MIR"
411 cc = ["@oli-obk", "@RalfJung", "@JakobDegen", "@davidtwco", "@celinval", "@vakaras"]
412
413 [mentions."compiler/rustc_error_messages"]
414 message = "`rustc_error_messages` was changed"
415 cc = ["@davidtwco", "@compiler-errors", "@JohnTitor", "@estebank", "@TaKO8Ki"]
416
417 [mentions."compiler/rustc_errors/src/translation.rs"]
418 message = "`rustc_errors::translation` was changed"
419 cc = ["@davidtwco", "@compiler-errors", "@JohnTitor", "@estebank", "@TaKO8Ki"]
420
421 [mentions."compiler/rustc_macros/src/diagnostics"]
422 message = "`rustc_macros::diagnostics` was changed"
423 cc = ["@davidtwco", "@compiler-errors", "@JohnTitor", "@estebank", "@TaKO8Ki"]
424
425 [mentions."compiler/rustc_target/src/spec"]
426 message = """
427 These commits modify **compiler targets**.
428 (See the [Target Tier Policy](https://doc.rust-lang.org/nightly/rustc/target-tier-policy.html).)
429 """
430
431 [assign]
432 warn_non_default_branch = true
433 contributing_url = "https://rustc-dev-guide.rust-lang.org/contributing.html"
434
435 [assign.adhoc_groups]
436 compiler-team = [
437     "@cjgillot",
438     "@estebank",
439     "@petrochenkov",
440     "@davidtwco",
441     "@oli-obk",
442     "@lcnr",
443     "@nagisa",
444     "@wesleywiser",
445 ]
446 compiler-team-contributors = [
447     "@compiler-errors",
448     "@eholk",
449     "@jackh726",
450     "@fee1-dead",
451     "@TaKO8Ki",
452 ]
453 compiler = [
454     "compiler-team",
455     "compiler-team-contributors",
456 ]
457 libs = [
458     "@joshtriplett",
459     "@Mark-Simulacrum",
460     "@m-ou-se",
461     "@thomcc",
462 ]
463 bootstrap = [
464     "@Mark-Simulacrum",
465     "@jyn514",
466 ]
467 infra-ci = [
468     "@Mark-Simulacrum",
469     "@pietroalbini",
470     "@jyn514",
471 ]
472 rustdoc = [
473     "@jsha",
474     "@GuillaumeGomez",
475     "@CraftSpider",
476     "@notriddle",
477 ]
478 docs = [
479     "@ehuss",
480     "@GuillaumeGomez",
481     "@JohnTitor",
482 ]
483 query-system = [
484     "@cjgillot",
485 ]
486 incremental = [
487     "@michaelwoerister",
488     "@wesleywiser",
489 ]
490 diagnostics = [
491     "@compiler-errors",
492     "@davidtwco",
493     "@estebank",
494     "@oli-obk",
495     "@TaKO8Ki",
496 ]
497 parser = [
498     "@davidtwco",
499     "@estebank",
500     "@nnethercote",
501     "@petrochenkov",
502 ]
503 lexer = [
504     "@nnethercote",
505     "@petrochenkov",
506 ]
507 mir = [
508     "@davidtwco",
509     "@oli-obk",
510 ]
511 mir-opt = [
512     "@nagisa",
513     "@oli-obk",
514     "@wesleywiser",
515 ]
516 types = [
517     "@compiler-errors",
518     "@jackh726",
519     "@lcnr",
520     "@oli-obk",
521     "@spastorino",
522 ]
523 borrowck = [
524     "@davidtwco",
525     "@pnkfelix",
526 ]
527 ast_lowering = [
528     "@spastorino",
529 ]
530 fallback = [
531     "@Mark-Simulacrum"
532 ]
533
534 [assign.owners]
535 "/.github/workflows" =                       ["infra-ci"]
536 "/Cargo.lock" =                              ["@Mark-Simulacrum"]
537 "/Cargo.toml" =                              ["@Mark-Simulacrum"]
538 "/compiler" =                                ["compiler"]
539 "/compiler/rustc_apfloat" =                  ["@eddyb"]
540 "/compiler/rustc_ast" =                      ["compiler", "parser"]
541 "/compiler/rustc_ast_lowering" =             ["compiler", "ast_lowering"]
542 "/compiler/rustc_hir_analysis" =             ["compiler", "types"]
543 "/compiler/rustc_lexer" =                    ["compiler", "lexer"]
544 "/compiler/rustc_llvm" =                     ["@cuviper"]
545 "/compiler/rustc_middle/src/mir" =           ["compiler", "mir"]
546 "/compiler/rustc_middle/src/traits" =        ["compiler", "types"]
547 "/compiler/rustc_const_eval/src/interpret" = ["compiler", "mir"]
548 "/compiler/rustc_const_eval/src/transform" = ["compiler", "mir-opt"]
549 "/compiler/rustc_mir_build/src/build" =      ["compiler", "mir"]
550 "/compiler/rustc_parse" =                    ["compiler", "parser"]
551 "/compiler/rustc_parse/src/lexer" =          ["compiler", "lexer"]
552 "/compiler/rustc_query_impl" =               ["compiler", "query-system"]
553 "/compiler/rustc_query_system" =             ["compiler", "query-system"]
554 "/compiler/rustc_trait_selection" =          ["compiler", "types"]
555 "/compiler/rustc_traits" =                   ["compiler", "types"]
556 "/compiler/rustc_type_ir" =                  ["compiler", "types"]
557 "/library/alloc" =                           ["libs"]
558 "/library/core" =                            ["libs", "@scottmcm"]
559 "/library/panic_abort" =                     ["libs"]
560 "/library/panic_unwind" =                    ["libs"]
561 "/library/proc_macro" =                      ["@petrochenkov"]
562 "/library/std" =                             ["libs"]
563 "/library/std/src/sys/windows" =             ["@ChrisDenton", "@thomcc"]
564 "/library/stdarch" =                         ["libs"]
565 "/library/test" =                            ["libs"]
566 "/src/bootstrap" =                           ["bootstrap"]
567 "/src/ci" =                                  ["infra-ci"]
568 "/src/doc" =                                 ["docs"]
569 "/src/doc/rustdoc" =                         ["rustdoc"]
570 "/src/etc" =                                 ["@Mark-Simulacrum"]
571 "/src/librustdoc" =                          ["rustdoc"]
572 "/src/llvm-project" =                        ["@cuviper"]
573 "/src/rustdoc-json-types" =                  ["rustdoc"]
574 "/src/stage0.json" =                         ["bootstrap"]
575 "/src/tools/cargo" =                         ["@ehuss", "@joshtriplett"]
576 "/src/tools/compiletest" =                   ["bootstrap"]
577 "/src/tools/linkchecker" =                   ["@ehuss"]
578 "/src/tools/rust-installer" =                ["bootstrap"]
579 "/src/tools/rustbook" =                      ["@ehuss"]
580 "/src/tools/rustdoc" =                       ["rustdoc"]
581 "/src/tools/rustdoc-js" =                    ["rustdoc"]
582 "/src/tools/rustdoc-themes" =                ["rustdoc"]
583 "/src/tools/tidy" =                          ["bootstrap"]