]> git.lizzy.rs Git - rust.git/blob - triagebot.toml
Rollup merge of #103182 - Nilstrieb:query-desc-cleanup, r=oli-obk
[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     "needs-fcp",
16     "relnotes",
17     "requires-nightly",
18     "regression-*",
19     "perf-*",
20     "AsyncAwait-OnDeck",
21 ]
22
23 [assign]
24
25 [glacier]
26
27 [ping.icebreakers-llvm]
28 alias = ["llvm", "llvms"]
29 message = """\
30 Hey LLVM ICE-breakers! This bug has been identified as a good
31 "LLVM ICE-breaking candidate". In case it's useful, here are some
32 [instructions] for tackling these sorts of bugs. Maybe take a look?
33 Thanks! <3
34
35 [instructions]: https://rustc-dev-guide.rust-lang.org/notification-groups/llvm.html
36 """
37 label = "ICEBreaker-LLVM"
38
39 [ping.icebreakers-cleanup-crew]
40 alias = ["cleanup", "cleanups", "cleanup-crew", "shrink", "reduce", "bisect"]
41 message = """\
42 Hey Cleanup Crew ICE-breakers! This bug has been identified as a good
43 "Cleanup ICE-breaking candidate". In case it's useful, here are some
44 [instructions] for tackling these sorts of bugs. Maybe take a look?
45 Thanks! <3
46
47 [instructions]: https://rustc-dev-guide.rust-lang.org/notification-groups/cleanup-crew.html
48 """
49 label = "ICEBreaker-Cleanup-Crew"
50
51 [ping.windows]
52 message = """\
53 Hey Windows Group! This bug has been identified as a good "Windows candidate".
54 In case it's useful, here are some [instructions] for tackling these sorts of
55 bugs. Maybe take a look?
56 Thanks! <3
57
58 [instructions]: https://rustc-dev-guide.rust-lang.org/notification-groups/windows.html
59 """
60 label = "O-windows"
61
62 [ping.arm]
63 message = """\
64 Hey ARM Group! This bug has been identified as a good "ARM candidate".
65 In case it's useful, here are some [instructions] for tackling these sorts of
66 bugs. Maybe take a look?
67 Thanks! <3
68
69 [instructions]: https://rustc-dev-guide.rust-lang.org/notification-groups/arm.html
70 """
71 label = "O-ARM"
72
73 [ping.risc-v]
74 message = """\
75 Hey RISC-V Group! This bug has been identified as a good "RISC-V candidate".
76 In case it's useful, here are some [instructions] for tackling these sorts of
77 bugs. Maybe take a look?
78 Thanks! <3
79
80 [instructions]: https://rustc-dev-guide.rust-lang.org/notification-groups/risc-v.html
81 """
82 label = "O-riscv"
83
84 [ping.fuchsia]
85 message = """\
86 Hey friends of Fuchsia! This issue could use some guidance on how this should be
87 resolved/implemented on Fuchsia. Could one of you weigh in?
88 """
89 label = "O-fuchsia"
90
91 [ping.macos]
92 message = """\
93 Hey MacOS Group! This issue or PR could use some MacOS-specific guidance. Could one
94 of you weigh in? Thanks <3
95 """
96 label = "O-macos"
97
98 [prioritize]
99 label = "I-prioritize"
100
101 [autolabel."I-prioritize"]
102 trigger_labels = [
103     "regression-untriaged",
104     "regression-from-stable-to-stable",
105     "regression-from-stable-to-beta",
106     "regression-from-stable-to-nightly",
107     "I-unsound",
108 ]
109 exclude_labels = [
110     "P-*",
111     "T-infra",
112     "T-release",
113     "requires-nightly",
114 ]
115
116 [autolabel."T-rustdoc"]
117 trigger_files = [
118     # Source code
119     "src/librustdoc",
120     "src/tools/rustdoc",
121     "src/rustdoc-json-types",
122
123     # Tests
124     "src/test/rustdoc",
125     "src/test/rustdoc-ui",
126     "src/test/rustdoc-gui",
127     "src/test/rustdoc-js",
128     "src/test/rustdoc-js-std",
129     "src/test/rustdoc-json",
130
131     # Internal tooling
132     "src/etc/htmldocck.py",
133     "src/tools/jsondocck",
134     "src/tools/jsondoclint",
135     "src/tools/rustdoc-gui",
136     "src/tools/rustdoc-js",
137     "src/tools/rustdoc-themes",
138 ]
139 exclude_labels = [
140     "T-*",
141 ]
142
143 [autolabel."A-rustdoc-json"]
144 trigger_files = [
145     "src/librustdoc/json/",
146     "src/rustdoc-json-types",
147     "src/test/rustdoc-json",
148     "src/tools/jsondocck",
149     "src/tools/jsondoclint",
150 ]
151
152 [autolabel."T-compiler"]
153 trigger_files = [
154     # Source code
155     "compiler",
156
157     # Tests
158     "src/test/ui",
159 ]
160 exclude_labels = [
161     "T-*",
162 ]
163
164 [autolabel."T-libs"]
165 trigger_files = [
166     "library/alloc",
167     "library/core",
168     "library/panic_abort",
169     "library/panic_unwind",
170     "library/std",
171     "library/stdarch",
172     "library/term",
173     "library/test",
174 ]
175 exclude_labels = [
176     "T-*",
177 ]
178
179 [autolabel."A-bootstrap"]
180 trigger_files = [
181     "x.py",
182     "x",
183     "x.ps1",
184     "src/bootstrap",
185     "src/tools/rust-installer",
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/test",
221     "src/ci",
222     "src/tools/compiletest",
223     "src/tools/cargotest",
224     "src/tools/tidy",
225     "src/tools/remote-test-server",
226     "src/tools/remote-test-client",
227     "src/tools/tier-check"
228 ]
229
230 [autolabel."A-meta"]
231 trigger_files = [
232     "triagebot.toml",
233     "rustfmt.toml",
234     "LICENSES",
235     "README.md",
236     "CONTRIBUTING.md",
237     ".reuse",
238     ".mailmap",
239     ".git-blame-ignore-revs",
240     ".editorconfig"
241 ]
242
243 [autolabel."T-release"]
244 trigger_files = [
245     "RELEASES.md",
246     "src/stage0.json",
247     "src/version"
248 ]
249
250 [notify-zulip."I-prioritize"]
251 zulip_stream = 245100 # #t-compiler/wg-prioritization/alerts
252 topic = "#{number} {title}"
253 message_on_add = """\
254 @*WG-prioritization/alerts* issue #{number} has been requested for prioritization.
255
256 # [Procedure](https://forge.rust-lang.org/compiler/prioritization/procedure.html#assign-priority-to-unprioritized-issues-with-i-prioritize-label)
257 - Priority?
258 - Regression?
259 - Notify people/groups?
260 - Needs `I-nominated`?
261 """
262 message_on_remove = "Issue #{number}'s prioritization request has been removed."
263 message_on_close = "Issue #{number} has been closed while requested for prioritization."
264 message_on_reopen = "Issue #{number} has been reopened."
265
266 [notify-zulip."T-rustdoc"]
267 required_labels = ["I-nominated"]
268 zulip_stream = 266220 # #rustdoc
269 topic = "nominated: #{number}"
270 message_on_add = """\
271 @*T-rustdoc* issue #{number} "{title}" has been nominated for `T-rustdoc` discussion.
272 """
273 message_on_remove = "Issue #{number}'s nomination request has been removed."
274
275 [notify-zulip."I-types-nominated"]
276 zulip_stream = 326866 # #T-types/nominated
277 topic = "#{number}: {title}"
278 message_on_add = """\
279 @*T-types* issue #{number} "{title}" has been nominated for team discussion.
280 """
281 message_on_remove = "Issue #{number}'s nomination has been removed. Thanks all for participating!"
282 message_on_close = "Issue #{number} has been closed. Thanks for participating!"
283 message_on_reopen = "Issue #{number} has been reopened. Pinging @*T-types*."
284
285 [notify-zulip."A-edition-2021"]
286 required_labels = ["C-bug"]
287 zulip_stream = 268952 # #edition 2021
288 topic = "Edition Bugs"
289 message_on_add = """\
290 Issue #{number} "{title}" has been added.
291 """
292
293 [github-releases]
294 format = "rustc"
295 project-name = "Rust"
296 changelog-path = "RELEASES.md"
297 changelog-branch = "master"
298
299 [shortcut]
300
301
302 [mentions."compiler/rustc_apfloat"]
303 message = """
304 Changes rustc_apfloat. rustc_apfloat is currently in limbo and you almost \
305 certainly don't want to change it (see #55993).
306 """
307 cc = ["@eddyb"]
308
309 [mentions."compiler/rustc_codegen_cranelift"]
310 cc = ["@bjorn3"]
311
312 [mentions."compiler/rustc_codegen_gcc"]
313 cc = ["@antoyo"]
314
315 [mentions."compiler/rustc_const_eval/src/interpret"]
316 message = "Some changes occurred to the CTFE / Miri engine"
317 cc = ["@rust-lang/miri"]
318
319 [mentions."compiler/rustc_infer/src/infer/error_reporting/need_type_info.rs"]
320 message = "Some changes occurred in need_type_info.rs"
321 cc = ["@lcnr"]
322
323 [mentions."compiler/rustc_middle/src/mir/interpret"]
324 message = "Some changes occurred to the CTFE / Miri engine"
325 cc = ["@rust-lang/miri"]
326
327 [mentions."compiler/rustc_mir_transform/src/"]
328 message = "Some changes occurred to MIR optimizations"
329 cc = ["@rust-lang/wg-mir-opt"]
330
331 [mentions."compiler/rustc_trait_selection/src/traits/const_evaluatable.rs"]
332 message = "Some changes occurred in const_evaluatable.rs"
333 cc = ["@lcnr"]
334
335 [mentions."compiler/rustc_error_codes/src/error_codes.rs"]
336 message = "Some changes occurred in diagnostic error codes"
337 cc = ["@GuillaumeGomez"]
338
339 [mentions."library"]
340 message = """
341 Hey! It looks like you've submitted a new PR for the library teams!
342
343 If this PR contains changes to any `rust-lang/rust` public library APIs then \
344 please comment with `@rustbot label +T-libs-api -T-libs` to tag it \
345 appropriately. If this PR contains changes to any unstable APIs please edit \
346 the PR description to add a link to the relevant [API Change \
347 Proposal](https://std-dev-guide.rust-lang.org/feature-lifecycle/api-change-proposals.html) \
348 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) \
349 if you haven't already. If you're unsure where your change falls no worries, \
350 just leave it as is and the reviewer will take a look and make a decision to \
351 forward on if necessary.
352
353 Examples of `T-libs-api` changes:
354
355 * Stabilizing library features
356 * Introducing insta-stable changes such as new implementations of existing \
357   stable traits on existing stable types
358 * Introducing new or changing existing unstable library APIs (excluding \
359   permanently unstable features / features without a tracking issue)
360 * Changing public documentation in ways that create new stability guarantees
361 * Changing observable runtime behavior of library APIs
362 """
363
364 [mentions."src/librustdoc/clean/types.rs"]
365 cc = ["@camelid"]
366
367 [mentions."src/librustdoc/html/static"]
368 message = "Some changes occurred in HTML/CSS/JS."
369 cc = [
370     "@GuillaumeGomez",
371     "@Folyd",
372     "@jsha",
373 ]
374
375 [mentions."src/librustdoc/html/static/css/themes"]
376 message = "Some changes occurred in HTML/CSS themes."
377 cc = ["@GuillaumeGomez"]
378
379 [mentions."src/librustdoc/html/static/css/themes/ayu.css"]
380 message = "A change occurred in the Ayu theme."
381 cc = ["@Cldfire"]
382
383 [mentions."src/rustdoc-json-types"]
384 message = """
385 rustdoc-json-types is a **public** (although nightly-only) API. \
386 If possible, consider changing `src/librustdoc/json/conversions.rs`; \
387 otherwise, make sure you bump the `FORMAT_VERSION` constant.
388 """
389 cc = [
390     "@CraftSpider",
391     "@aDotInTheVoid",
392     "@Enselic",
393     "@obi1kenobi",
394 ]
395
396 [mentions."src/tools/cargo"]
397 cc = ["@ehuss"]
398
399 [mentions."src/tools/clippy"]
400 cc = ["@rust-lang/clippy"]
401
402 [mentions."src/tools/miri"]
403 message = "The Miri subtree was changed"
404 cc = ["@rust-lang/miri"]
405
406 [mentions."src/tools/rustfmt"]
407 cc = ["@rust-lang/rustfmt"]
408
409 [mentions."compiler/rustc_middle/src/mir/syntax.rs"]
410 message = "This PR changes MIR"
411 cc = ["@oli-obk", "@RalfJung", "@JakobDegen", "@davidtwco", "@celinval", "@vakaras"]
412
413 [mentions."compiler/rustc_error_messages"]
414 message = "`rustc_error_messages` was changed"
415 cc = ["@davidtwco", "@compiler-errors", "@JohnTitor", "@estebank", "@TaKO8Ki"]
416
417 [mentions."compiler/rustc_errors/src/translation.rs"]
418 message = "`rustc_errors::translation` was changed"
419 cc = ["@davidtwco", "@compiler-errors", "@JohnTitor", "@estebank", "@TaKO8Ki"]
420
421 [mentions."compiler/rustc_macros/src/diagnostics"]
422 message = "`rustc_macros::diagnostics` was changed"
423 cc = ["@davidtwco", "@compiler-errors", "@JohnTitor", "@estebank", "@TaKO8Ki"]