MR merged though became unmergeable during merge train pipeline

Hello everyone,

I was expecting to have it removed from the merge train as explained by the documentation.

Is there a bug or is the expected behaviour?

Steps to reproduce

I reproduced the problem in a test repo in two MRs:

In both cases, I’ve opened a thread after the merge train pipeline started and the MR was merged.

Note that if I tried to make the MR unmergeable by revoking an approval, then the MR would be dropped from the merge train, as it supposed to be. Cf this MR.

Relevant doc: Merge trains | GitLab

Versions

  • Self-managed
  • GitLab.com SaaS
  • Dedicated
  • Self-hosted Runners

Versions

  • GitLab Runner: 17.4.0