Skip to content

Rename ambiguous association names in Ci::Pipeline

What does this MR do?

Ci::Pipeline#merge_requests method returns merge requests which are associated with head pipelines. However, it's hard to guess from the association name how it behaves. In addition, we're going towards to "Pipelines for merge requests" architecture, which means each pipeline belongs to one merge request. In order to avoid the confusion across the transition period, we should give the old association name something explicit.

What are the relevant issue numbers?

Related: https://gitlab.com/gitlab-org/gitlab-ee/issues/7380

EE pipeline check

https://gitlab.com/gitlab-org/gitlab-ee/merge_requests/9844

Does this MR meet the acceptance criteria?

Edited by Kamil Trzciński

Merge request reports