From f7f0ca4b76c5a3beaed7b4f4823200cb20ea54b7 Mon Sep 17 00:00:00 2001 From: Trevor Gross Date: Tue, 4 Nov 2025 15:26:01 -0600 Subject: [PATCH] triagebot: Create Zulip topics for libs backports Take the configuration used by other teams to create Zulip topics for T-libs backports. --- triagebot.toml | 49 +++++++++++++++++++++++++++++++++++++++++++++++++ 1 file changed, 49 insertions(+) diff --git a/triagebot.toml b/triagebot.toml index 5a96d96b346d4..325a62235c71c 100644 --- a/triagebot.toml +++ b/triagebot.toml @@ -794,6 +794,55 @@ zulip_stream = 474880 # #t-compiler/backports topic = "#{number}: stable-nominated" message_on_add = "PR #{number} has been **accepted** for **stable** backport." +[notify-zulip."beta-nominated".libs] +required_labels = ["T-libs"] +zulip_stream = 542373 # #t-libs/backports +topic = "#{number}: beta-nominated" +message_on_add = [ + """\ +@*T-libs* PR #{number} "{title}" has been nominated for beta backport. +""", + """\ +/poll Should #{number} be beta backported? +approve +decline +don't know +""", +] +message_on_remove = "PR #{number}'s beta-nomination has been removed." + +[notify-zulip."beta-accepted".libs] +required_labels = ["T-libs"] +zulip_stream = 542373 # #t-libs/backports +# Put it in the same Zulip topic as beta-nominated. +topic = "#{number}: beta-nominated" +message_on_add = "PR #{number} has been **accepted** for **beta** backport." + +[notify-zulip."stable-nominated".libs] +required_labels = ["T-libs"] +zulip_stream = 542373 # #t-libs/backports +topic = "#{number}: stable-nominated" +message_on_add = [ + """\ +@**channel** PR #{number} "{title}" has been nominated for stable backport. +""", + """\ +/poll Approve stable backport of #{number}? +approve +approve (but does not justify new dot release on its own) +decline +don't know +""", +] +message_on_remove = "PR #{number}'s stable-nomination has been removed." + +[notify-zulip."stable-accepted".libs] +required_labels = ["T-libs"] +zulip_stream = 542373 # #t-libs/backports +# Put it in the same thread as stable-nominated. +topic = "#{number}: stable-nominated" +message_on_add = "PR #{number} has been **accepted** for **stable** backport." + [notify-zulip."beta-nominated".bootstrap] required_labels = ["T-bootstrap"]