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