Open
Bug 2078648
Opened 1 month ago
Updated 1 month ago
Refactor PerformanceAlertSummaryBase.status to new / assigned / resolved
Categories
(Tree Management :: Perfherder, task, P3)
Tree Management
Perfherder
Tracking
(Not tracked)
NEW
People
(Reporter: bacasandrei, Unassigned)
References
(Depends on 2 open bugs)
Details
(Whiteboard: [fxp][operational])
Backend:
- Remap integer constants: NEW=0, ASSIGNED=1, RESOLVED=2
- Schema migration: update choices
- Data migration using the mapping table (note: UNTRIAGED→NEW keeps integer 0, minimizing row updates)
- Rewrite autodetermine_status() (models.py:448-524):
- NEW — any alert has resolution=null
- ASSIGNED — assignee set, or manual investigative state; alerts have resolution but summary not yet resolved
- RESOLVED — summary resolution is set
- Update all callers of autodetermine_status() and all status-constant checks in:
- performance_data.py (filter methods _hide_related_and_invalid, _untriaged_regressions, _untriaged_improvements)
- backfill_reports.py, alert_manager.py, alert_modifier.py, bugzilla_formulas.py
- Update status filter in PerformanceAlertSummaryFilter to accept "new" / "assigned" / "resolved" strings
- Automatically update the status field to "Assigned" upon designating an assignee.
- Automatically transition the status to "Resolved" once a resolution is provided.
- Update tests
Frontend:
- Update status display labels in AlertTable.jsx, AlertHeader.jsx, AlertActionPanel.jsx
- Update StatusDropdown.jsx
- Replace hide_improvements, untriaged_regressions, untriaged_improvements boolean query params with combinations of is_regression + status + resolution in all API calls
Updated•1 month ago
|
You need to log in
before you can comment on or make changes to this bug.
Description
•