Project

General

Profile

Actions

action #111833

closed

Allow tests/overview page to handle more than 500 jobs with result filter conditions size: M

Added by kraih almost 2 years ago. Updated almost 2 years ago.

Status:
Resolved
Priority:
Urgent
Assignee:
Category:
Feature requests
Target version:
Start date:
2022-05-31
Due date:
2022-06-16
% Done:

0%

Estimated time:

Description

Motivation

Since the patch from #110680 has been applied there are some use cases where the tests/overview page no longer works as expected by our users. This link for example should not be showing the limit warning. But it does because the SQL queries retrieving the jobs (and which apply the limit) do not consider certain filter conditions such as result yet. Those are handled by the unoptimised pure Perl aggregate code in a later step.

Acceptance criteria

  • AC1: This link does not trigger the result limit warning anymore
  • AC2: This link still does trigger the result limit warning

Suggestions

  • Do not revert the patch from #110680, since that would create a DoS vulnerability
  • Try to move the aggregate code into earlier SQL queries
  • Bonus points for moving more filter conditions from Perl to SQL
Actions

Also available in: Atom PDF