Note that the Merge button stays enabled until the pipeline creations finishes. This video is from my GDK, and I've observed this behavior on gitlab.com as well.
@bsandlin@lauraXD it looks like the improvements we made last quarter have been undone I wrote up a summary in the description, but I'm not sure what happened yet. It might be related to the changes I made in Backend: Implement PipelineCreations::Request i... (#488392 - closed) (I'll investigate this). Do either of you know of any other changes that could have caused this?
cc @sunjungp since these were user experience improvements
However, I reverted that change and there still seems to be something wrong. The GraphQL subscription isn't updating as expected, and I'm not sure why. Thankfully, the data store is updating properly since that'd be the biggest headache to fix if it was broke
When I have a chance I'll take a deeper look into the recent changes to the MR pipeline mergeability checks
@bsandlin it doesn't trigger when the pipeline creation begins. Nothing seems to have changed around the line of code that's supposed to trigger it, but it just…doesn't work now
@lauraXD that could definitely be related Something very weird is going on here, possibly due to those changes. The creation request gets created IN_PROGRESS as expected, then gets set to FAILED (but it doesn't fail!), and then eventually when the pipeline is created it's set to SUCCEEDED
Is this why if I approve someone else's MR, and then set it to merge after pipeline, it gets blocked because it now says I the approver made a code change? This is making it impossible for me to manage MRs for the project I work on.
@lauraXD@bsandlin@sunjungp I'm now more confused than ever I spent a while investigating this issue and realized that a line related to the merge_pipelines feature being available was returning false for me. Apparently I'd lost the Ultimate license I used to have on my GDK. So I re-added it and…everything started working as expected
@bsandlin oh boy Well…I'm going to pause my active investigation on this issue and observe the MRs I maintain in gitlab-org/gitlab. If I don't see the regression occur over a few week's time I'll close this issue