Skip to content

Refactor the logic of updating head pipelines for merge requests

Shinya Maeda requested to merge user-update-head-pipeline-worker-2 into master

What does this MR do?

  • Use centuralized method MergeRequest#update_head_pipeline
  • Filter with sha, for finding the real latest pipeline

This MR is an important refactoring for https://gitlab.com/gitlab-org/gitlab-ce/merge_requests/23217 Deliverable issue/MRs

Because it addresses the following concerns

What are the relevant issue numbers?

Related: https://gitlab.com/gitlab-org/gitlab-ce/issues/15310

Does this MR meet the acceptance criteria?

Edited by Shinya Maeda

Merge request reports