From 4cf8d931aa8511aa93b8504e940d2f5ddfee7b4c Mon Sep 17 00:00:00 2001 From: GitLab Bot Date: Tue, 7 Nov 2023 21:10:15 +0000 Subject: Add latest changes from gitlab-org/gitlab@master --- app/graphql/mutations/merge_requests/accept.rb | 4 ++++ 1 file changed, 4 insertions(+) (limited to 'app/graphql/mutations/merge_requests/accept.rb') diff --git a/app/graphql/mutations/merge_requests/accept.rb b/app/graphql/mutations/merge_requests/accept.rb index 220ebea22c7..604fdd49f45 100644 --- a/app/graphql/mutations/merge_requests/accept.rb +++ b/app/graphql/mutations/merge_requests/accept.rb @@ -9,6 +9,10 @@ module Mutations Accepts a merge request. When accepted, the source branch will be scheduled to merge into the target branch, either immediately if possible, or using one of the automatic merge strategies. + + [In GitLab 16.5](https://gitlab.com/gitlab-org/gitlab/-/issues/421510), the merging happens asynchronously. + This results in `mergeRequest` and `state` not updating after a mutation request, + because the merging may not have happened yet. DESC NOT_MERGEABLE = 'This branch cannot be merged' -- cgit v1.2.3