]> 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 = ["@lcnr"]
336
337 [mentions."compiler/rustc_trait_selection/src/traits/engine.rs"]
338 message = """
339 Some changes occurred in engine.rs, potentially modifying the public API \
340 of `ObligationCtxt`.
341 """
342 cc = ["@lcnr"]
343
344 [mentions."compiler/rustc_error_codes/src/error_codes.rs"]
345 message = "Some changes occurred in diagnostic error codes"
346 cc = ["@GuillaumeGomez"]
347
348 [mentions."library"]
349 message = """
350 Hey! It looks like you've submitted a new PR for the library teams!
351
352 If this PR contains changes to any `rust-lang/rust` public library APIs then \
353 please comment with `@rustbot label +T-libs-api -T-libs` to tag it \
354 appropriately. If this PR contains changes to any unstable APIs please edit \
355 the PR description to add a link to the relevant [API Change \
356 Proposal](https://std-dev-guide.rust-lang.org/feature-lifecycle/api-change-proposals.html) \
357 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) \
358 if you haven't already. If you're unsure where your change falls no worries, \
359 just leave it as is and the reviewer will take a look and make a decision to \
360 forward on if necessary.
361
362 Examples of `T-libs-api` changes:
363
364 * Stabilizing library features
365 * Introducing insta-stable changes such as new implementations of existing \
366   stable traits on existing stable types
367 * Introducing new or changing existing unstable library APIs (excluding \
368   permanently unstable features / features without a tracking issue)
369 * Changing public documentation in ways that create new stability guarantees
370 * Changing observable runtime behavior of library APIs
371 """
372
373 [mentions."src/librustdoc/clean/types.rs"]
374 cc = ["@camelid"]
375
376 [mentions."src/librustdoc/html/static"]
377 message = "Some changes occurred in HTML/CSS/JS."
378 cc = [
379     "@GuillaumeGomez",
380     "@Folyd",
381     "@jsha",
382 ]
383
384 [mentions."src/librustdoc/html/static/css/themes"]
385 message = "Some changes occurred in HTML/CSS themes."
386 cc = ["@GuillaumeGomez"]
387
388 [mentions."src/librustdoc/html/static/css/themes/ayu.css"]
389 message = "A change occurred in the Ayu theme."
390 cc = ["@Cldfire"]
391
392 [mentions."src/rustdoc-json-types"]
393 message = """
394 rustdoc-json-types is a **public** (although nightly-only) API. \
395 If possible, consider changing `src/librustdoc/json/conversions.rs`; \
396 otherwise, make sure you bump the `FORMAT_VERSION` constant.
397 """
398 cc = [
399     "@CraftSpider",
400     "@aDotInTheVoid",
401     "@Enselic",
402     "@obi1kenobi",
403 ]
404
405 [mentions."src/tools/cargo"]
406 cc = ["@ehuss"]
407
408 [mentions."src/tools/clippy"]
409 cc = ["@rust-lang/clippy"]
410
411 [mentions."src/tools/miri"]
412 message = "The Miri subtree was changed"
413 cc = ["@rust-lang/miri"]
414
415 [mentions."src/tools/rust-analyzer"]
416 cc = ["@rust-lang/wg-rls-2"]
417
418 [mentions."src/tools/rustfmt"]
419 cc = ["@rust-lang/rustfmt"]
420
421 [mentions."compiler/rustc_middle/src/mir/syntax.rs"]
422 message = "This PR changes MIR"
423 cc = ["@oli-obk", "@RalfJung", "@JakobDegen", "@davidtwco", "@celinval", "@vakaras"]
424
425 [mentions."compiler/rustc_error_messages"]
426 message = "`rustc_error_messages` was changed"
427 cc = ["@davidtwco", "@compiler-errors", "@JohnTitor", "@estebank", "@TaKO8Ki"]
428
429 [mentions."compiler/rustc_errors/src/translation.rs"]
430 message = "`rustc_errors::translation` was changed"
431 cc = ["@davidtwco", "@compiler-errors", "@JohnTitor", "@estebank", "@TaKO8Ki"]
432
433 [mentions."compiler/rustc_macros/src/diagnostics"]
434 message = "`rustc_macros::diagnostics` was changed"
435 cc = ["@davidtwco", "@compiler-errors", "@JohnTitor", "@estebank", "@TaKO8Ki"]
436
437 [mentions."compiler/rustc_target/src/spec"]
438 message = """
439 These commits modify **compiler targets**.
440 (See the [Target Tier Policy](https://doc.rust-lang.org/nightly/rustc/target-tier-policy.html).)
441 """
442
443 [assign]
444 warn_non_default_branch = true
445 contributing_url = "https://rustc-dev-guide.rust-lang.org/contributing.html"
446
447 [assign.adhoc_groups]
448 compiler-team = [
449     "@cjgillot",
450     "@estebank",
451     "@petrochenkov",
452     "@davidtwco",
453     "@oli-obk",
454     "@lcnr",
455     "@nagisa",
456     "@wesleywiser",
457 ]
458 compiler-team-contributors = [
459     "@compiler-errors",
460     "@eholk",
461     "@jackh726",
462     "@fee1-dead",
463     "@TaKO8Ki",
464 ]
465 compiler = [
466     "compiler-team",
467     "compiler-team-contributors",
468 ]
469 libs = [
470     "@joshtriplett",
471     "@Mark-Simulacrum",
472     "@m-ou-se",
473     "@thomcc",
474 ]
475 bootstrap = [
476     "@Mark-Simulacrum",
477     "@jyn514",
478 ]
479 infra-ci = [
480     "@Mark-Simulacrum",
481     "@pietroalbini",
482     "@jyn514",
483 ]
484 rustdoc = [
485     "@jsha",
486     "@GuillaumeGomez",
487     "@CraftSpider",
488     "@notriddle",
489 ]
490 docs = [
491     "@ehuss",
492     "@GuillaumeGomez",
493     "@JohnTitor",
494 ]
495 query-system = [
496     "@cjgillot",
497 ]
498 incremental = [
499     "@michaelwoerister",
500     "@wesleywiser",
501 ]
502 diagnostics = [
503     "@compiler-errors",
504     "@davidtwco",
505     "@estebank",
506     "@oli-obk",
507     "@TaKO8Ki",
508 ]
509 parser = [
510     "@davidtwco",
511     "@estebank",
512     "@nnethercote",
513     "@petrochenkov",
514 ]
515 lexer = [
516     "@nnethercote",
517     "@petrochenkov",
518 ]
519 mir = [
520     "@davidtwco",
521     "@oli-obk",
522 ]
523 mir-opt = [
524     "@nagisa",
525     "@oli-obk",
526     "@wesleywiser",
527 ]
528 types = [
529     "@compiler-errors",
530     "@jackh726",
531     "@lcnr",
532     "@oli-obk",
533     "@spastorino",
534 ]
535 borrowck = [
536     "@davidtwco",
537     "@pnkfelix",
538 ]
539 ast_lowering = [
540     "@spastorino",
541 ]
542 fallback = [
543     "@Mark-Simulacrum"
544 ]
545
546 [assign.owners]
547 "/.github/workflows" =                       ["infra-ci"]
548 "/Cargo.lock" =                              ["@Mark-Simulacrum"]
549 "/Cargo.toml" =                              ["@Mark-Simulacrum"]
550 "/compiler" =                                ["compiler"]
551 "/compiler/rustc_apfloat" =                  ["@eddyb"]
552 "/compiler/rustc_ast" =                      ["compiler", "parser"]
553 "/compiler/rustc_ast_lowering" =             ["compiler", "ast_lowering"]
554 "/compiler/rustc_hir_analysis" =             ["compiler", "types"]
555 "/compiler/rustc_lexer" =                    ["compiler", "lexer"]
556 "/compiler/rustc_llvm" =                     ["@cuviper"]
557 "/compiler/rustc_middle/src/mir" =           ["compiler", "mir"]
558 "/compiler/rustc_middle/src/traits" =        ["compiler", "types"]
559 "/compiler/rustc_const_eval/src/interpret" = ["compiler", "mir"]
560 "/compiler/rustc_const_eval/src/transform" = ["compiler", "mir-opt"]
561 "/compiler/rustc_mir_build/src/build" =      ["compiler", "mir"]
562 "/compiler/rustc_parse" =                    ["compiler", "parser"]
563 "/compiler/rustc_parse/src/lexer" =          ["compiler", "lexer"]
564 "/compiler/rustc_query_impl" =               ["compiler", "query-system"]
565 "/compiler/rustc_query_system" =             ["compiler", "query-system"]
566 "/compiler/rustc_trait_selection" =          ["compiler", "types"]
567 "/compiler/rustc_traits" =                   ["compiler", "types"]
568 "/compiler/rustc_type_ir" =                  ["compiler", "types"]
569 "/library/alloc" =                           ["libs"]
570 "/library/core" =                            ["libs", "@scottmcm"]
571 "/library/panic_abort" =                     ["libs"]
572 "/library/panic_unwind" =                    ["libs"]
573 "/library/proc_macro" =                      ["@petrochenkov"]
574 "/library/std" =                             ["libs"]
575 "/library/std/src/sys/windows" =             ["@ChrisDenton", "@thomcc"]
576 "/library/stdarch" =                         ["libs"]
577 "/library/test" =                            ["libs"]
578 "/src/bootstrap" =                           ["bootstrap"]
579 "/src/ci" =                                  ["infra-ci"]
580 "/src/doc" =                                 ["docs"]
581 "/src/doc/book" =                            ["@ehuss"]
582 "/src/doc/edition-guide" =                   ["@ehuss"]
583 "/src/doc/embedded-book" =                   ["@ehuss"]
584 "/src/doc/nomicon" =                         ["@ehuss"]
585 "/src/doc/reference" =                       ["@ehuss"]
586 "/src/doc/rust-by-example" =                 ["@ehuss"]
587 "/src/doc/rustc-dev-guide" =                 ["@ehuss"]
588 "/src/doc/rustdoc" =                         ["rustdoc"]
589 "/src/etc" =                                 ["@Mark-Simulacrum"]
590 "/src/librustdoc" =                          ["rustdoc"]
591 "/src/llvm-project" =                        ["@cuviper"]
592 "/src/rustdoc-json-types" =                  ["rustdoc"]
593 "/src/stage0.json" =                         ["bootstrap"]
594 "/src/test/ui" =                             ["compiler"]
595 "/src/tools/cargo" =                         ["@ehuss", "@joshtriplett"]
596 "/src/tools/compiletest" =                   ["bootstrap"]
597 "/src/tools/linkchecker" =                   ["@ehuss"]
598 "/src/tools/rust-installer" =                ["bootstrap"]
599 "/src/tools/rustbook" =                      ["@ehuss"]
600 "/src/tools/rustdoc" =                       ["rustdoc"]
601 "/src/tools/rustdoc-js" =                    ["rustdoc"]
602 "/src/tools/rustdoc-themes" =                ["rustdoc"]
603 "/src/tools/tidy" =                          ["bootstrap"]
604 "/src/tools/x" =                             ["bootstrap"]