Project

General

Profile

Actions

action #168007

open

coordination #70840: [epic] further features for the "search" feature

https://openqa.opensuse.org/search?q= offers very little benefit

Added by szarate 3 months ago. Updated 3 months ago.

Status:
New
Priority:
Normal
Assignee:
-
Category:
Feature requests
Target version:
Start date:
2024-10-09
Due date:
% Done:

0%

Estimated time:

Description

  • Doing a search on the webUI provides very little advantage over using grep in the test distribution, and there are no instructions of how to use it efficiently.
  • The search results don't really provide anything of value other than confirming whether there is something that matches the search parameter, and nothing clickable on top of that, so any potential user would still need to figure out the information on their own

For reference take the following two SQL queries:

select jobs.id, jobs.scheduled_product_id, jobs.test, jm.name from jobs left join job_modules jm on (jobs.id = jm.job_id) where jobs.t_started >= '2024-10-01' and jobs.result = 'passed' and jm.name like '%snapper%' and jobs.scheduled_product_id > 0 limit 100;

select jobs.id, jobs.scheduled_product_id, jobs.test, jm.name from jobs left join job_modules jm on (jobs.id = jm.job_id) where jobs.t_started >= '2024-10-01' and jobs.result = 'passed' and jm.name = 'suseconnect_scc' and jobs.scheduled_product_id > 0 limit 100;

Returned exactly the information I was looking for.

IMO: searching widely on the test code, should only be limited (if at all) to the search in the build overview page.

Actions #1

Updated by szarate 3 months ago

  • Description updated (diff)
Actions #2

Updated by mkittler 3 months ago

I agree that this grepping on test code is not very useful (and it is much better done in my local text editor). I usually resort to doing some database queries as well to get information about actual tests.

Actions #3

Updated by okurz 3 months ago

  • Category set to Feature requests
  • Target version set to future

szarate wrote:

  • Doing a search on the webUI provides very little advantage over using grep in the test distribution, and there are no instructions of how to use it efficiently.

That's true and I still prefer git grep over the webUI search feature but not everyone is as tech-savy as you and me and people like webUI's, especially consider other devices like a smartphone or tablet where git grep is not that accessible.

  • The search results don't really provide anything of value other than confirming whether there is something that matches the search parameter, and nothing clickable on top of that, so any potential user would still need to figure out the information on their own

so you would like to have more clickable entries, e.g. pointing to the github source code view for the test modules that the search returned?

For reference take the following two SQL queries:

select jobs.id, jobs.scheduled_product_id, jobs.test, jm.name from jobs left join job_modules jm on (jobs.id = jm.job_id) where jobs.t_started >= '2024-10-01' and jobs.result = 'passed' and jm.name like '%snapper%' and jobs.scheduled_product_id > 0 limit 100;

select jobs.id, jobs.scheduled_product_id, jobs.test, jm.name from jobs left join job_modules jm on (jobs.id = jm.job_id) where jobs.t_started >= '2024-10-01' and jobs.result = 'passed' and jm.name = 'suseconnect_scc' and jobs.scheduled_product_id > 0 limit 100;

Returned exactly the information I was looking for.

Again, same as above, I am with you that often an SQL query is much faster to give what I want. But what is the consequence of that: That we should remove the search feature and state "use SQL"? Probably not. Also it's not a good idea to just pass bare SQL statements so can you please elaborate here what you suggest or wish for?

IMO: searching widely on the test code, should only be limited (if at all) to the search in the build overview page.

Can you please elaborate on that. What do you mean with "the search in the build overview page"? Do you mean the test overview like https://openqa.opensuse.org/tests/overview?distri=opensuse&groupid=1&version=Tumbleweed or https://openqa.opensuse.org/group_overview/1 showing the builds for a product?

Actions

Also available in: Atom PDF