Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
11 changes: 11 additions & 0 deletions bugbot/rules/frontend_triage.py
Original file line number Diff line number Diff line change
Expand Up @@ -12,12 +12,23 @@
# The components the agent triages, as `(product, component)` pairs. Kept here rather
# than in configs/rules.json on purpose: the agent's analysis lands on the bug
# unattended, so widening its reach should take a code review.
#
# Every pair here needs a channel in the agent's own `TRIAGE_SCOPE` (bugbug's
# agents/frontend-triage/hackbot_agents/frontend_triage/config.py), and the agent has to
# be deployed with it first. `channel_for` fails closed, which silences the Slack
# notification but not the run: the comment and the severity change still apply, so a
# pair added here ahead of the agent gets unattended triage with nobody told. Nothing
# checks this -- the two lists are in separate repos and cannot see each other.
TRIAGED_COMPONENTS = (
("Firefox", "New Tab Page"),
("Firefox for Android", "History"),
("Toolkit", "Application Update"),
("Firefox", "Installer"),
("Firefox", "Site Permissions"),
("Firefox", "Sharing"),
("Firefox", "IP Protection"),
("Firefox for Android", "Toolbar"),
("Firefox for Android", "Homepage"),
)


Expand Down
2 changes: 1 addition & 1 deletion configs/rules.json
Original file line number Diff line number Diff line change
Expand Up @@ -422,7 +422,7 @@
"frontend_triage": {
"days_lookup": 1,
"max_days_in_cache": 30,
"max_triggers": 3
"max_triggers": 5
},
"performancebug": {
"max_days_in_cache": 7,
Expand Down