Skip to content

Add PipelinePresenter#related_merge_request_text

drew stachon requested to merge drew/gitlab:mr-links-4-pipes into master

What does this MR do?

This MR closes #58059 by adding another method of finding related MergeRequest records to the PipelinePresenter.

Does this MR meet the acceptance criteria?

Conformity

Performance and Testing

This adds a query of the merge_requests table, but on two columns that have an index built for them so the performance hit shouldn't be notable. That being said, it does add a queryy of merge_requests to the Pipeline page for every non-merge-request Pipeline.

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 drew stachon

Merge request reports