Renvoate automerge do not merge after has been approved

Renvoate automerge do not merge after it has been approved

We have added Renovate to our private repository at work and we have identified what we see as a conflict with GitLab API or race condition, but I am not sure.

  • Renovate create the MR and set auto-merge on success, at this point I think is not up to Renovate to continue or not but to GitLab to finish the MR and merge on success

  • Pipeline has finished and the last activity according to GitLab on the MR is “ approved this merge request 51 minutes ago”

  • MR does not show that has been approved, so it does not get merged.

the problem is not consistent and other MRs have had the same behaviour and they have got approved and merged by the Renovate user.

Does anyone have any thoughts?

This issue has already been reported Merge Request approval lost if approved too quickly after commit (#395506) · Issues · GitLab.org / GitLab · GitLab and the fix is [Feature flag] Enable reset_approvals_patch_id (#426874) · Issues · GitLab.org / GitLab · GitLab

Related issues Merge Request approval lost if approved too quickly after commit (#395506) · Issues · GitLab.org / GitLab · GitLab and it’s fixed in 16.7 I think here [Feature flag] Enable reset_approvals_patch_id (#426874) · Issues · GitLab.org / GitLab · GitLab