Skip to content

Commit ce99f37

Browse files
authored
Rollup merge of rust-lang#73247 - LeSeulArtichaut:patch-1, r=spastorino
Add various Zulip notifications for prioritization Adapts `triagebot.toml` for rust-lang/triagebot#616 and adds various Zulip notifications for the Prioritization WG workflow. We should also add indications about the procedure for handling those events, cc @rust-lang/wg-prioritization. r? @spastorino This should be merged as soon as possible after rust-lang/triagebot#616 is merged, cc @Mark-Simulacrum
2 parents 7bdf7d0 + 3a8f6c0 commit ce99f37

File tree

1 file changed

+46
-2
lines changed

1 file changed

+46
-2
lines changed

triagebot.toml

+46-2
Original file line numberDiff line numberDiff line change
@@ -58,7 +58,9 @@ label = "O-ARM"
5858

5959
[prioritize]
6060
label = "I-prioritize"
61-
prioritize_on = [
61+
62+
[autolabel."I-prioritize"]
63+
trigger_labels = [
6264
"regression-from-stable-to-stable",
6365
"regression-from-stable-to-beta",
6466
"regression-from-stable-to-nightly",
@@ -70,4 +72,46 @@ exclude_labels = [
7072
"T-release",
7173
"requires-nightly",
7274
]
73-
zulip_stream = 227806
75+
76+
[notify-zulip."I-prioritize"]
77+
zulip_stream = 227806 # #t-compiler/wg-prioritization
78+
topic = "I-prioritize #{number} {title}"
79+
message_on_add = "@**WG-prioritization** issue #{number} has been requested for prioritization."
80+
message_on_remove = "Issue #{number}'s prioritization request has been removed."
81+
82+
[notify-zulip."I-nominated"]
83+
required_labels = ["T-compiler"]
84+
zulip_stream = 227806 # #t-compiler/wg-prioritization
85+
topic = "I-prioritize #{number} {title}"
86+
message_on_add = "@**WG-prioritization** #{number} has been nominated for discussion in `T-compiler` meeting."
87+
message_on_remove = "#{number}'s nomination has been removed."
88+
89+
[notify-zulip."beta-nominated"]
90+
zulip_stream = 227806 # #t-compiler/wg-prioritization
91+
topic = "Backport #{number} {title}"
92+
message_on_add = "@**WG-prioritization** PR #{number} has been requested for beta backport."
93+
message_on_remove = "PR #{number}'s beta backport request has been removed."
94+
95+
[notify-zulip."stable-nominated"]
96+
zulip_stream = 227806 # #t-compiler/wg-prioritization
97+
topic = "Backport #{number} {title}"
98+
message_on_add = "@**WG-prioritization** PR #{number} has been requested for stable backport."
99+
message_on_remove = "PR #{number}'s stable backport request has been removed."
100+
101+
[notify-zulip."S-waiting-on-team"]
102+
required_labels = ["T-compiler"]
103+
zulip_stream = 227806 # #t-compiler/wg-prioritization
104+
topic = "S-waiting-on-team #{number} {title}"
105+
message_on_add = "@**WG-prioritization** PR #{number} is waiting on `T-compiler`."
106+
message_on_remove = "PR #{number}'s is no longer waiting on `T-compiler`."
107+
108+
[notify-zulip."P-critical"]
109+
zulip_stream = 227806 # #t-compiler/wg-prioritization
110+
topic = "P-critical #{number} {title}"
111+
message_on_add = "@**WG-prioritization** issue #{number} has been assigned `P-critical`."
112+
113+
[notify-zulip."P-high"]
114+
required_labels = ["regression-from-stable-to-*"]
115+
zulip_stream = 227806 # #t-compiler/wg-prioritization
116+
topic = "P-high regression #{number} {title}"
117+
message_on_add = "@**WG-prioritization** issue #{number} has been assigned `P-high` and is a regression."

0 commit comments

Comments
 (0)