Skip to content

Resolve "GraphQL: getting MR diff discussions often returns 500"

What does this MR do?

A small MVC for: #298827 (closed)

When we ask GraphQL for discussions (including position) on an MR where the source project is a fork, the API call fails with 500 Internal Server Error.

Screenshots (strongly suggested)

N/A

Does this MR meet the acceptance criteria?

Conformity

Availability and Testing

Security

If this MR contains changes to processing or storing of credentials or tokens, authorization and authentication methods and other items described in the security review guidelines:

  • Label as security and @ mention @gitlab-com/gl-security/appsec
  • The MR includes necessary changes to maintain consistency between UI, API, email, or other methods
  • Security reports checked/validated by a reviewer from the AppSec team

Related to #298827 (closed)

Edited by David O'Regan

Merge request reports