summaryrefslogtreecommitdiff
path: root/changelogs
diff options
context:
space:
mode:
authorKerri Miller <kerrizor@kerrizor.com>2019-05-07 16:06:53 +0000
committerJames Lopez <james@gitlab.com>2019-05-07 16:06:53 +0000
commit29f9d92642539eaa04bdb485425d6f1cd3b459fd (patch)
treec23954af03947e8af936e2c6428340c28dbf3aab /changelogs
parentf0ff33d8bf3c0fd2dae4f6c762f161b127aa88d7 (diff)
downloadgitlab-ce-29f9d92642539eaa04bdb485425d6f1cd3b459fd.tar.gz
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
Diffstat (limited to 'changelogs')
-rw-r--r--changelogs/unreleased/55127-add-delay-after-mr-creation-for-async-tasks-to-complete.yml5
1 files changed, 5 insertions, 0 deletions
diff --git a/changelogs/unreleased/55127-add-delay-after-mr-creation-for-async-tasks-to-complete.yml b/changelogs/unreleased/55127-add-delay-after-mr-creation-for-async-tasks-to-complete.yml
new file mode 100644
index 00000000000..ac3bb596842
--- /dev/null
+++ b/changelogs/unreleased/55127-add-delay-after-mr-creation-for-async-tasks-to-complete.yml
@@ -0,0 +1,5 @@
+---
+title: Wait for pipeline creation to complete before accepting a MR via API
+merge_request: 27978
+author: kerrizor
+type: fixed