Failures in spec/requests/api/graphql/mutations/merge_requests/set_assignees_spec.rb:119 and 141 and 160
<!--IssueSummary start--> <details> <summary> Everyone can contribute. [Help move this issue forward](https://handbook.gitlab.com/handbook/marketing/developer-relations/contributor-success/community-contributors-workflows/#contributor-links) while earning points, leveling up and collecting rewards. </summary> - [Close this issue](https://contributors.gitlab.com/manage-issue?action=close&projectId=278964&issueIid=446115) </details> <!--IssueSummary end--> This test `spec/requests/api/graphql/mutations/merge_requests/set_assignees_spec.rb:119` and line 141 and 160 can only pass with `rspec-retry` and it'll not pass locally, failing with: https://gitlab.com/gitlab-org/gitlab/-/jobs/6324433092 ``` 3) Setting assignees of a merge request when passing an empty list of assignees removes assignee Failure/Error: expect(recorder.count).to be <= db_query_limit expected: <= 35 got: 37 # ./spec/requests/api/graphql/mutations/merge_requests/set_assignees_spec.rb:55:in `run_mutation!' # ./spec/requests/api/graphql/mutations/merge_requests/set_assignees_spec.rb:120:in `block (3 levels) in <top (required)>' ``` And ``` 2) Setting assignees of a merge request when passing append as true does not replace the assignee in CE Failure/Error: expect(recorder.count).to be <= db_query_limit expected: <= 26 got: 29 # ./spec/requests/api/graphql/mutations/merge_requests/set_assignees_spec.rb:55:in `run_mutation!' # ./spec/requests/api/graphql/mutations/merge_requests/set_assignees_spec.rb:142:in `block (3 levels) in <main>' ``` And ``` 2) Setting assignees of a merge request when passing remove as true removes the users in the list, while adding none Failure/Error: expect(recorder.count).to be <= db_query_limit expected: <= 34 got: 37 # ./spec/requests/api/graphql/mutations/merge_requests/set_assignees_spec.rb:55:in `run_mutation!' # ./spec/requests/api/graphql/mutations/merge_requests/set_assignees_spec.rb:161:in `block (3 levels) in <main>' ``` It's quarantined in https://gitlab.com/gitlab-org/gitlab/-/merge_requests/145653
issue