action #151402
closedcoordination #102915: [saga][epic] Automated classification of failures
QA (public) - coordination #94105: [epic] Use feedback from openqa-investigate to automatically inform on github pull requests, open tickets, weed out automatically failed tests
[spike solution][timeboxed:20h] Allow to search for tests by comment on the UI size:M
Description
Motivation¶
With openqa-investigate becoming more important the comments in jobs are more important and we should cover a search to find jobs by comment. Also an integration in UI can make such a feature more visible and convenient. As we already have a search field looking for multiple different things we can extend that to search for comments (or jobs by comment) as well.
Acceptance criteria¶
- AC1: Expert webUI users can find openQA jobs by comment search terms
Suggestions¶
- Look into the existing search field on
/tests
, maybe just extend that to be able to search for tests by comments content with a keyword "comment:" or the equivalent in/search
#151402 to search for jobs by comments - See what we can reuse from the test results overview page (which at this point is likley the most advanced search option for jobs we have)
- Find out performance impact on the actual searching
- Find out the impact on displaying the results to the webUI user, e.g. will it always be way too many jobs
Further details¶
- We consider "expert webUI users" to be the ones that know the code and dare to adapt the URL manually, like with https://openqa.opensuse.org/tests?match=
Updated by okurz about 1 year ago
- Copied from action #151399: Identify reproducible *infrastructure* issues using openqa-investigate size:M added
Updated by tinita about 1 year ago
- Target version changed from Tools - Next to Ready
Updated by tinita about 1 year ago
- Subject changed from Allow to search for tests by comment on the UI to [spike solution][timeboxed:20h] Allow to search for tests by comment on the UI size:M
- Description updated (diff)
- Status changed from New to Workable
Updated by mkittler 11 months ago
- Status changed from In Progress to Feedback
Waiting for feedback on https://github.com/os-autoinst/openQA/pull/5425. This PR only includes the search parameter but no UI elements. Creating UI elements on the test results overview page would probably be very easy; for the "All tests" page it would be more difficult.
Updated by okurz 11 months ago
https://github.com/os-autoinst/openQA/pull/5425 merged. See my suggestion in https://github.com/os-autoinst/openQA/pull/5425#pullrequestreview-1822252492 about help text:
LGTM as is. You can consider adding a small help text like in https://github.com/os-autoinst/openQA/blob/69e8e802aadb9b4d330fb30e0701c8f6a84f5945/templates/webapi/test/list.html.ep#L48
Updated by mkittler 11 months ago
Since I'm still below 20 h I added the help text, a UI element for the test results overview page and did some refactoring in related code: https://github.com/os-autoinst/openQA/pull/5427
I guess adding a UI element on the "All tests" page would be possible but maybe we shouldn't rush it and sort out first where we actually want it (there's no obvious good place on that page).
Updated by mkittler 11 months ago
- Status changed from Feedback to Resolved
Works in production and also together with the t
parameter, e.g. https://openqa.opensuse.org/tests/overview?comment=boo%231216660&distri=opensuse&groupid=1&version=Tumbleweed&build=20240115&t=2024-01-17+15%3A33%3A06+%2B0000. It also works on "All tests", e.g. https://openqa.opensuse.org/tests?comment=boo%231216660.
Updated by okurz 11 months ago
- Subject changed from [spike solution][timeboxed:20h] Allow to search for tests by comment on the UI size:M to Allow to search for comments or tests by comment in the UI "search" bar
- Description updated (diff)
- Status changed from Resolved to New
- Assignee deleted (
mkittler) - Target version changed from Ready to future
- Start date deleted (
2023-11-24)
Updated by okurz 11 months ago
- Copied to action #154036: Allow to search for comments or tests by comment in the UI "search" bar added
Updated by okurz 11 months ago
- Subject changed from Allow to search for comments or tests by comment in the UI "search" bar to [spike solution][timeboxed:20h] Allow to search for tests by comment on the UI size:M
- Description updated (diff)
- Status changed from New to Resolved
- Assignee set to mkittler
- Target version changed from future to Ready
- Start date set to 2023-11-24