]> git.lizzy.rs Git - rust.git/blob - triagebot.toml
94eb25e90cb4137e1148843825146fbe85dc7389
[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     "llvm-main",
16     "needs-fcp",
17     "relnotes",
18     "requires-*",
19     "regression-*",
20     "perf-*",
21     "AsyncAwait-OnDeck",
22 ]
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/jsondoclint",
134     "src/tools/rustdoc-gui",
135     "src/tools/rustdoc-js",
136     "src/tools/rustdoc-themes",
137 ]
138 exclude_labels = [
139     "T-*",
140 ]
141
142 [autolabel."A-rustdoc-json"]
143 trigger_files = [
144     "src/librustdoc/json/",
145     "src/rustdoc-json-types",
146     "src/test/rustdoc-json",
147     "src/tools/jsondocck",
148     "src/tools/jsondoclint",
149 ]
150
151 [autolabel."T-compiler"]
152 trigger_files = [
153     # Source code
154     "compiler",
155
156     # Tests
157     "src/test/ui",
158 ]
159 exclude_labels = [
160     "T-*",
161 ]
162
163 [autolabel."T-libs"]
164 trigger_files = [
165     "library/alloc",
166     "library/core",
167     "library/panic_abort",
168     "library/panic_unwind",
169     "library/std",
170     "library/stdarch",
171     "library/term",
172     "library/test",
173 ]
174 exclude_labels = [
175     "T-*",
176 ]
177
178 [autolabel."A-bootstrap"]
179 trigger_files = [
180     "x.py",
181     "x",
182     "x.ps1",
183     "src/bootstrap",
184     "src/tools/rust-installer",
185     "src/tools/x",
186     "configure",
187     "Cargo.toml",
188     "config.toml.example",
189     "src/stage0.json"
190 ]
191
192 [autolabel."T-infra"]
193 trigger_files = [
194     "src/ci",
195     "src/tools/bump-stage0",
196 ]
197
198 [autolabel."T-style"]
199 trigger_files = [
200     "src/doc/style-guide",
201 ]
202
203 [autolabel."A-translation"]
204 trigger_files = [
205     "compiler/rustc_error_messages",
206     "compiler/rustc_errors/src/translation.rs",
207     "compiler/rustc_macros/src/diagnostics"
208 ]
209
210 [autolabel."A-query-system"]
211 trigger_files = [
212     "compiler/rustc_query_system",
213     "compiler/rustc_query_impl",
214     "compiler/rustc_macros/src/query.rs"
215 ]
216
217 [autolabel."A-testsuite"]
218 trigger_files = [
219     "src/ci",
220     "src/tools/compiletest",
221     "src/tools/cargotest",
222     "src/tools/tidy",
223     "src/tools/remote-test-server",
224     "src/tools/remote-test-client",
225     "src/tools/tier-check"
226 ]
227
228 [autolabel."A-meta"]
229 trigger_files = [
230     "triagebot.toml",
231     "rustfmt.toml",
232     "LICENSES",
233     "README.md",
234     "CONTRIBUTING.md",
235     ".reuse",
236     ".mailmap",
237     ".git-blame-ignore-revs",
238     ".editorconfig"
239 ]
240
241 [autolabel."T-release"]
242 trigger_files = [
243     "RELEASES.md",
244     "src/stage0.json",
245     "src/version"
246 ]
247
248 [autolabel."S-waiting-on-review"]
249 new_pr = true
250
251 [notify-zulip."I-prioritize"]
252 zulip_stream = 245100 # #t-compiler/wg-prioritization/alerts
253 topic = "#{number} {title}"
254 message_on_add = """\
255 @*WG-prioritization/alerts* issue #{number} has been requested for prioritization.
256
257 # [Procedure](https://forge.rust-lang.org/compiler/prioritization/procedure.html#assign-priority-to-unprioritized-issues-with-i-prioritize-label)
258 - Priority?
259 - Regression?
260 - Notify people/groups?
261 - Needs `I-nominated`?
262 """
263 message_on_remove = "Issue #{number}'s prioritization request has been removed."
264 message_on_close = "Issue #{number} has been closed while requested for prioritization."
265 message_on_reopen = "Issue #{number} has been reopened."
266
267 [notify-zulip."T-rustdoc"]
268 required_labels = ["I-nominated"]
269 zulip_stream = 266220 # #rustdoc
270 topic = "nominated: #{number}"
271 message_on_add = """\
272 @*T-rustdoc* issue #{number} "{title}" has been nominated for `T-rustdoc` discussion.
273 """
274 message_on_remove = "Issue #{number}'s nomination request has been removed."
275
276 [notify-zulip."I-types-nominated"]
277 zulip_stream = 326866 # #T-types/nominated
278 topic = "#{number}: {title}"
279 message_on_add = """\
280 @*T-types* issue #{number} "{title}" has been nominated for team discussion.
281 """
282 message_on_remove = "Issue #{number}'s nomination has been removed. Thanks all for participating!"
283 message_on_close = "Issue #{number} has been closed. Thanks for participating!"
284 message_on_reopen = "Issue #{number} has been reopened. Pinging @*T-types*."
285
286 [notify-zulip."A-edition-2021"]
287 required_labels = ["C-bug"]
288 zulip_stream = 268952 # #edition 2021
289 topic = "Edition Bugs"
290 message_on_add = """\
291 Issue #{number} "{title}" has been added.
292 """
293
294 [github-releases]
295 format = "rustc"
296 project-name = "Rust"
297 changelog-path = "RELEASES.md"
298 changelog-branch = "master"
299
300 [shortcut]
301
302
303 [mentions."compiler/rustc_apfloat"]
304 message = """
305 Changes rustc_apfloat. rustc_apfloat is currently in limbo and you almost \
306 certainly don't want to change it (see #55993).
307 """
308 cc = ["@eddyb"]
309
310 [mentions."compiler/rustc_codegen_cranelift"]
311 cc = ["@bjorn3"]
312
313 [mentions."compiler/rustc_codegen_gcc"]
314 cc = ["@antoyo"]
315
316 [mentions."compiler/rustc_const_eval/src/interpret"]
317 message = "Some changes occurred to the CTFE / Miri engine"
318 cc = ["@rust-lang/miri"]
319
320 [mentions."compiler/rustc_infer/src/infer/error_reporting/need_type_info.rs"]
321 message = "Some changes occurred in need_type_info.rs"
322 cc = ["@lcnr"]
323
324 [mentions."compiler/rustc_middle/src/mir/interpret"]
325 message = "Some changes occurred to the CTFE / Miri engine"
326 cc = ["@rust-lang/miri"]
327
328 [mentions."compiler/rustc_mir_transform/src/"]
329 message = "Some changes occurred to MIR optimizations"
330 cc = ["@rust-lang/wg-mir-opt"]
331
332 [mentions."compiler/rustc_trait_selection/src/traits/const_evaluatable.rs"]
333 message = "Some changes occurred in `const_evaluatable.rs`"
334 cc = ["@BoxyUwU"]
335
336 [mentions."compiler/rustc_middle/src/ty/abstract_const.rs"]
337 message = "Some changes occured in `abstract_const.rs`"
338 cc = ["@BoxyUwU"]
339
340 [mentions."compiler/rustc_ty_utils/src/consts.rs"]
341 message = "Some changes occured in `rustc_ty_utils::consts.rs`"
342 cc = ["@BoxyUwU"]
343
344 [mentions."compiler/rustc_trait_selection/src/solve/"]
345 message = "Some changes occurred to the core trait solver"
346 cc = ["@lcnr"]
347
348 [mentions."compiler/rustc_trait_selection/src/traits/engine.rs"]
349 message = """
350 Some changes occurred in engine.rs, potentially modifying the public API \
351 of `ObligationCtxt`.
352 """
353 cc = ["@lcnr"]
354
355 [mentions."compiler/rustc_error_codes/src/error_codes.rs"]
356 message = "Some changes occurred in diagnostic error codes"
357 cc = ["@GuillaumeGomez"]
358
359 [mentions."library"]
360 message = """
361 Hey! It looks like you've submitted a new PR for the library teams!
362
363 If this PR contains changes to any `rust-lang/rust` public library APIs then \
364 please comment with `@rustbot label +T-libs-api -T-libs` to tag it \
365 appropriately. If this PR contains changes to any unstable APIs please edit \
366 the PR description to add a link to the relevant [API Change \
367 Proposal](https://std-dev-guide.rust-lang.org/feature-lifecycle/api-change-proposals.html) \
368 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) \
369 if you haven't already. If you're unsure where your change falls no worries, \
370 just leave it as is and the reviewer will take a look and make a decision to \
371 forward on if necessary.
372
373 Examples of `T-libs-api` changes:
374
375 * Stabilizing library features
376 * Introducing insta-stable changes such as new implementations of existing \
377   stable traits on existing stable types
378 * Introducing new or changing existing unstable library APIs (excluding \
379   permanently unstable features / features without a tracking issue)
380 * Changing public documentation in ways that create new stability guarantees
381 * Changing observable runtime behavior of library APIs
382 """
383
384 [mentions."src/librustdoc/clean/types.rs"]
385 cc = ["@camelid"]
386
387 [mentions."src/librustdoc/html/static"]
388 message = "Some changes occurred in HTML/CSS/JS."
389 cc = [
390     "@GuillaumeGomez",
391     "@Folyd",
392     "@jsha",
393 ]
394
395 [mentions."src/librustdoc/html/static/css/themes"]
396 message = "Some changes occurred in HTML/CSS themes."
397 cc = ["@GuillaumeGomez"]
398
399 [mentions."src/librustdoc/html/static/css/themes/ayu.css"]
400 message = "A change occurred in the Ayu theme."
401 cc = ["@Cldfire"]
402
403 [mentions."src/rustdoc-json-types"]
404 message = """
405 rustdoc-json-types is a **public** (although nightly-only) API. \
406 If possible, consider changing `src/librustdoc/json/conversions.rs`; \
407 otherwise, make sure you bump the `FORMAT_VERSION` constant.
408 """
409 cc = [
410     "@CraftSpider",
411     "@aDotInTheVoid",
412     "@Enselic",
413     "@obi1kenobi",
414 ]
415
416 [mentions."src/tools/cargo"]
417 cc = ["@ehuss"]
418
419 [mentions."src/tools/clippy"]
420 cc = ["@rust-lang/clippy"]
421
422 [mentions."src/tools/miri"]
423 message = "The Miri subtree was changed"
424 cc = ["@rust-lang/miri"]
425
426 [mentions."src/tools/rust-analyzer"]
427 cc = ["@rust-lang/wg-rls-2"]
428
429 [mentions."src/tools/rustfmt"]
430 cc = ["@rust-lang/rustfmt"]
431
432 [mentions."compiler/rustc_middle/src/mir/syntax.rs"]
433 message = "This PR changes MIR"
434 cc = ["@oli-obk", "@RalfJung", "@JakobDegen", "@davidtwco", "@celinval", "@vakaras"]
435
436 [mentions."compiler/rustc_error_messages"]
437 message = "`rustc_error_messages` was changed"
438 cc = ["@davidtwco", "@compiler-errors", "@JohnTitor", "@estebank", "@TaKO8Ki"]
439
440 [mentions."compiler/rustc_errors/src/translation.rs"]
441 message = "`rustc_errors::translation` was changed"
442 cc = ["@davidtwco", "@compiler-errors", "@JohnTitor", "@estebank", "@TaKO8Ki"]
443
444 [mentions."compiler/rustc_macros/src/diagnostics"]
445 message = "`rustc_macros::diagnostics` was changed"
446 cc = ["@davidtwco", "@compiler-errors", "@JohnTitor", "@estebank", "@TaKO8Ki"]
447
448 [mentions."compiler/rustc_target/src/spec"]
449 message = """
450 These commits modify **compiler targets**.
451 (See the [Target Tier Policy](https://doc.rust-lang.org/nightly/rustc/target-tier-policy.html).)
452 """
453
454 [assign]
455 warn_non_default_branch = true
456 contributing_url = "https://rustc-dev-guide.rust-lang.org/contributing.html"
457
458 [assign.adhoc_groups]
459 compiler-team = [
460     "@cjgillot",
461     "@estebank",
462     "@petrochenkov",
463     "@davidtwco",
464     "@oli-obk",
465     "@lcnr",
466     "@nagisa",
467     "@wesleywiser",
468 ]
469 compiler-team-contributors = [
470     "@compiler-errors",
471     "@eholk",
472     "@jackh726",
473     "@TaKO8Ki",
474     "@Nilstrieb",
475 ]
476 compiler = [
477     "compiler-team",
478     "compiler-team-contributors",
479 ]
480 libs = [
481     "@joshtriplett",
482     "@Mark-Simulacrum",
483     "@m-ou-se",
484     "@thomcc",
485 ]
486 bootstrap = [
487     "@Mark-Simulacrum",
488     "@jyn514",
489 ]
490 infra-ci = [
491     "@Mark-Simulacrum",
492     "@pietroalbini",
493     "@jyn514",
494 ]
495 rustdoc = [
496     "@jsha",
497     "@GuillaumeGomez",
498     "@CraftSpider",
499     "@notriddle",
500 ]
501 docs = [
502     "@ehuss",
503     "@GuillaumeGomez",
504     "@JohnTitor",
505 ]
506 query-system = [
507     "@cjgillot",
508 ]
509 incremental = [
510     "@michaelwoerister",
511     "@wesleywiser",
512 ]
513 diagnostics = [
514     "@compiler-errors",
515     "@davidtwco",
516     "@estebank",
517     "@oli-obk",
518     "@TaKO8Ki",
519 ]
520 parser = [
521     "@davidtwco",
522     "@estebank",
523     "@nnethercote",
524     "@petrochenkov",
525 ]
526 lexer = [
527     "@nnethercote",
528     "@petrochenkov",
529 ]
530 mir = [
531     "@davidtwco",
532     "@oli-obk",
533 ]
534 mir-opt = [
535     "@nagisa",
536     "@oli-obk",
537     "@wesleywiser",
538 ]
539 types = [
540     "@compiler-errors",
541     "@jackh726",
542     "@lcnr",
543     "@oli-obk",
544     "@spastorino",
545 ]
546 borrowck = [
547     "@davidtwco",
548     "@pnkfelix",
549 ]
550 ast_lowering = [
551     "@spastorino",
552 ]
553 fallback = [
554     "@Mark-Simulacrum"
555 ]
556
557 [assign.owners]
558 "/.github/workflows" =                       ["infra-ci"]
559 "/Cargo.lock" =                              ["@Mark-Simulacrum"]
560 "/Cargo.toml" =                              ["@Mark-Simulacrum"]
561 "/compiler" =                                ["compiler"]
562 "/compiler/rustc_apfloat" =                  ["@eddyb"]
563 "/compiler/rustc_ast" =                      ["compiler", "parser"]
564 "/compiler/rustc_ast_lowering" =             ["compiler", "ast_lowering"]
565 "/compiler/rustc_hir_analysis" =             ["compiler", "types"]
566 "/compiler/rustc_lexer" =                    ["compiler", "lexer"]
567 "/compiler/rustc_llvm" =                     ["@cuviper"]
568 "/compiler/rustc_middle/src/mir" =           ["compiler", "mir"]
569 "/compiler/rustc_middle/src/traits" =        ["compiler", "types"]
570 "/compiler/rustc_const_eval/src/interpret" = ["compiler", "mir"]
571 "/compiler/rustc_const_eval/src/transform" = ["compiler", "mir-opt"]
572 "/compiler/rustc_mir_build/src/build" =      ["compiler", "mir"]
573 "/compiler/rustc_parse" =                    ["compiler", "parser"]
574 "/compiler/rustc_parse/src/lexer" =          ["compiler", "lexer"]
575 "/compiler/rustc_query_impl" =               ["compiler", "query-system"]
576 "/compiler/rustc_query_system" =             ["compiler", "query-system"]
577 "/compiler/rustc_trait_selection" =          ["compiler", "types"]
578 "/compiler/rustc_traits" =                   ["compiler", "types"]
579 "/compiler/rustc_type_ir" =                  ["compiler", "types"]
580 "/library/alloc" =                           ["libs"]
581 "/library/core" =                            ["libs", "@scottmcm"]
582 "/library/panic_abort" =                     ["libs"]
583 "/library/panic_unwind" =                    ["libs"]
584 "/library/proc_macro" =                      ["@petrochenkov"]
585 "/library/std" =                             ["libs"]
586 "/library/std/src/sys/windows" =             ["@ChrisDenton", "@thomcc"]
587 "/library/stdarch" =                         ["libs"]
588 "/library/test" =                            ["libs"]
589 "/src/bootstrap" =                           ["bootstrap"]
590 "/src/ci" =                                  ["infra-ci"]
591 "/src/doc" =                                 ["docs"]
592 "/src/doc/book" =                            ["@ehuss"]
593 "/src/doc/edition-guide" =                   ["@ehuss"]
594 "/src/doc/embedded-book" =                   ["@ehuss"]
595 "/src/doc/nomicon" =                         ["@ehuss"]
596 "/src/doc/reference" =                       ["@ehuss"]
597 "/src/doc/rust-by-example" =                 ["@ehuss"]
598 "/src/doc/rustc-dev-guide" =                 ["@ehuss"]
599 "/src/doc/rustdoc" =                         ["rustdoc"]
600 "/src/etc" =                                 ["@Mark-Simulacrum"]
601 "/src/librustdoc" =                          ["rustdoc"]
602 "/src/llvm-project" =                        ["@cuviper"]
603 "/src/rustdoc-json-types" =                  ["rustdoc"]
604 "/src/stage0.json" =                         ["bootstrap"]
605 "/src/test/ui" =                             ["compiler"]
606 "/src/tools/cargo" =                         ["@ehuss", "@joshtriplett"]
607 "/src/tools/compiletest" =                   ["bootstrap"]
608 "/src/tools/linkchecker" =                   ["@ehuss"]
609 "/src/tools/rust-installer" =                ["bootstrap"]
610 "/src/tools/rustbook" =                      ["@ehuss"]
611 "/src/tools/rustdoc" =                       ["rustdoc"]
612 "/src/tools/rustdoc-js" =                    ["rustdoc"]
613 "/src/tools/rustdoc-themes" =                ["rustdoc"]
614 "/src/tools/tidy" =                          ["bootstrap"]
615 "/src/tools/x" =                             ["bootstrap"]