Skip to content

GraphQL query times out in MR page

GraphQL query times out in MR page

  1. Go to !73756 (merged) (Firefox 98.0.1)

Screen_Shot_2022-03-15_at_10.59.15_PM

GraphQL query
[
	{
		"operationName": "mergeRequestTodos",
		"query": "query mergeRequestTodos($fullPath: ID!, $iid: String!) {\n  workspace: project(fullPath: $fullPath) {\n    __typename\n    id\n    issuable: mergeRequest(iid: $iid) {\n      __typename\n      id\n      currentUserTodos(state: pending) {\n        nodes {\n          id\n          __typename\n        }\n        __typename\n      }\n    }\n  }\n}\n",
		"variables": {
			"fullPath": "gitlab-org/gitlab",
			"iid": "73756"
		}
	},
	{
		"operationName": "mergeRequestLabels",
		"query": "query mergeRequestLabels($fullPath: ID!, $iid: String!) {\n  workspace: project(fullPath: $fullPath) {\n    id\n    issuable: mergeRequest(iid: $iid) {\n      id\n      labels {\n        nodes {\n          ...Label\n          __typename\n        }\n        __typename\n      }\n      __typename\n    }\n    __typename\n  }\n}\n\nfragment Label on Label {\n  id\n  title\n  description\n  color\n  textColor\n  __typename\n}\n",
		"variables": {
			"fullPath": "gitlab-org/gitlab",
			"iid": "73756"
		}
	},
	{
		"operationName": "mergeRequestMilestone",
		"query": "query mergeRequestMilestone($fullPath: ID!, $iid: String!) {\n  workspace: project(fullPath: $fullPath) {\n    __typename\n    id\n    issuable: mergeRequest(iid: $iid) {\n      __typename\n      id\n      attribute: milestone {\n        ...MilestoneFragment\n        __typename\n      }\n    }\n  }\n}\n\nfragment MilestoneFragment on Milestone {\n  id\n  title\n  webUrl: webPath\n  dueDate\n  expired\n  __typename\n}\n",
		"variables": {
			"fullPath": "gitlab-org/gitlab",
			"iid": "73756"
		}
	},
	{
		"operationName": "mergeRequestReference",
		"query": "query mergeRequestReference($fullPath: ID!, $iid: String!) {\n  workspace: project(fullPath: $fullPath) {\n    __typename\n    id\n    issuable: mergeRequest(iid: $iid) {\n      __typename\n      id\n      reference(full: true)\n    }\n  }\n}\n",
		"variables": {
			"fullPath": "gitlab-org/gitlab",
			"iid": "73756"
		}
	},
	{
		"operationName": "getMrParticipants",
		"query": "query getMrParticipants($fullPath: ID!, $iid: String!) {\n  workspace: project(fullPath: $fullPath) {\n    id\n    issuable: mergeRequest(iid: $iid) {\n      id\n      participants {\n        nodes {\n          ...User\n          ...UserAvailability\n          __typename\n        }\n        __typename\n      }\n      __typename\n    }\n    __typename\n  }\n}\n\nfragment User on User {\n  id\n  avatarUrl\n  name\n  username\n  webUrl\n  __typename\n}\n\nfragment UserAvailability on User {\n  status {\n    availability\n    __typename\n  }\n  __typename\n}\n",
		"variables": {
			"fullPath": "gitlab-org/gitlab",
			"iid": "73756"
		}
	},
	{
		"operationName": "mergeRequestSubscribed",
		"query": "query mergeRequestSubscribed($fullPath: ID!, $iid: String!) {\n  workspace: project(fullPath: $fullPath) {\n    __typename\n    id\n    issuable: mergeRequest(iid: $iid) {\n      __typename\n      id\n      subscribed\n    }\n  }\n}\n",
		"variables": {
			"fullPath": "gitlab-org/gitlab",
			"iid": "73756"
		}
	},
	{
		"operationName": "mergeRequestTimeTracking",
		"query": "query mergeRequestTimeTracking($fullPath: ID!, $iid: String!) {\n  workspace: project(fullPath: $fullPath) {\n    __typename\n    id\n    issuable: mergeRequest(iid: $iid) {\n      __typename\n      id\n      humanTimeEstimate\n      humanTotalTimeSpent\n      timeEstimate\n      totalTimeSpent\n    }\n  }\n}\n",
		"variables": {
			"fullPath": "gitlab-org/gitlab",
			"iid": "73756"
		}
	}
]

</details>
Edited by Thong Kuah