From c43b0eb4a55b06c480947fe5d53a7e8a6b10863c Mon Sep 17 00:00:00 2001 From: Suhaib Mujahid Date: Mon, 18 Aug 2025 09:44:04 -0400 Subject: [PATCH 1/2] [moved_to_performance] Rename `Core::Performance` to `Core::Performance: General` --- bugbot/rules/moved_to_performance.py | 4 ++-- scripts/cron_run_weekdays.sh | 2 +- templates/moved_to_performance.html | 2 +- templates/moved_to_performance_needinfo.txt | 2 +- 4 files changed, 5 insertions(+), 5 deletions(-) diff --git a/bugbot/rules/moved_to_performance.py b/bugbot/rules/moved_to_performance.py index 4cad3d973..8de9bb7df 100644 --- a/bugbot/rules/moved_to_performance.py +++ b/bugbot/rules/moved_to_performance.py @@ -13,7 +13,7 @@ class MovedToPerformance(BzCleaner): - """Add a comment to bugs that recently moved to the performance component""" + """Add a comment to bugs that recently moved to the Performance: General component""" def __init__(self, recent_date_weeks: int = 26): """Constructor @@ -146,7 +146,7 @@ def get_bz_params(self, date): "v1": "Core", "f2": "component", "o2": "equals", - "v2": "Performance", + "v2": "Performance: General", "f3": "component", "o3": "changedafter", "v3": "-7d", diff --git a/scripts/cron_run_weekdays.sh b/scripts/cron_run_weekdays.sh index 6f5b59981..59555464f 100755 --- a/scripts/cron_run_weekdays.sh +++ b/scripts/cron_run_weekdays.sh @@ -197,7 +197,7 @@ python -m bugbot.rules.regression_new_set_nightly_affected --production # Suggest increasing the severity of performance-impacting bugs python -m bugbot.rules.severity_high_performance_impact --production -# Request potential missing info when a bug is moved to Core::Performance +# Request potential missing info when a bug is moved to Core::Performance: General python -m bugbot.rules.moved_to_performance --production source ./scripts/cron_common_end.sh diff --git a/templates/moved_to_performance.html b/templates/moved_to_performance.html index fc7edbd99..2a55e0028 100644 --- a/templates/moved_to_performance.html +++ b/templates/moved_to_performance.html @@ -1,5 +1,5 @@

- The following {{ plural('bug was', data, pword='bugs were') }} moved into the Core::Performance component; a comment to request more information was added: + The following {{ plural('bug was', data, pword='bugs were') }} moved into the Core::Performance: General component; a comment to request more information was added:

diff --git a/templates/moved_to_performance_needinfo.txt b/templates/moved_to_performance_needinfo.txt index e166d68aa..96631570b 100644 --- a/templates/moved_to_performance_needinfo.txt +++ b/templates/moved_to_performance_needinfo.txt @@ -1,4 +1,4 @@ -This bug was moved into the Performance component. +This bug was moved into the Performance: General component. :{{ nickname }}, could you make sure the following information is on this bug? From 7f52efbd5498a463e2f20bbe43bf365fefaccae5 Mon Sep 17 00:00:00 2001 From: Suhaib Mujahid Date: Mon, 18 Aug 2025 10:14:56 -0400 Subject: [PATCH 2/2] [workflow] Rename the `Core::Performance` to `Core::Performance: General` --- configs/rules.json | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/configs/rules.json b/configs/rules.json index 19c687db5..a6aac1c64 100644 --- a/configs/rules.json +++ b/configs/rules.json @@ -261,7 +261,7 @@ "Firefox::Untriaged", "Core::JavaScript Engine", "DevTools::Accessibility Tools", - "Core::Performance", + "Core::Performance: General", "Core::Privacy: Anti-Tracking", "Firefox::Extension Compatibility", "Core::DOM: Bindings (WebIDL)",