Repository navigation
Bug 2078646 - Add resolution to PerformanceAlertSummaryBase - #10018
davidmiculit wants to merge 3 commits into
Conversation
✅ Deploy Preview for treeherder ready!
To edit notification comments on pull requests, go to your Netlify project configuration. |
Codecov Report❌ Patch coverage is
Additional details and impacted files@@ Coverage Diff @@
## master #10018 +/- ##
==========================================
+ Coverage 83.39% 83.43% +0.04%
==========================================
Files 679 681 +2
Lines 41824 41934 +110
Branches 4016 4027 +11
==========================================
+ Hits 34878 34987 +109
- Misses 6749 6752 +3
+ Partials 197 195 -2
Flags with carried forward coverage won't be shown. Click here to find out more. ☔ View full report in Codecov by Harness. 🚀 New features to boost your workflow:
|
florinbilt
left a comment
There was a problem hiding this comment.
- treeherder/perf/migrations/0088_backfill_performancealertsummary_resolution.py, la if not summary_ids: return
The backed-out tag is only created when BACKED_OUT summaries exist, so on a fresh DB (local, CI, tests) it never gets created. Could we move the get_or_create above the early return? Since 0088 hasn’t been merged yet, that seems simpler than adding a separate migration.
- ui/perfherder/perf-helpers/constants.js, la tooltipMessages
As I understand it, backed-out describes how a regression was resolved (it replaces the old BACKED_OUT status), while regression-backedout / improvement-backedout describe the nature of the alert. That difference isn’t obvious from the names, and the new tag has no entry in tooltipMessages (the tooltip shown when hovering a tag badge on the summary), so in the UI it looks like a duplicate of regression-backedout.
Could we add a description, and maybe choose a more explicit name (e.g. resolved-by-backout)? It might be worth bringing up at the next meeting.
- ui/perfherder/alerts/AlertsView.jsx, la getDefaultStatus
nit: ?status=0&resolution=valid shows an empty list, because untriaged summaries have no resolution. Could getDefaultStatus fall back to “all statuses” when a resolution is set, like updateResolution does?
4b55df9 to
8c7724c
Compare
02d6307 to
3f03a28
Compare
Bug 2078646 - Add resolution to PerformanceAlertSummaryBase