Skip to content

Resolve "Delete `pipeline.any_report_artifact_for_type` method"

What does this MR do?

fix for #199736 (closed)

The pipeline has an alternative method to fetch reports batch_lookup_report_artifact_for_file_type

We should use it since:

  1. It improves performance: it reduces SQL calls and loads all reports in memory.
  2. We'll unify the way we fetch reports in different features.

Screenshots

Does this MR meet the acceptance criteria?

Conformity

Availability and Testing

Security

If this MR contains changes to processing or storing of credentials or tokens, authorization and authentication methods and other items described in the security review guidelines:

  • [-] Label as security and @ mention @gitlab-com/gl-security/appsec
  • [-] The MR includes necessary changes to maintain consistency between UI, API, email, or other methods
  • [-] Security reports checked/validated by a reviewer from the AppSec team
Edited by Tetiana Chupryna

Merge request reports