]> git.lizzy.rs Git - rust.git/blob - triagebot.toml
loudly tell people when `Cargo.lock` changes
[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     "tests/rustdoc",
124     "tests/rustdoc-ui",
125     "tests/rustdoc-gui",
126     "tests/rustdoc-js",
127     "tests/rustdoc-js-std",
128     "tests/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     "tests/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     "tests/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."T-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 [autolabel."WG-trait-system-refactor"]
252 trigger_files = [
253     "compiler/rustc_trait_selection/src/solve"
254 ]
255
256 [notify-zulip."I-prioritize"]
257 zulip_stream = 245100 # #t-compiler/wg-prioritization/alerts
258 topic = "#{number} {title}"
259 message_on_add = """\
260 @*WG-prioritization/alerts* issue #{number} has been requested for prioritization.
261
262 # [Procedure](https://forge.rust-lang.org/compiler/prioritization/procedure.html#assign-priority-to-unprioritized-issues-with-i-prioritize-label)
263 - Priority?
264 - Regression?
265 - Notify people/groups?
266 - Needs `I-nominated`?
267 """
268 message_on_remove = "Issue #{number}'s prioritization request has been removed."
269 message_on_close = "Issue #{number} has been closed while requested for prioritization."
270 message_on_reopen = "Issue #{number} has been reopened."
271
272 [notify-zulip."T-rustdoc"]
273 required_labels = ["I-nominated"]
274 zulip_stream = 266220 # #rustdoc
275 topic = "nominated: #{number}"
276 message_on_add = """\
277 @*T-rustdoc* issue #{number} "{title}" has been nominated for `T-rustdoc` discussion.
278 """
279 message_on_remove = "Issue #{number}'s nomination request has been removed."
280
281 [notify-zulip."I-types-nominated"]
282 zulip_stream = 326866 # #T-types/nominated
283 topic = "#{number}: {title}"
284 message_on_add = """\
285 @*T-types* issue #{number} "{title}" has been nominated for team discussion.
286 """
287 message_on_remove = "Issue #{number}'s nomination has been removed. Thanks all for participating!"
288 message_on_close = "Issue #{number} has been closed. Thanks for participating!"
289 message_on_reopen = "Issue #{number} has been reopened. Pinging @*T-types*."
290
291 [notify-zulip."A-edition-2021"]
292 required_labels = ["C-bug"]
293 zulip_stream = 268952 # #edition 2021
294 topic = "Edition Bugs"
295 message_on_add = """\
296 Issue #{number} "{title}" has been added.
297 """
298
299 [github-releases]
300 format = "rustc"
301 project-name = "Rust"
302 changelog-path = "RELEASES.md"
303 changelog-branch = "master"
304
305 [shortcut]
306
307
308 [mentions."compiler/rustc_apfloat"]
309 message = """
310 Changes rustc_apfloat. rustc_apfloat is currently in limbo and you almost \
311 certainly don't want to change it (see #55993).
312 """
313 cc = ["@eddyb"]
314
315 [mentions."compiler/rustc_codegen_cranelift"]
316 cc = ["@bjorn3"]
317
318 [mentions."compiler/rustc_codegen_gcc"]
319 cc = ["@antoyo"]
320
321 [mentions."compiler/rustc_const_eval/src/interpret"]
322 message = "Some changes occurred to the CTFE / Miri engine"
323 cc = ["@rust-lang/miri"]
324
325 [mentions."compiler/rustc_infer/src/infer/error_reporting/need_type_info.rs"]
326 message = "Some changes occurred in need_type_info.rs"
327 cc = ["@lcnr"]
328
329 [mentions."compiler/rustc_middle/src/mir/interpret"]
330 message = "Some changes occurred to the CTFE / Miri engine"
331 cc = ["@rust-lang/miri"]
332
333 [mentions."compiler/rustc_mir_transform/src/"]
334 message = "Some changes occurred to MIR optimizations"
335 cc = ["@rust-lang/wg-mir-opt"]
336
337 [mentions."compiler/rustc_trait_selection/src/traits/const_evaluatable.rs"]
338 message = "Some changes occurred in `const_evaluatable.rs`"
339 cc = ["@BoxyUwU"]
340
341 [mentions."compiler/rustc_middle/src/ty/abstract_const.rs"]
342 message = "Some changes occured in `abstract_const.rs`"
343 cc = ["@BoxyUwU"]
344
345 [mentions."compiler/rustc_ty_utils/src/consts.rs"]
346 message = "Some changes occured in `rustc_ty_utils::consts.rs`"
347 cc = ["@BoxyUwU"]
348
349 [mentions."compiler/rustc_trait_selection/src/solve/"]
350 message = "Some changes occurred to the core trait solver"
351 cc = ["@rust-lang/initiative-trait-system-refactor"]
352
353 [mentions."compiler/rustc_trait_selection/src/traits/engine.rs"]
354 message = """
355 Some changes occurred in engine.rs, potentially modifying the public API \
356 of `ObligationCtxt`.
357 """
358 cc = ["@lcnr", "@compiler-errors"]
359
360 [mentions."compiler/rustc_error_codes/src/error_codes.rs"]
361 message = "Some changes occurred in diagnostic error codes"
362 cc = ["@GuillaumeGomez"]
363
364 [mentions."library"]
365 message = """
366 Hey! It looks like you've submitted a new PR for the library teams!
367
368 If this PR contains changes to any `rust-lang/rust` public library APIs then \
369 please comment with `@rustbot label +T-libs-api -T-libs` to tag it \
370 appropriately. If this PR contains changes to any unstable APIs please edit \
371 the PR description to add a link to the relevant [API Change \
372 Proposal](https://std-dev-guide.rust-lang.org/feature-lifecycle/api-change-proposals.html) \
373 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) \
374 if you haven't already. If you're unsure where your change falls no worries, \
375 just leave it as is and the reviewer will take a look and make a decision to \
376 forward on if necessary.
377
378 Examples of `T-libs-api` changes:
379
380 * Stabilizing library features
381 * Introducing insta-stable changes such as new implementations of existing \
382   stable traits on existing stable types
383 * Introducing new or changing existing unstable library APIs (excluding \
384   permanently unstable features / features without a tracking issue)
385 * Changing public documentation in ways that create new stability guarantees
386 * Changing observable runtime behavior of library APIs
387 """
388
389 [mentions."src/librustdoc/clean/types.rs"]
390 cc = ["@camelid"]
391
392 [mentions."src/librustdoc/html/static"]
393 message = "Some changes occurred in HTML/CSS/JS."
394 cc = [
395     "@GuillaumeGomez",
396     "@Folyd",
397     "@jsha",
398 ]
399
400 [mentions."src/librustdoc/html/static/css/themes"]
401 message = "Some changes occurred in HTML/CSS themes."
402 cc = ["@GuillaumeGomez"]
403
404 [mentions."src/librustdoc/html/static/css/themes/ayu.css"]
405 message = "A change occurred in the Ayu theme."
406 cc = ["@Cldfire"]
407
408 [mentions."src/rustdoc-json-types"]
409 message = """
410 rustdoc-json-types is a **public** (although nightly-only) API. \
411 If possible, consider changing `src/librustdoc/json/conversions.rs`; \
412 otherwise, make sure you bump the `FORMAT_VERSION` constant.
413 """
414 cc = [
415     "@CraftSpider",
416     "@aDotInTheVoid",
417     "@Enselic",
418     "@obi1kenobi",
419 ]
420
421 [mentions."src/tools/cargo"]
422 cc = ["@ehuss"]
423
424 [mentions."src/tools/clippy"]
425 cc = ["@rust-lang/clippy"]
426
427 [mentions."src/tools/miri"]
428 message = "The Miri subtree was changed"
429 cc = ["@rust-lang/miri"]
430
431 [mentions."src/tools/rust-analyzer"]
432 cc = ["@rust-lang/wg-rls-2"]
433
434 [mentions."src/tools/rustfmt"]
435 cc = ["@rust-lang/rustfmt"]
436
437 [mentions."compiler/rustc_middle/src/mir/syntax.rs"]
438 message = "This PR changes MIR"
439 cc = ["@oli-obk", "@RalfJung", "@JakobDegen", "@davidtwco", "@celinval", "@vakaras"]
440
441 [mentions."compiler/rustc_error_messages"]
442 message = "`rustc_error_messages` was changed"
443 cc = ["@davidtwco", "@compiler-errors", "@JohnTitor", "@estebank", "@TaKO8Ki"]
444
445 [mentions."compiler/rustc_errors/src/translation.rs"]
446 message = "`rustc_errors::translation` was changed"
447 cc = ["@davidtwco", "@compiler-errors", "@JohnTitor", "@estebank", "@TaKO8Ki"]
448
449 [mentions."compiler/rustc_macros/src/diagnostics"]
450 message = "`rustc_macros::diagnostics` was changed"
451 cc = ["@davidtwco", "@compiler-errors", "@JohnTitor", "@estebank", "@TaKO8Ki"]
452
453 [mentions."compiler/rustc_target/src/spec"]
454 message = """
455 These commits modify **compiler targets**.
456 (See the [Target Tier Policy](https://doc.rust-lang.org/nightly/rustc/target-tier-policy.html).)
457 """
458
459 [mentions."src/doc/style-guide"]
460 cc = ["@rust-lang/style"]
461
462 [mentions."Cargo.lock"]
463 message = """
464 These commits modify the `Cargo.lock` file. Random changes to `Cargo.lock` can be introduced when switching branches and rebasing PRs. 
465 This was probably unintentional and should be reverted before this PR is merged. 
466
467 If this was intentional then you can ignore this comment.
468 """
469
470 [assign]
471 warn_non_default_branch = true
472 contributing_url = "https://rustc-dev-guide.rust-lang.org/contributing.html"
473
474 [assign.adhoc_groups]
475 compiler-team = [
476     "@cjgillot",
477     "@estebank",
478     "@petrochenkov",
479     "@davidtwco",
480     "@oli-obk",
481     "@lcnr",
482     "@nagisa",
483     "@wesleywiser",
484     "@michaelwoerister",
485 ]
486 compiler-team-contributors = [
487     "@compiler-errors",
488     "@eholk",
489     "@jackh726",
490     "@TaKO8Ki",
491     "@Nilstrieb",
492     "@WaffleLapkin",
493 ]
494 compiler = [
495     "compiler-team",
496     "compiler-team-contributors",
497 ]
498 libs = [
499     "@cuviper",
500     "@joshtriplett",
501     "@Mark-Simulacrum",
502     "@m-ou-se",
503     "@thomcc",
504 ]
505 bootstrap = [
506     "@Mark-Simulacrum",
507     "@albertlarsan68",
508     "@ozkanonur",
509 ]
510 infra-ci = [
511     "@Mark-Simulacrum",
512     "@pietroalbini",
513 ]
514 rustdoc = [
515     "@jsha",
516     "@GuillaumeGomez",
517     "@notriddle",
518 ]
519 docs = [
520     "@ehuss",
521     "@GuillaumeGomez",
522     "@JohnTitor",
523 ]
524 query-system = [
525     "@cjgillot",
526 ]
527 incremental = [
528     "@michaelwoerister",
529     "@wesleywiser",
530 ]
531 diagnostics = [
532     "@compiler-errors",
533     "@davidtwco",
534     "@estebank",
535     "@oli-obk",
536     "@TaKO8Ki",
537 ]
538 parser = [
539     "@davidtwco",
540     "@estebank",
541     "@nnethercote",
542     "@petrochenkov",
543 ]
544 lexer = [
545     "@nnethercote",
546     "@petrochenkov",
547 ]
548 mir = [
549     "@davidtwco",
550     "@oli-obk",
551 ]
552 mir-opt = [
553     "@nagisa",
554     "@oli-obk",
555     "@wesleywiser",
556 ]
557 types = [
558     "@compiler-errors",
559     "@jackh726",
560     "@lcnr",
561     "@oli-obk",
562     "@spastorino",
563 ]
564 borrowck = [
565     "@davidtwco",
566     "@pnkfelix",
567 ]
568 ast_lowering = [
569     "@spastorino",
570 ]
571 fallback = [
572     "@Mark-Simulacrum"
573 ]
574 style-team = [
575     "@calebcartwright",
576     "@compiler-errors",
577     "@joshtriplett",
578     "@yaahc",
579 ]
580
581 [assign.owners]
582 "/.github/workflows" =                       ["infra-ci"]
583 "/Cargo.lock" =                              ["@Mark-Simulacrum"]
584 "/Cargo.toml" =                              ["@Mark-Simulacrum"]
585 "/compiler" =                                ["compiler"]
586 "/compiler/rustc_apfloat" =                  ["@eddyb"]
587 "/compiler/rustc_ast" =                      ["compiler", "parser"]
588 "/compiler/rustc_ast_lowering" =             ["compiler", "ast_lowering"]
589 "/compiler/rustc_hir_analysis" =             ["compiler", "types"]
590 "/compiler/rustc_lexer" =                    ["compiler", "lexer"]
591 "/compiler/rustc_llvm" =                     ["@cuviper"]
592 "/compiler/rustc_middle/src/mir" =           ["compiler", "mir"]
593 "/compiler/rustc_middle/src/traits" =        ["compiler", "types"]
594 "/compiler/rustc_const_eval/src/interpret" = ["compiler", "mir"]
595 "/compiler/rustc_const_eval/src/transform" = ["compiler", "mir-opt"]
596 "/compiler/rustc_mir_build/src/build" =      ["compiler", "mir"]
597 "/compiler/rustc_parse" =                    ["compiler", "parser"]
598 "/compiler/rustc_parse/src/lexer" =          ["compiler", "lexer"]
599 "/compiler/rustc_query_impl" =               ["compiler", "query-system"]
600 "/compiler/rustc_query_system" =             ["compiler", "query-system"]
601 "/compiler/rustc_trait_selection" =          ["compiler", "types"]
602 "/compiler/rustc_traits" =                   ["compiler", "types"]
603 "/compiler/rustc_type_ir" =                  ["compiler", "types"]
604 "/library/alloc" =                           ["libs"]
605 "/library/core" =                            ["libs", "@scottmcm"]
606 "/library/panic_abort" =                     ["libs"]
607 "/library/panic_unwind" =                    ["libs"]
608 "/library/proc_macro" =                      ["@petrochenkov"]
609 "/library/std" =                             ["libs"]
610 "/library/std/src/sys/windows" =             ["@ChrisDenton", "@thomcc"]
611 "/library/stdarch" =                         ["libs"]
612 "/library/test" =                            ["libs"]
613 "/src/bootstrap" =                           ["bootstrap"]
614 "/src/ci" =                                  ["infra-ci"]
615 "/src/doc" =                                 ["docs"]
616 "/src/doc/book" =                            ["@ehuss"]
617 "/src/doc/edition-guide" =                   ["@ehuss"]
618 "/src/doc/embedded-book" =                   ["@ehuss"]
619 "/src/doc/nomicon" =                         ["@ehuss"]
620 "/src/doc/reference" =                       ["@ehuss"]
621 "/src/doc/rust-by-example" =                 ["@ehuss"]
622 "/src/doc/rustc-dev-guide" =                 ["@ehuss"]
623 "/src/doc/rustdoc" =                         ["rustdoc"]
624 "/src/doc/style-guide" =                     ["style-team"]
625 "/src/etc" =                                 ["@Mark-Simulacrum"]
626 "/src/librustdoc" =                          ["rustdoc"]
627 "/src/llvm-project" =                        ["@cuviper"]
628 "/src/rustdoc-json-types" =                  ["rustdoc"]
629 "/src/stage0.json" =                         ["bootstrap"]
630 "/tests/ui" =                                ["compiler"]
631 "/src/tools/cargo" =                         ["@ehuss", "@joshtriplett"]
632 "/src/tools/compiletest" =                   ["bootstrap"]
633 "/src/tools/linkchecker" =                   ["@ehuss"]
634 "/src/tools/rust-installer" =                ["bootstrap"]
635 "/src/tools/rustbook" =                      ["@ehuss"]
636 "/src/tools/rustdoc" =                       ["rustdoc"]
637 "/src/tools/rustdoc-js" =                    ["rustdoc"]
638 "/src/tools/rustdoc-themes" =                ["rustdoc"]
639 "/src/tools/tidy" =                          ["bootstrap"]
640 "/src/tools/x" =                             ["bootstrap"]