Project

General

Profile

action #114421

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 2 months ago. Updated 24 days ago.

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

0%

Estimated time:
Difficulty:

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

Related to openQA Project - action #113189: Research where we need limits size:SResolved2022-07-04

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

History

#1 Updated by okurz 2 months ago

  • Copied from action #111770: Limit finished tests on /tests, but query configurable and show complete number of jobs size:S added

#2 Updated by okurz 2 months ago

  • Related to action #113189: Research where we need limits size:S added

#3 Updated by okurz 2 months ago

  • Description updated (diff)
  • Status changed from New to Blocked
  • Assignee set to okurz

#4 Updated by okurz about 2 months ago

  • Status changed from Blocked to Workable
  • Assignee deleted (okurz)

#111770 resolved, work can continue

#5 Updated by cdywan about 1 month ago

  • Subject changed from Add a limit where it makes sense after we have it for /tests, query configurable to Add a limit where it makes sense after we have it for /tests, query configurable size:M
  • Description updated (diff)

#6 Updated by mkittler 24 days ago

  • Description updated (diff)

#7 Updated by mkittler 24 days ago

  • Assignee set to robert.richardson

Also available in: Atom PDF