coordination #80142: [saga][epic] Scale out: Redundant/load-balancing deployments of openQA, easy containers, containers on kubernetes
- AC1: The number of finished tests on /tests is configurable by the user (with query parameter
limit), but limited server-side
- AC2: By default we still show up to 500 finished jobs
- Look into what we recently did for the /tests/overview page where we also added an alert box if results are limited to 500, https://github.com/os-autoinst/openQA/blob/master/lib/OpenQA/WebAPI/Controller/Test.pm#L55
- Ensure there is a query parameter available to users to configure the number of results
- Ensure there is a server-side limit
- Add help text on the web UI (or documentation)
- Optional: UI elements to configure the limit directly
Out of scope¶
- Anything regarding direct use of the API, this is only about web UI
- This is only about "finished" tests. "scheduled" and "running" to be handled in parent epic
Updated by okurz over 1 year ago
- Subject changed from Limit all displayed tests on /tests, but query configurable and show complete number of jobs to Limit finished tests on /tests, but query configurable and show complete number of jobs size:S
- Description updated (diff)
- Status changed from New to Workable
- Target version changed from future to Ready
Updated by mkittler over 1 year ago
- Status changed from Feedback to Resolved
It says "Last X jobs" anyways. That a limit specified via a query parameter is clamped should therefore be apparent (and hopefully also not surprise anyone).
The change has been deployed on OSD and it works. Both ACs are fulfilled so I'm setting the ticket to resolved.
Updated by okurz about 1 year ago
- Status changed from Resolved to Feedback
The feature works as expected, e.g. https://openqa.opensuse.org/tests?limit=100000&match=krypton-live goes back 4 years. But I couldn't find any hint on the webUI how users would be able to do this, see the suggestion "Add help text on the web UI (or documentation); Optional: UI elements to configure the limit directly"