N+1 issue in pipeline_vulnerabilities_finder
When fetching vulnerability_findings (which we do on the pipeline show page), then we try to fetch vulnerabilities_by_finding_fingerprint. This seems to cause N+1 issue, perhaps because there may be many requested_reports through which the block iterates - so this may cause up to >3000 queries per request - https://log.gprd.gitlab.net/app/dashboards#/view/823ed530-655a-11eb-a318-db81ec4462fa?_g=h@e78830b&_a=h@f9a5a9b:
Would it be possible to update the query so we don't have to iterate through all request reports?