Project

General

Profile

Actions

action #114421

closed

coordination #80142: [saga][epic] Scale out: Redundant/load-balancing deployments of openQA, easy containers, containers on kubernetes

coordination #92854: [epic] limit overload of openQA webUI by heavy requests

action #97190: Limit size of initial requests everywhere, e.g. /, /tests, etc., over webUI and API

Add a limit where it makes sense after we have it for /tests, query configurable size:M

Added by okurz over 2 years ago. Updated about 2 years ago.

Status:
Resolved
Priority:
Low
Category:
Feature requests
Target version:
Start date:
Due date:
% Done:

0%

Estimated time:

Description

Acceptance criteria

  • AC1: Every query or API route mentioned in #113189 has a reasonable limit
  • AC2: There is a way for users to get all the data, e.g. with pagination
  • AC3: By default we still show a sensible number

Suggestions

  • Add limit for easy endpoints, and split out the harder ones (multiple SQL queries, paging...) into separate tickets
  • Wait for outcome of #111770
  • 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)
  • Watch out for a combination of dbix and perl code filtering/ processing queries
  • Allow users to get all data but each query limited
  • Optional: UI elements to configure the limit directly
  • As an example for introducing a limit, have a look at https://github.com/os-autoinst/openQA/commit/4242bb107e032c27d5f99c91a358adc9640f5ca6

Related issues 5 (2 open3 closed)

Related to openQA Project (public) - action #113189: Research where we need limits size:SResolvedmkittler2022-07-04

Actions
Related to openQA Project (public) - action #120315: openqa-client does not get complete asset list size:SResolvedokurz2022-11-11

Actions
Copied from openQA Project (public) - action #111770: Limit finished tests on /tests, but query configurable and show complete number of jobs size:SResolvedmkittler2022-05-30

Actions
Copied to openQA Project (public) - action #119428: Ensure users can get all the data for limited queries, e.g. with paginationNew2022-11-22

Actions
Copied to openQA Project (public) - action #119431: Inform users e.g. in the webUI if not all results are returned size:MWorkable2022-10-26

Actions
Actions

Also available in: Atom PDF