Skip to content

Add new detailed merge request state

Marc Shaw requested to merge add_new_detailed_merge_status_type into master

What does this MR do and why?

Following on from this conversation (!96778 (comment 1093063523)) we need to add a new state to the detailed merge status.

TLDR:

Frontend shows 'Merge when pipeline succeeds' when it is all the mergeable checks pass (bar CI), and the CI is currently running.

This means, in the backend to replicate this state, we need to run all the merge checks (bar CI) first, then check CI, if CI passes, then it is mergeable, otherwise if the pipeline is running, then it is the new state, otherwise it is the old pipeline failed state.

Edited by Marc Shaw

Merge request reports

Loading