action #94937
closed
QA (public) - coordination #91646: [saga][epic] SUSE Maintenance QA workflows with fully automated testing, approval and release
coordination #89062: [epic] Simplify review for SUSE QAM
Distinguish comment types on jobs on /tests (maybe optional) size:S
Added by okurz over 3 years ago.
Updated over 3 years ago.
Category:
Feature requests
Description
Motivation¶
As a test reviewer and member of one of many QA squads I want to find unreviewed openQA test failures on /tests to have access to a single page showing all failures needing review work. Being able to distinguish the comment type same as we do on /tests/overview and the list of "Next & Previous" jobs can help as well as prevent confusion what the "comment" icon actually means
Also see parent #89062
Acceptance criteria¶
- AC1: At least completed tests /tests shows comment type icons same as we do on /tests/overview and the list of "Next & Previous" jobs (on request or always)
Suggestions¶
So far /tests already shows a comments icon but makes no distinction like on /tests/overview or "next & previous" between "plain comment", "label" or "bugref". We should extend that to distinguish comment types.
If there is a significant performance impact only enable on request, e.g. a hidden query parameter
- Try t/ui/01-list.t and see if you can extend it
- Distinguish between "plain comment", "label" and "bugref" same as we do in /tests/overview and "next & previous"
- Optional: Add UI element to configure this, e.g. again like on /tests/overview
Files
- Copied from coordination #93246: [epic] List all unreviewed failed (or incomplete) jobs on /tests on request size:M added
- Status changed from Workable to In Progress
- Assignee set to tinita
Implemented and pushed to my fork.
Now finding out which tests to change and/or extend.
Does t/ui/01-list.t from my suggestions not work?
okurz wrote:
Does t/ui/01-list.t from my suggestions not work?
My approach was to first let CI run all tests and see if I broke something, and go from there.
Looks good. Maybe except for the unexpected difference in line wrapping.
I added a test for an open bugref.
Will add tests for the other cases as well.
Note: Showing comment data was completely disabled in the past due to performance reasons for the running and scheduled tests, according to the comments in the code I found.
So I implement this only for the finished tests.
Note to self:
# Use this list for showing relevant tests with coments, bugrefs and labels
my %ids = qw( 1811909 1 1811550 1 1811761 1 1811897 1 1811912 1 1812121 1 1811554 1 );
@jobs = grep { $ids{ $_->id } } @jobs;
# in loop:
if ($job_id == 1811554) {
$comment_data{comments} = 2;
}
- Status changed from In Progress to Feedback
- Status changed from Feedback to In Progress
- Status changed from In Progress to Feedback
- Related to action #95281: error on "Next & previous results": ajax error message and no results showing up added
- Status changed from Feedback to In Progress
I fixed #95281 by rolling back with a revert PR and deploy that on both o3 and osd. I also created a follow-up #95293
- Status changed from In Progress to Feedback
- Status changed from Feedback to Resolved
Also available in: Atom
PDF