# This file's format is documented at # https://forge.rust-lang.org/triagebot/pr-assignment.html#configuration [relabel] allow-unauthenticated = [ "A-*", "C-*", "D-*", "E-*", "F-*", "I-*", "L-*", "NLL-*", "O-*", "PG-*", "S-*", "T-*", "WG-*", "-Z*", "beta-nominated", "const-hack", "llvm-*", "needs-fcp", "relnotes", "requires-*", "regression-*", "rla-*", "perf-*", "AsyncAwait-OnDeck", "needs-triage", "has-merge-commits", ] [review-submitted] # This label is added when a "request changes" review is submitted. reviewed_label = "S-waiting-on-author" # These labels are removed when a "request changes" review is submitted. review_labels = ["S-waiting-on-review"] [review-requested] # Those labels are removed when PR author requests a review from an assignee remove_labels = ["S-waiting-on-author"] # Those labels are added when PR author requests a review from an assignee add_labels = ["S-waiting-on-review"] [glacier] [ping.icebreakers-llvm] alias = ["llvm", "llvms"] message = """\ Hey LLVM ICE-breakers! This bug has been identified as a good "LLVM ICE-breaking candidate". In case it's useful, here are some [instructions] for tackling these sorts of bugs. Maybe take a look? Thanks! <3 [instructions]: https://rustc-dev-guide.rust-lang.org/notification-groups/llvm.html """ label = "ICEBreaker-LLVM" [ping.icebreakers-cleanup-crew] alias = ["cleanup", "cleanups", "cleanup-crew", "shrink", "reduce", "bisect"] message = """\ Hey Cleanup Crew ICE-breakers! This bug has been identified as a good "Cleanup ICE-breaking candidate". In case it's useful, here are some [instructions] for tackling these sorts of bugs. Maybe take a look? Thanks! <3 [instructions]: https://rustc-dev-guide.rust-lang.org/notification-groups/cleanup-crew.html """ label = "ICEBreaker-Cleanup-Crew" [ping.windows] message = """\ Hey Windows Group! This bug has been identified as a good "Windows candidate". In case it's useful, here are some [instructions] for tackling these sorts of bugs. Maybe take a look? Thanks! <3 [instructions]: https://rustc-dev-guide.rust-lang.org/notification-groups/windows.html """ label = "O-windows" [ping.arm] message = """\ Hey ARM Group! This bug has been identified as a good "ARM candidate". In case it's useful, here are some [instructions] for tackling these sorts of bugs. Maybe take a look? Thanks! <3 [instructions]: https://rustc-dev-guide.rust-lang.org/notification-groups/arm.html """ label = "O-ARM" [ping.risc-v] message = """\ Hey RISC-V Group! This bug has been identified as a good "RISC-V candidate". In case it's useful, here are some [instructions] for tackling these sorts of bugs. Maybe take a look? Thanks! <3 [instructions]: https://rustc-dev-guide.rust-lang.org/notification-groups/risc-v.html """ label = "O-riscv" [ping.fuchsia] message = """\ Hey friends of Fuchsia! This issue could use some guidance on how this should be resolved/implemented on Fuchsia. Could one of you weigh in? """ label = "O-fuchsia" [ping.apple] alias = ["macos", "ios", "tvos", "watchos", "visionos"] message = """\ Hey Apple notification group! This issue or PR could use some Apple-specific guidance. Could one of you weigh in? Thanks <3 (In case it's useful, here are some [instructions] for tackling these sorts of issues). [instructions]: https://rustc-dev-guide.rust-lang.org/notification-groups/apple.html """ label = "O-apple" # This ping group is meant for situations where a rustc/stdlib change breaks RfL. # In that case, we want to notify the RfL group. [ping.rust-for-linux] alias = ["rfl"] message = """\ Hey Rust for Linux group! It looks like something broke the Rust for Linux integration. Could you try to take a look? In case it's useful, here are some [instructions] for tackling these sorts of issues. [instructions]: https://rustc-dev-guide.rust-lang.org/notification-groups/rust-for-linux.html """ label = "O-rfl" [ping.wasm] alias = ["webassembly"] message = """\ Hey WASM notification group! This issue or PR could use some WebAssembly-specific guidance. Could one of you weigh in? Thanks <3 (In case it's useful, here are some [instructions] for tackling these sorts of issues). [instructions]: https://rustc-dev-guide.rust-lang.org/notification-groups/wasm.html """ label = "O-wasm" [ping.wasi] message = """\ Hey WASI notification group! This issue or PR could use some WASI-specific guidance. Could one of you weigh in? Thanks <3 (In case it's useful, here are some [instructions] for tackling these sorts of issues). [instructions]: https://rustc-dev-guide.rust-lang.org/notification-groups/wasi.html """ label = "O-wasi" [ping.emscripten] message = """\ Hey Emscripten notification group! This issue or PR could use some Emscripten-specific guidance. Could one of you weigh in? Thanks <3 (In case it's useful, here are some [instructions] for tackling these sorts of issues). [instructions]: https://rustc-dev-guide.rust-lang.org/notification-groups/emscripten.html """ label = "O-emscripten" [prioritize] label = "I-prioritize" [autolabel."I-prioritize"] trigger_labels = [ "regression-untriaged", "regression-from-stable-to-stable", "regression-from-stable-to-beta", "regression-from-stable-to-nightly", "I-unsound", ] exclude_labels = [ "P-*", "T-infra", "T-release", "requires-nightly", ] [autolabel."T-rustdoc"] trigger_files = [ # Source code "src/librustdoc", "src/tools/rustdoc", "src/rustdoc-json-types", # Tests "tests/rustdoc", "tests/rustdoc-ui", "tests/rustdoc-gui", "tests/rustdoc-js", "tests/rustdoc-js-std", "tests/rustdoc-json", # Internal tooling "src/etc/htmldocck.py", "src/tools/jsondocck", "src/tools/jsondoclint", "src/tools/rustdoc-gui", "src/tools/rustdoc-js", "src/tools/rustdoc-themes", # Docs "src/doc/rustdoc.md", "src/doc/rustdoc/", ] exclude_labels = [ "T-*", ] [autolabel."A-rustdoc-json"] trigger_files = [ "src/librustdoc/json/", "src/rustdoc-json-types", "tests/rustdoc-json", "src/tools/jsondocck", "src/tools/jsondoclint", ] [autolabel."T-compiler"] trigger_files = [ # Source code "compiler", # Tests "tests/ui", ] exclude_labels = [ "T-*", ] [autolabel."T-libs"] trigger_files = [ "library/alloc", "library/core", "library/panic_abort", "library/panic_unwind", "library/std", "library/stdarch", "library/term", "library/test", ] exclude_labels = [ "T-*", ] [autolabel."O-android"] trigger_files = [ "library/std/src/os/android" ] [autolabel."O-apple"] trigger_files = [ "library/std/src/os/darwin", "library/std/src/sys/pal/unix/thread_parking/darwin.rs", "compiler/rustc_target/src/spec/base/apple", ] [autolabel."O-fuchsia"] trigger_files = [ "library/std/src/os/fuchsia" ] [autolabel."O-hermit"] trigger_files = [ "library/std/src/sys/pal/hermit", "library/std/src/os/hermit" ] [autolabel."O-ios"] trigger_files = [ "library/std/src/os/ios" ] [autolabel."O-itron"] trigger_files = [ "library/std/src/sys/pal/itron" ] [autolabel."O-linux"] trigger_files = [ "library/std/src/os/linux" ] [autolabel."O-macos"] trigger_files = [ "library/std/src/os/macos", ] [autolabel."O-netbsd"] trigger_files = [ "library/std/src/os/netbsd" ] [autolabel."O-redox"] trigger_files = [ "library/std/src/os/redox" ] [autolabel."O-SGX"] trigger_files = [ "library/std/src/sys/pal/sgx", "library/std/src/os/fortanix_sgx" ] [autolabel."O-solaris"] trigger_files = [ "library/std/src/os/solaris" ] [autolabel."O-solid"] trigger_files = [ "library/std/src/sys/pal/solid", "library/std/src/os/solid" ] [autolabel."O-unix"] trigger_files = [ "library/std/src/sys/pal/unix", "library/std/src/os/unix" ] [autolabel."O-wasi"] trigger_files = [ "library/std/src/sys/pal/wasi", "library/std/src/os/wasi" ] [autolabel."O-wasm"] trigger_files = [ "library/std/src/sys/pal/wasm", "library/std/src/os/wasm" ] [autolabel."O-windows"] trigger_files = [ "library/std/src/sys/pal/windows", "library/std/src/os/windows" ] [autolabel."T-bootstrap"] trigger_files = [ "x.py", "x", "x.ps1", "src/bootstrap", "src/tools/rust-installer", "src/tools/x", "configure", "Cargo.toml", "config.example.toml", "src/stage0", "src/tools/compiletest", "src/tools/tidy", "src/tools/rustdoc-gui-test", "src/tools/libcxx-version", "src/tools/rustc-perf-wrapper", ] [autolabel."T-infra"] trigger_files = [ "src/ci", "src/tools/bump-stage0", "src/tools/cargotest", "src/tools/tier-check", ] [autolabel."T-style"] trigger_files = [ "src/doc/style-guide", ] [autolabel."A-translation"] trigger_files = [ "compiler/rustc_error_messages", "compiler/rustc_errors/src/translation.rs", "compiler/rustc_macros/src/diagnostics" ] [autolabel."A-query-system"] trigger_files = [ "compiler/rustc_query_system", "compiler/rustc_query_impl", "compiler/rustc_macros/src/query.rs" ] [autolabel."A-testsuite"] trigger_files = [ "src/ci", "src/tools/compiletest", "src/tools/cargotest", "src/tools/tidy", "src/tools/remote-test-server", "src/tools/remote-test-client", "src/tools/tier-check" ] [autolabel."A-meta"] trigger_files = [ "triagebot.toml", "rustfmt.toml", "LICENSES", "README.md", "CONTRIBUTING.md", ".reuse", ".mailmap", ".git-blame-ignore-revs", ".editorconfig" ] [autolabel."T-release"] trigger_files = [ "RELEASES.md", "src/stage0", "src/version" ] [autolabel."S-waiting-on-review"] new_pr = true [autolabel."needs-triage"] new_issue = true exclude_labels = [ "C-tracking-issue", "A-diagnostics", "relnotes-tracking-issue", ] [autolabel."WG-trait-system-refactor"] trigger_files = [ "compiler/rustc_middle/src/traits/solve", "compiler/rustc_next_trait_solver", "compiler/rustc_trait_selection/src/solve", "compiler/rustc_type_ir/src/solve", "tests/ui/traits/next-solver", ] [autolabel."PG-exploit-mitigations"] trigger_files = [ "compiler/rustc_sanitizers", "src/doc/rustc/src/exploit-mitigations.md", "src/doc/unstable-book/src/compiler-flags/branch-protection.md", "src/doc/unstable-book/src/compiler-flags/cf-protection.md", "src/doc/unstable-book/src/compiler-flags/control-flow-guard.md", "src/doc/unstable-book/src/compiler-flags/sanitizer.md", "src/doc/unstable-book/src/language-features/cfg-sanitize.md", "src/doc/unstable-book/src/language-features/cfi-encoding.md", "src/doc/unstable-book/src/language-features/no-sanitize.md", "tests/codegen/sanitizer", "tests/codegen/split-lto-unit.rs", "tests/codegen/stack-probes-inline.rs", "tests/codegen/stack-protector.rs", "tests/ui/sanitizer", "tests/ui/stack-protector" ] [autolabel."A-run-make"] trigger_files = [ "tests/run-make", "src/tools/run-make-support" ] [autolabel."A-compiletest"] trigger_files = [ "src/tools/compiletest" ] [notify-zulip."I-prioritize"] zulip_stream = 245100 # #t-compiler/wg-prioritization/alerts topic = "#{number} {title}" message_on_add = """\ @*WG-prioritization/alerts* issue #{number} has been requested for prioritization. # [Procedure](https://forge.rust-lang.org/compiler/prioritization/procedure.html#assign-priority-to-unprioritized-issues-with-i-prioritize-label) - Priority? - Regression? - Notify people/groups? - Needs `I-{team}-nominated`? """ message_on_remove = "Issue #{number}'s prioritization request has been removed." message_on_close = "Issue #{number} has been closed while requested for prioritization." message_on_reopen = "Issue #{number} has been reopened." # FIXME: Patch triagebot to support `notify-zulip.