bugbug icon indicating copy to clipboard operation
bugbug copied to clipboard

Add bug summaries to the list of of intermittents

Open janodvarko opened this issue 4 years ago • 4 comments

One really nice feature is the list of intermittents ordered by number of failures. It's represented by a section "Bugs with highest number of failures from the last week" (in the bugbug ui). There is enough space, and so it would be great to also display bug summary (next to the bug number).

Also, the list is a bit hidden, perhaps it could be expanded by default?

Honza

image

janodvarko avatar Nov 11 '21 13:11 janodvarko

  • [ ] display bug summary next to the bug number
  • [x] expand "Bugs with highest number of failures from the last week" by default

seokjeon avatar Nov 15 '21 15:11 seokjeon

I think there are two ways to display bug summary.

  1. parsing summaries of each bug before rendering bug information from bugzilla.
  2. make data of COMPONENT_TEST_STATS_URL has summary of each bug. addRow() function is for rendering bug information including bug id, date, summary and etc, if there are date, summary, etc. Data source of feature "bugs with highest number of failures from the last week" is COMPONENT_TEST_STATS_URL which has no summary to display.

Do you think first option might have side effect like client side rendering perf issue? if you don't, I wanna handle this problem in this way.

if you have better idea, plz let me know. @janodvarko

seokjeon avatar Nov 16 '21 02:11 seokjeon

Hello @seokjeon, maybe it would be better to change the Python script that generates COMPONENT_TEST_STATS_URL so that the summary is included, and then use it in the JS side.

marco-c avatar Nov 17 '21 11:11 marco-c

https://github.com/mozilla/bugbug/blob/5e8b43d345b320d1e5344376c3cb26b6e11a9255/scripts/generate_landings_risk_report.py#L827

marco-c avatar Nov 17 '21 11:11 marco-c