Skip to content

Revert "Improve GQL query for fetching groups and projects"

Mireya Andres requested to merge revert-job-token-search-limitation into master

Purpose of revert

We're seeing a recent high spike in 503 errors relating to the getTokenAccessGroupsAndProjects GraphQL operation. These are related to ActiveRecord::QueryCanceled errors.

See gitlab-com/gl-infra/production#18446 (closed).

We're reverting this MR to bring back functionality to this query.

Checklist

Milestone info

  • I am reverting something in the current milestone. No changelog is needed, and I've added a ~"regression:*" label.
  • [-] I am reverting something in a different milestone. A changelog is needed, and I've removed the ~"regression:*" label.

Related issues and merge requests

Edited by Mireya Andres

Merge request reports

Loading