Skip to content
Commit 29f9d926 authored by Kerri Miller's avatar Kerri Miller Committed by James Lopez
Browse files

Confirm existence of head_pipeline if pipeline success required

Pipelines are created by an async worker, so a rapid sequence of API
calls can trigger a state where the pipeline, whose existence is part of
determining if we wait for the pipeline to successfully complete before
merging, can trigger the MR to be immediately merged instead.

Closes https://gitlab.com/gitlab-org/gitlab-ce/issues/55127
parent f0ff33d8
Loading
Loading
Loading