]> git.lizzy.rs Git - rust.git/blob - triagebot.toml
Preparing for merge from rustc
[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     "Cargo.lock",
189     "config.toml.example",
190     "src/stage0.json"
191 ]
192
193 [autolabel."T-infra"]
194 trigger_files = [
195     "src/ci",
196     "src/tools/bump-stage0",
197 ]
198
199 [autolabel."T-style"]
200 trigger_files = [
201     "src/doc/style-guide",
202 ]
203
204 [autolabel."A-translation"]
205 trigger_files = [
206     "compiler/rustc_error_messages",
207     "compiler/rustc_errors/src/translation.rs",
208     "compiler/rustc_macros/src/diagnostics"
209 ]
210
211 [autolabel."A-query-system"]
212 trigger_files = [
213     "compiler/rustc_query_system",
214     "compiler/rustc_query_impl",
215     "compiler/rustc_macros/src/query.rs"
216 ]
217
218 [autolabel."A-testsuite"]
219 trigger_files = [
220     "src/ci",
221     "src/tools/compiletest",
222     "src/tools/cargotest",
223     "src/tools/tidy",
224     "src/tools/remote-test-server",
225     "src/tools/remote-test-client",
226     "src/tools/tier-check"
227 ]
228
229 [autolabel."A-meta"]
230 trigger_files = [
231     "triagebot.toml",
232     "rustfmt.toml",
233     "LICENSES",
234     "README.md",
235     "CONTRIBUTING.md",
236     ".reuse",
237     ".mailmap",
238     ".git-blame-ignore-revs",
239     ".editorconfig"
240 ]
241
242 [autolabel."T-release"]
243 trigger_files = [
244     "RELEASES.md",
245     "src/stage0.json",
246     "src/version"
247 ]
248
249 [autolabel."S-waiting-on-review"]
250 new_pr = true
251
252 [notify-zulip."I-prioritize"]
253 zulip_stream = 245100 # #t-compiler/wg-prioritization/alerts
254 topic = "#{number} {title}"
255 message_on_add = """\
256 @*WG-prioritization/alerts* issue #{number} has been requested for prioritization.
257
258 # [Procedure](https://forge.rust-lang.org/compiler/prioritization/procedure.html#assign-priority-to-unprioritized-issues-with-i-prioritize-label)
259 - Priority?
260 - Regression?
261 - Notify people/groups?
262 - Needs `I-nominated`?
263 """
264 message_on_remove = "Issue #{number}'s prioritization request has been removed."
265 message_on_close = "Issue #{number} has been closed while requested for prioritization."
266 message_on_reopen = "Issue #{number} has been reopened."
267
268 [notify-zulip."T-rustdoc"]
269 required_labels = ["I-nominated"]
270 zulip_stream = 266220 # #rustdoc
271 topic = "nominated: #{number}"
272 message_on_add = """\
273 @*T-rustdoc* issue #{number} "{title}" has been nominated for `T-rustdoc` discussion.
274 """
275 message_on_remove = "Issue #{number}'s nomination request has been removed."
276
277 [notify-zulip."I-types-nominated"]
278 zulip_stream = 326866 # #T-types/nominated
279 topic = "#{number}: {title}"
280 message_on_add = """\
281 @*T-types* issue #{number} "{title}" has been nominated for team discussion.
282 """
283 message_on_remove = "Issue #{number}'s nomination has been removed. Thanks all for participating!"
284 message_on_close = "Issue #{number} has been closed. Thanks for participating!"
285 message_on_reopen = "Issue #{number} has been reopened. Pinging @*T-types*."
286
287 [notify-zulip."A-edition-2021"]
288 required_labels = ["C-bug"]
289 zulip_stream = 268952 # #edition 2021
290 topic = "Edition Bugs"
291 message_on_add = """\
292 Issue #{number} "{title}" has been added.
293 """
294
295 [github-releases]
296 format = "rustc"
297 project-name = "Rust"
298 changelog-path = "RELEASES.md"
299 changelog-branch = "master"
300
301 [shortcut]
302
303
304 [mentions."compiler/rustc_apfloat"]
305 message = """
306 Changes rustc_apfloat. rustc_apfloat is currently in limbo and you almost \
307 certainly don't want to change it (see #55993).
308 """
309 cc = ["@eddyb"]
310
311 [mentions."compiler/rustc_codegen_cranelift"]
312 cc = ["@bjorn3"]
313
314 [mentions."compiler/rustc_codegen_gcc"]
315 cc = ["@antoyo"]
316
317 [mentions."compiler/rustc_const_eval/src/interpret"]
318 message = "Some changes occurred to the CTFE / Miri engine"
319 cc = ["@rust-lang/miri"]
320
321 [mentions."compiler/rustc_infer/src/infer/error_reporting/need_type_info.rs"]
322 message = "Some changes occurred in need_type_info.rs"
323 cc = ["@lcnr"]
324
325 [mentions."compiler/rustc_middle/src/mir/interpret"]
326 message = "Some changes occurred to the CTFE / Miri engine"
327 cc = ["@rust-lang/miri"]
328
329 [mentions."compiler/rustc_mir_transform/src/"]
330 message = "Some changes occurred to MIR optimizations"
331 cc = ["@rust-lang/wg-mir-opt"]
332
333 [mentions."compiler/rustc_trait_selection/src/traits/const_evaluatable.rs"]
334 message = "Some changes occurred in `const_evaluatable.rs`"
335 cc = ["@BoxyUwU"]
336
337 [mentions."compiler/rustc_middle/src/ty/abstract_const.rs"]
338 message = "Some changes occured in `abstract_const.rs`"
339 cc = ["@BoxyUwU"]
340
341 [mentions."compiler/rustc_ty_utils/src/consts.rs"]
342 message = "Some changes occured in `rustc_ty_utils::consts.rs`"
343 cc = ["@BoxyUwU"]
344
345 [mentions."compiler/rustc_trait_selection/src/solve/"]
346 message = "Some changes occurred to the core trait solver"
347 cc = ["@lcnr"]
348
349 [mentions."compiler/rustc_trait_selection/src/traits/engine.rs"]
350 message = """
351 Some changes occurred in engine.rs, potentially modifying the public API \
352 of `ObligationCtxt`.
353 """
354 cc = ["@lcnr"]
355
356 [mentions."compiler/rustc_error_codes/src/error_codes.rs"]
357 message = "Some changes occurred in diagnostic error codes"
358 cc = ["@GuillaumeGomez"]
359
360 [mentions."library"]
361 message = """
362 Hey! It looks like you've submitted a new PR for the library teams!
363
364 If this PR contains changes to any `rust-lang/rust` public library APIs then \
365 please comment with `@rustbot label +T-libs-api -T-libs` to tag it \
366 appropriately. If this PR contains changes to any unstable APIs please edit \
367 the PR description to add a link to the relevant [API Change \
368 Proposal](https://std-dev-guide.rust-lang.org/feature-lifecycle/api-change-proposals.html) \
369 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) \
370 if you haven't already. If you're unsure where your change falls no worries, \
371 just leave it as is and the reviewer will take a look and make a decision to \
372 forward on if necessary.
373
374 Examples of `T-libs-api` changes:
375
376 * Stabilizing library features
377 * Introducing insta-stable changes such as new implementations of existing \
378   stable traits on existing stable types
379 * Introducing new or changing existing unstable library APIs (excluding \
380   permanently unstable features / features without a tracking issue)
381 * Changing public documentation in ways that create new stability guarantees
382 * Changing observable runtime behavior of library APIs
383 """
384
385 [mentions."src/librustdoc/clean/types.rs"]
386 cc = ["@camelid"]
387
388 [mentions."src/librustdoc/html/static"]
389 message = "Some changes occurred in HTML/CSS/JS."
390 cc = [
391     "@GuillaumeGomez",
392     "@Folyd",
393     "@jsha",
394 ]
395
396 [mentions."src/librustdoc/html/static/css/themes"]
397 message = "Some changes occurred in HTML/CSS themes."
398 cc = ["@GuillaumeGomez"]
399
400 [mentions."src/librustdoc/html/static/css/themes/ayu.css"]
401 message = "A change occurred in the Ayu theme."
402 cc = ["@Cldfire"]
403
404 [mentions."src/rustdoc-json-types"]
405 message = """
406 rustdoc-json-types is a **public** (although nightly-only) API. \
407 If possible, consider changing `src/librustdoc/json/conversions.rs`; \
408 otherwise, make sure you bump the `FORMAT_VERSION` constant.
409 """
410 cc = [
411     "@CraftSpider",
412     "@aDotInTheVoid",
413     "@Enselic",
414     "@obi1kenobi",
415 ]
416
417 [mentions."src/tools/cargo"]
418 cc = ["@ehuss"]
419
420 [mentions."src/tools/clippy"]
421 cc = ["@rust-lang/clippy"]
422
423 [mentions."src/tools/miri"]
424 message = "The Miri subtree was changed"
425 cc = ["@rust-lang/miri"]
426
427 [mentions."src/tools/rust-analyzer"]
428 cc = ["@rust-lang/wg-rls-2"]
429
430 [mentions."src/tools/rustfmt"]
431 cc = ["@rust-lang/rustfmt"]
432
433 [mentions."compiler/rustc_middle/src/mir/syntax.rs"]
434 message = "This PR changes MIR"
435 cc = ["@oli-obk", "@RalfJung", "@JakobDegen", "@davidtwco", "@celinval", "@vakaras"]
436
437 [mentions."compiler/rustc_error_messages"]
438 message = "`rustc_error_messages` was changed"
439 cc = ["@davidtwco", "@compiler-errors", "@JohnTitor", "@estebank", "@TaKO8Ki"]
440
441 [mentions."compiler/rustc_errors/src/translation.rs"]
442 message = "`rustc_errors::translation` was changed"
443 cc = ["@davidtwco", "@compiler-errors", "@JohnTitor", "@estebank", "@TaKO8Ki"]
444
445 [mentions."compiler/rustc_macros/src/diagnostics"]
446 message = "`rustc_macros::diagnostics` was changed"
447 cc = ["@davidtwco", "@compiler-errors", "@JohnTitor", "@estebank", "@TaKO8Ki"]
448
449 [mentions."compiler/rustc_target/src/spec"]
450 message = """
451 These commits modify **compiler targets**.
452 (See the [Target Tier Policy](https://doc.rust-lang.org/nightly/rustc/target-tier-policy.html).)
453 """
454
455 [assign]
456 warn_non_default_branch = true
457 contributing_url = "https://rustc-dev-guide.rust-lang.org/contributing.html"
458
459 [assign.adhoc_groups]
460 compiler-team = [
461     "@cjgillot",
462     "@estebank",
463     "@petrochenkov",
464     "@davidtwco",
465     "@oli-obk",
466     "@lcnr",
467     "@nagisa",
468     "@wesleywiser",
469 ]
470 compiler-team-contributors = [
471     "@compiler-errors",
472     "@eholk",
473     "@jackh726",
474     "@TaKO8Ki",
475     "@Nilstrieb",
476 ]
477 compiler = [
478     "compiler-team",
479     "compiler-team-contributors",
480 ]
481 libs = [
482     "@joshtriplett",
483     "@Mark-Simulacrum",
484     "@m-ou-se",
485     "@thomcc",
486 ]
487 bootstrap = [
488     "@Mark-Simulacrum",
489     "@jyn514",
490 ]
491 infra-ci = [
492     "@Mark-Simulacrum",
493     "@pietroalbini",
494     "@jyn514",
495 ]
496 rustdoc = [
497     "@jsha",
498     "@GuillaumeGomez",
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"]