Resolve "[Investigation] Split out mergeable/mergeable_state into more cohesive methods"
requested to merge 358237-investigation-split-out-mergeable-mergeable_state-into-more-cohesive-methods-1 into master
Related to #358237 (closed)
Production issue comment: gitlab-com/gl-infra/production#6788 (comment 905268171)
When we are creating a merge pipeline, we only care if the merge request is 'git mergeable'. So instead of catching all the additional checks that may be added to mergeable_state
, we split out part of the mergeable_state
into a new method and use this for the check.
Edited by Marc Shaw