Pipeline security report doesn't load when there's a large number of reports
Summary
This is a follow-up to https://gitlab.com/gitlab-org/gitlab/-/issues/238156. The related issue has fixed the bug for the majority of cases, however there are still situations when the error might appear.
More specifically, the results are only failing to load when there are over 12 jobs producing reports.
Steps to reproduce
- Open a new MR
- Run a pipeline for this MR with 12+ security reports.
- Go to the security tab on the pipeline page
Example Project
https://gitlab.com/gitlab-org/gitlab/-/pipelines/201133369/security
What is the current bug behavior?
The following error shows in the vulnerabilities table:
Error fetching the vulnerability list. Please check your network connection and try again.
What is the expected correct behavior?
Vulnerabilities are loaded into the table.
Relevant logs and/or screenshots
Output of checks
This bug happens on GitLab.com
Possible fixes
Edited by Thiago Figueiró