-
Notifications
You must be signed in to change notification settings - Fork 704
Closed
Labels
bugIssue identified by VS Code Team member as probable bugIssue identified by VS Code Team member as probable bugverifiedVerification succeededVerification succeeded
Milestone
Description
- Run the Create Pull Request command when there are no commits between the current branch and a PR branch (this happens for me accidentally when there are hygiene errors that prevent the commit in the VS Code repo)
- 🐛 The progress notification never goes away
- 🐛 Turn on debug logging, see thousands of lines of GraphQL requests and the same rate limit number reported after each logged request as follows
Details
2023-05-24 14:54:33.852 [trace] GraphQL> Request: {
"mutation": {
"kind": "Document",
"definitions": [
{
"kind": "OperationDefinition",
"operation": "mutation",
"name": {
"kind": "Name",
"value": "CreatePullRequest"
},
"variableDefinitions": [
{
"kind": "VariableDefinition",
"variable": {
"kind": "Variable",
"name": {
"kind": "Name",
"value": "input"
}
},
"type": {
"kind": "NonNullType",
"type": {
"kind": "NamedType",
"name": {
"kind": "Name",
"value": "CreatePullRequestInput"
}
}
},
"directives": []
}
],
"directives": [],
"selectionSet": {
"kind": "SelectionSet",
"selections": [
{
"kind": "Field",
"name": {
"kind": "Name",
"value": "createPullRequest"
},
"arguments": [
{
"kind": "Argument",
"name": {
"kind": "Name",
"value": "input"
},
"value": {
"kind": "Variable",
"name": {
"kind": "Name",
"value": "input"
}
}
}
],
"directives": [],
"selectionSet": {
"kind": "SelectionSet",
"selections": [
{
"kind": "Field",
"name": {
"kind": "Name",
"value": "pullRequest"
},
"arguments": [],
"directives": [],
"selectionSet": {
"kind": "SelectionSet",
"selections": [
{
"kind": "FragmentSpread",
"name": {
"kind": "Name",
"value": "PullRequestFragment"
},
"directives": []
}
]
}
}
]
}
}
]
}
},
{
"kind": "FragmentDefinition",
"name": {
"kind": "Name",
"value": "PullRequestFragment"
},
"typeCondition": {
"kind": "NamedType",
"name": {
"kind": "Name",
"value": "PullRequest"
}
},
"directives": [],
"selectionSet": {
"kind": "SelectionSet",
"selections": [
{
"kind": "Field",
"name": {
"kind": "Name",
"value": "number"
},
"arguments": [],
"directives": []
},
{
"kind": "Field",
"name": {
"kind": "Name",
"value": "url"
},
"arguments": [],
"directives": []
},
{
"kind": "Field",
"name": {
"kind": "Name",
"value": "state"
},
"arguments": [],
"directives": []
},
{
"kind": "Field",
"name": {
"kind": "Name",
"value": "body"
},
"arguments": [],
"directives": []
},
{
"kind": "Field",
"name": {
"kind": "Name",
"value": "bodyHTML"
},
"arguments": [],
"directives": []
},
{
"kind": "Field",
"name": {
"kind": "Name",
"value": "titleHTML"
},
"arguments": [],
"directives": []
},
{
"kind": "Field",
"name": {
"kind": "Name",
"value": "title"
},
"arguments": [],
"directives": []
},
{
"kind": "Field",
"name": {
"kind": "Name",
"value": "author"
},
"arguments": [],
"directives": [],
"selectionSet": {
"kind": "SelectionSet",
"selections": [
{
"kind": "Field",
"name": {
"kind": "Name",
"value": "login"
},
"arguments": [],
"directives": []
},
{
"kind": "Field",
"name": {
"kind": "Name",
"value": "url"
},
"arguments": [],
"directives": []
},
{
"kind": "Field",
"name": {
"kind": "Name",
"value": "avatarUrl"
},
"arguments": [],
"directives": []
},
{
"kind": "InlineFragment",
"typeCondition": {
"kind": "NamedType",
"name": {
"kind": "Name",
"value": "User"
}
},
"directives": [],
"selectionSet": {
"kind": "SelectionSet",
"selections": [
{
"kind": "Field",
"name": {
"kind": "Name",
"value": "email"
},
"arguments": [],
"directives": []
}
]
}
},
{
"kind": "InlineFragment",
"typeCondition": {
"kind": "NamedType",
"name": {
"kind": "Name",
"value": "Organization"
}
},
"directives": [],
"selectionSet": {
"kind": "SelectionSet",
"selections": [
{
"kind": "Field",
"name": {
"kind": "Name",
"value": "email"
},
"arguments": [],
"directives": []
}
]
}
}
]
}
},
{
"kind": "Field",
"name": {
"kind": "Name",
"value": "createdAt"
},
"arguments": [],
"directives": []
},
{
"kind": "Field",
"name": {
"kind": "Name",
"value": "updatedAt"
},
"arguments": [],
"directives": []
},
{
"kind": "Field",
"name": {
"kind": "Name",
"value": "headRef"
},
"arguments": [],
"directives": [],
"selectionSet": {
"kind": "SelectionSet",
"selections": [
{
"kind": "FragmentSpread",
"name": {
"kind": "Name",
"value": "Ref"
},
"directives": []
}
]
}
},
{
"kind": "Field",
"name": {
"kind": "Name",
"value": "headRefName"
},
"arguments": [],
"directives": []
},
{
"kind": "Field",
"name": {
"kind": "Name",
"value": "headRefOid"
},
"arguments": [],
"directives": []
},
{
"kind": "Field",
"name": {
"kind": "Name",
"value": "headRepository"
},
"arguments": [],
"directives": [],
"selectionSet": {
"kind": "SelectionSet",
"selections": [
{
"kind": "Field",
"name": {
"kind": "Name",
"value": "isInOrganization"
},
"arguments": [],
"directives": []
},
{
"kind": "Field",
"name": {
"kind": "Name",
"value": "owner"
},
"arguments": [],
"directives": [],
"selectionSet": {
"kind": "SelectionSet",
"selections": [
{
"kind": "Field",
"name": {
"kind": "Name",
"value": "login"
},
"arguments": [],
"directives": []
}
]
}
},
{
"kind": "Field",
"name": {
"kind": "Name",
"value": "url"
},
"arguments": [],
"directives": []
}
]
}
},
{
"kind": "Field",
"name": {
"kind": "Name",
"value": "baseRef"
},
"arguments": [],
"directives": [],
"selectionSet": {
"kind": "SelectionSet",
"selections": [
{
"kind": "FragmentSpread",
"name": {
"kind": "Name",
"value": "Ref"
},
"directives": []
}
]
}
},
{
"kind": "Field",
"name": {
"kind": "Name",
"value": "baseRefName"
},
"arguments": [],
"directives": []
},
{
"kind": "Field",
"name": {
"kind": "Name",
"value": "baseRefOid"
},
"arguments": [],
"directives": []
},
{
"kind": "Field",
"name": {
"kind": "Name",
"value": "baseRepository"
},
"arguments": [],
"directives": [],
"selectionSet": {
"kind": "SelectionSet",
"selections": [
{
"kind": "Field",
"name": {
"kind": "Name",
"value": "isInOrganization"
},
"arguments": [],
"directives": []
},
{
"kind": "Field",
"name": {
"kind": "Name",
"value": "owner"
},
"arguments": [],
"directives": [],
"selectionSet": {
"kind": "SelectionSet",
"selections": [
{
"kind": "Field",
"name": {
"kind": "Name",
"value": "login"
},
"arguments": [],
"directives": []
}
]
}
},
{
"kind": "Field",
"name": {
"kind": "Name",
"value": "url"
},
"arguments": [],
"directives": []
}
]
}
},
{
"kind": "Field",
"name": {
"kind": "Name",
"value": "labels"
},
"arguments": [
{
"kind": "Argument",
"name": {
"kind": "Name",
"value": "first"
},
"value": {
"kind": "IntValue",
"value": "50"
}
}
],
"directives": [],
"selectionSet": {
"kind": "SelectionSet",
"selections": [
{
"kind": "Field",
"name": {
"kind": "Name",
"value": "nodes"
},
"arguments": [],
"directives": [],
"selectionSet": {
"kind": "SelectionSet",
"selections": [
{
"kind": "Field",
"name": {
"kind": "Name",
"value": "name"
},
"arguments": [],
"directives": []
},
{
"kind": "Field",
"name": {
"kind": "Name",
"value": "color"
},
"arguments": [],
"directives": []
}
]
}
}
]
}
},
{
"kind": "Field",
"name": {
"kind": "Name",
"value": "merged"
},
"arguments": [],
"directives": []
},
{
"kind": "Field",
"name": {
"kind": "Name",
"value": "mergeable"
},
"arguments": [],
"directives": []
},
{
"kind": "Field",
"name": {
"kind": "Name",
"value": "mergeStateStatus"
},
"arguments": [],
"directives": []
},
{
"kind": "Field",
"name": {
"kind": "Name",
"value": "autoMergeRequest"
},
"arguments": [],
"directives": [],
"selectionSet": {
"kind": "SelectionSet",
"selections": [
{
"kind": "Field",
"name": {
"kind": "Name",
"value": "mergeMethod"
},
"arguments": [],
"directives": []
}
]
}
},
{
"kind": "Field",
"name": {
"kind": "Name",
"value": "viewerCanEnableAutoMerge"
},
"arguments": [],
"directives": []
},
{
"kind": "Field",
"name": {
"kind": "Name",
"value": "viewerCanDisableAutoMerge"
},
"arguments": [],
"directives": []
},
{
"kind": "Field",
"name": {
"kind": "Name",
"value": "id"
},
"arguments": [],
"directives": []
},
{
"kind": "Field",
"name": {
"kind": "Name",
"value": "databaseId"
},
"arguments": [],
"directives": []
},
{
"kind": "Field",
"name": {
"kind": "Name",
"value": "isDraft"
},
"arguments": [],
"directives": []
},
{
"kind": "Field",
"name": {
"kind": "Name",
"value": "milestone"
},
"arguments": [],
"directives": [],
"selectionSet": {
"kind": "SelectionSet",
"selections": [
{
"kind": "Field",
"name": {
"kind": "Name",
"value": "title"
},
"arguments": [],
"directives": []
},
{
"kind": "Field",
"name": {
"kind": "Name",
"value": "dueOn"
},
"arguments": [],
"directives": []
},
{
"kind": "Field",
"name": {
"kind": "Name",
"value": "createdAt"
},
"arguments": [],
"directives": []
},
{
"kind": "Field",
"name": {
"kind": "Name",
"value": "id"
},
"arguments": [],
"directives": []
}
]
}
},
{
"kind": "Field",
"name": {
"kind": "Name",
"value": "assignees"
},
"arguments": [
{
"kind": "Argument",
"name": {
"kind": "Name",
"value": "first"
},
"value": {
"kind": "IntValue",
"value": "10"
}
}
],
"directives": [],
"selectionSet": {
"kind": "SelectionSet",
"selections": [
{
"kind": "Field",
"name": {
"kind": "Name",
"value": "nodes"
},
"arguments": [],
"directives": [],
"selectionSet": {
"kind": "SelectionSet",
"selections": [
{
"kind": "Field",
"name": {
"kind": "Name",
"value": "login"
},
"arguments": [],
"directives": []
},
{
"kind": "Field",
"name": {
"kind": "Name",
"value": "name"
},
"arguments": [],
"directives": []
},
{
"kind": "Field",
"name": {
"kind": "Name",
"value": "avatarUrl"
},
"arguments": [],
"directives": []
},
{
"kind": "Field",
"name": {
"kind": "Name",
"value": "url"
},
"arguments": [],
"directives": []
},
{
"kind": "Field",
"name": {
"kind": "Name",
"value": "email"
},
"arguments": [],
"directives": []
}
]
}
}
]
}
},
{
"kind": "Field",
"name": {
"kind": "Name",
"value": "suggestedReviewers"
},
"arguments": [],
"directives": [],
"selectionSet": {
"kind": "SelectionSet",
"selections": [
{
"kind": "Field",
"name": {
"kind": "Name",
"value": "isAuthor"
},
"arguments": [],
"directives": []
},
{
"kind": "Field",
"name": {
"kind": "Name",
"value": "isCommenter"
},
"arguments": [],
"directives": []
},
{
"kind": "Field",
"name": {
"kind": "Name",
"value": "reviewer"
},
"arguments": [],
"directives": [],
"selectionSet": {
"kind": "SelectionSet",
"selections": [
{
"kind": "Field",
"name": {
"kind": "Name",
"value": "login"
},
"arguments": [],
"directives": []
},
{
"kind": "Field",
"name": {
"kind": "Name",
"value": "avatarUrl"
},
"arguments": [],
"directives": []
},
{
"kind": "Field",
"name": {
"kind": "Name",
"value": "name"
},
"arguments": [],
"directives": []
},
{
"kind": "Field",
"name": {
"kind": "Name",
"value": "url"
},
"arguments": [],
"directives": []
}
]
}
}
]
}
}
]
}
},
{
"kind": "FragmentDefinition",
"name": {
"kind": "Name",
"value": "Ref"
},
"typeCondition": {
"kind": "NamedType",
"name": {
"kind": "Name",
"value": "Ref"
}
},
"directives": [],
"selectionSet": {
"kind": "SelectionSet",
"selections": [
{
"kind": "Field",
"name": {
"kind": "Name",
"value": "name"
},
"arguments": [],
"directives": []
},
{
"kind": "Field",
"name": {
"kind": "Name",
"value": "repository"
},
"arguments": [],
"directives": [],
"selectionSet": {
"kind": "SelectionSet",
"selections": [
{
"kind": "Field",
"name": {
"kind": "Name",
"value": "owner"
},
"arguments": [],
"directives": [],
"selectionSet": {
"kind": "SelectionSet",
"selections": [
{
"kind": "Field",
"name": {
"kind": "Name",
"value": "login"
},
"arguments": [],
"directives": []
}
]
}
},
{
"kind": "Field",
"name": {
"kind": "Name",
"value": "url"
},
"arguments": [],
"directives": []
}
]
}
},
{
"kind": "Field",
"name": {
"kind": "Name",
"value": "target"
},
"arguments": [],
"directives": [],
"selectionSet": {
"kind": "SelectionSet",
"selections": [
{
"kind": "Field",
"name": {
"kind": "Name",
"value": "oid"
},
"arguments": [],
"directives": []
}
]
}
}
]
}
}
],
"loc": {
"start": 0,
"end": 23226,
"source": {
"body": "# /*---------------------------------------------------------------------------------------------\n# * Copyright (c) Microsoft Corporation. All rights reserved.\n# * Licensed under the MIT License. See License.txt in the project root for license information.\n# *--------------------------------------------------------------------------------------------*/\n\nfragment Merged on MergedEvent {\n\tid\n\tactor {\n\t\tlogin\n\t\tavatarUrl\n\t\turl\n\t}\n\tcreatedAt\n\tmergeRef {\n\t\tname\n\t}\n\tcommit {\n\t\toid\n\t\tcommitUrl\n\t}\n\turl\n}\n\nfragment HeadRefDeleted on HeadRefDeletedEvent {\n\tid\n\tactor {\n\t\tlogin\n\t\tavatarUrl\n\t\turl\n\t}\n\tcreatedAt\n\theadRefName\n}\n\nfragment Ref on Ref {\n\tname\n\trepository {\n\t\towner {\n\t\t\tlogin\n\t\t}\n\t\turl\n\t}\n\ttarget {\n\t\toid\n\t}\n}\n\nfragment Comment on IssueComment {\n\tid\n\tdatabaseId\n\tauthorAssociation\n\tauthor {\n\t\tlogin\n\t\tavatarUrl\n\t\turl\n\t\t... on User {\n\t\t\temail\n\t\t}\n\t\t... on Organization {\n\t\t\temail\n\t\t}\n\t}\n\turl\n\tbody\n\tbodyHTML\n\tupdatedAt\n\tcreatedAt\n\tviewerCanUpdate\n\tviewerCanReact\n\tviewerCanDelete\n}\n\nfragment Commit on PullRequestCommit {\n\tid\n\tcommit {\n\t\tauthor {\n\t\t\tuser {\n\t\t\t\tlogin\n\t\t\t\tavatarUrl\n\t\t\t\turl\n\t\t\t\temail\n\t\t\t}\n\t\t}\n\t\tcommitter {\n\t\t\tavatarUrl\n\t\t\tname\n\t\t}\n\t\toid\n\t\tmessage\n\t\tauthoredDate\n\t}\n\turl\n}\n\nfragment AssignedEvent on AssignedEvent {\n\tid\n\tactor {\n\t\tlogin\n\t\tavatarUrl\n\t\turl\n\t}\n\tuser {\n\t\tlogin\n\t\tavatarUrl\n\t\turl\n\t}\n}\n\nfragment Review on PullRequestReview {\n\tid\n\tdatabaseId\n\tauthorAssociation\n\turl\n\tauthor {\n\t\tlogin\n\t\tavatarUrl\n\t\turl\n\t\t... on User {\n\t\t\temail\n\t\t}\n\t\t... on Organization {\n\t\t\temail\n\t\t}\n\t}\n\tstate\n\tbody\n\tbodyHTML\n\tsubmittedAt\n\tupdatedAt\n\tcreatedAt\n}\n\nfragment Reactable on Reactable {\n\treactionGroups {\n\t\tcontent\n\t\tviewerHasReacted\n\t\tusers {\n\t\t\ttotalCount\n\t\t}\n\t}\n}\n\nfragment ReviewThread on PullRequestReviewThread {\n\tid\n\tisResolved\n\tviewerCanResolve\n\tviewerCanUnresolve\n\tpath\n\tdiffSide\n\tline\n\tstartLine\n\toriginalStartLine\n\toriginalLine\n\tisOutdated\n\tsubjectType\n\tcomments(first: 100) {\n\t\tnodes {\n\t\t\t...ReviewComment\n\t\t}\n\t}\n}\n\nfragment LegacyReviewThread on PullRequestReviewThread {\n\tid\n\tisResolved\n\tviewerCanResolve\n\tviewerCanUnresolve\n\tpath\n\tdiffSide\n\tline\n\tstartLine\n\toriginalStartLine\n\toriginalLine\n\tisOutdated\n\tcomments(first: 100) {\n\t\tnodes {\n\t\t\t...ReviewComment\n\t\t}\n\t}\n}\n\nfragment PullRequestFragment on PullRequest {\n\tnumber\n\turl\n\tstate\n\tbody\n\tbodyHTML\n\ttitleHTML\n\ttitle\n\tauthor {\n\t\tlogin\n\t\turl\n\t\tavatarUrl\n\t\t... on User {\n\t\t\temail\n\t\t}\n\t\t... on Organization {\n\t\t\temail\n\t\t}\n\t}\n\tcreatedAt\n\tupdatedAt\n\theadRef {\n\t\t...Ref\n\t}\n\theadRefName\n\theadRefOid\n\theadRepository {\n\t\tisInOrganization\n\t\towner {\n\t\t\tlogin\n\t\t}\n\t\turl\n\t}\n\tbaseRef {\n\t\t...Ref\n\t}\n\tbaseRefName\n\tbaseRefOid\n\tbaseRepository {\n\t\tisInOrganization\n\t\towner {\n\t\t\tlogin\n\t\t}\n\t\turl\n\t}\n\tlabels(first: 50) {\n\t\tnodes {\n\t\t\tname\n\t\t\tcolor\n\t\t}\n\t}\n\tmerged\n\tmergeable\n\tmergeStateStatus\n\tautoMergeRequest {\n\t\tmergeMethod\n\t}\n\tviewerCanEnableAutoMerge\n\tviewerCanDisableAutoMerge\n\tid\n\tdatabaseId\n\tisDraft\n\tmilestone {\n\t\ttitle\n\t\tdueOn\n\t\tcreatedAt\n\t\tid\n\t}\n\tassignees(first: 10) {\n\t\tnodes {\n\t\t\tlogin\n\t\t\tname\n\t\t\tavatarUrl\n\t\t\turl\n\t\t\temail\n\t\t}\n\t}\n\tsuggestedReviewers {\n\t\tisAuthor\n\t\tisCommenter\n\t\treviewer {\n\t\t\tlogin\n\t\t\tavatarUrl\n\t\t\tname\n\t\t\turl\n\t\t}\n\t}\n}\n\nquery TimelineEvents($owner: String!, $name: String!, $number: Int!, $last: Int = 150) {\n\trepository(owner: $owner, name: $name) {\n\t\tpullRequest(number: $number) {\n\t\t\ttimelineItems(last: $last) {\n\t\t\t\tnodes {\n\t\t\t\t\t__typename\n\t\t\t\t\t...Merged\n\t\t\t\t\t...Comment\n\t\t\t\t\t...Review\n\t\t\t\t\t...Commit\n\t\t\t\t\t...AssignedEvent\n\t\t\t\t\t...HeadRefDeleted\n\t\t\t\t}\n\t\t\t}\n\t\t}\n\t}\n\trateLimit {\n\t\tlimit\n\t\tcost\n\t\tremaining\n\t\tresetAt\n\t}\n}\n\nquery IssueTimelineEvents($owner: String!, $name: String!, $number: Int!, $last: Int = 150) {\n\trepository(owner: $owner, name: $name) {\n\t\tpullRequest: issue(number: $number) {\n\t\t\ttimelineItems(last: $last) {\n\t\t\t\tnodes {\n\t\t\t\t\t__typename\n\t\t\t\t\t...Comment\n\t\t\t\t\t...AssignedEvent\n\t\t\t\t}\n\t\t\t}\n\t\t}\n\t}\n\trateLimit {\n\t\tlimit\n\t\tcost\n\t\tremaining\n\t\tresetAt\n\t}\n}\n\nquery LatestReviewCommit($owner: String!, $name: String!, $number: Int!) {\n\trepository(owner: $owner, name: $name) {\n\t\tpullRequest(number: $number) {\n\t\t\tviewerLatestReview {\n\t\t\t\tcommit {\n\t\t\t\t\toid\n\t\t\t\t}\n\t\t\t}\n\t\t}\n\t}\n\trateLimit {\n\t\tlimit\n\t\tcost\n\t\tremaining\n\t\tresetAt\n\t}\n}\n\nquery LatestReviews($owner: String!, $name: String!, $number: Int!) {\n\trepository(owner: $owner, name: $name) {\n\t\tpullRequest(number: $number) {\n\t\t\tlatestReviews (first: 10) {\n\t\t\t\tnodes {\n\t\t\t\t\tstate\n\t\t\t\t}\n\t\t\t}\n\t\t}\n\t}\n\trateLimit {\n\t\tlimit\n\t\tcost\n\t\tremaining\n\t\tresetAt\n\t}\n}\n\nquery GetOrganizationTeamsCount($login: String!) {\n\torganization(login: $login) {\n\t\tteams(first: 0, privacy: VISIBLE) {\n\t\t\ttotalCount\n\t\t}\n\t}\n}\n\nquery GetOrganizationTeams($login: String!, $after: String, $repoName: String!) {\n\torganization(login: $login) {\n\t\tteams(first: 100, after: $after, privacy: VISIBLE) {\n\t\t\tnodes {\n\t\t\t\tname\n\t\t\t\tavatarUrl\n\t\t\t\turl\n\t\t\t\trepositories(first: 5, query: $repoName) {\n\t\t\t\t\tnodes {\n\t\t\t\t\t\tname\n\t\t\t\t\t}\n\t\t\t\t}\n\t\t\t\tslug\n\t\t\t\tid\n\t\t\t}\n\t\t\ttotalCount\n\t\t\tpageInfo {\n\t\t\t\thasNextPage\n\t\t\t\tendCursor\n\t\t\t}\n\t\t}\n\t}\n\trateLimit {\n\t\tlimit\n\t\tcost\n\t\tremaining\n\t\tresetAt\n\t}\n}\n\nquery GetReviewRequestsAdditionalScopes($owner: String!, $name: String!, $number: Int!) {\n\trepository(owner: $owner, name: $name) {\n\t\tpullRequest(number: $number) {\n\t\t\treviewRequests(first: 100) {\n\t\t\t\tnodes {\n\t\t\t\t\trequestedReviewer {\n\t\t\t\t\t\t... on User {\n\t\t\t\t\t\t\tlogin\n\t\t\t\t\t\t\tavatarUrl\n\t\t\t\t\t\t\turl\n\t\t\t\t\t\t\temail\n\t\t\t\t\t\t\tname\n\t\t\t\t\t\t}\n\t\t\t\t\t\t... on Team {\n\t\t\t\t\t\t\tname\n\t\t\t\t\t\t\tavatarUrl\n\t\t\t\t\t\t\turl\n\t\t\t\t\t\t\tslug\n\t\t\t\t\t\t\tid\n\t\t\t\t\t\t}\n\t\t\t\t\t}\n\t\t\t\t}\n\t\t\t}\n\t\t}\n\t}\n}\n\nquery GetReviewRequests($owner: String!, $name: String!, $number: Int!) {\n\trepository(owner: $owner, name: $name) {\n\t\tpullRequest(number: $number) {\n\t\t\treviewRequests(first: 100) {\n\t\t\t\tnodes {\n\t\t\t\t\trequestedReviewer {\n\t\t\t\t\t\t... on User {\n\t\t\t\t\t\t\tlogin\n\t\t\t\t\t\t\tavatarUrl\n\t\t\t\t\t\t\turl\n\t\t\t\t\t\t\temail\n\t\t\t\t\t\t\tname\n\t\t\t\t\t\t}\n\t\t\t\t\t}\n\t\t\t\t}\n\t\t\t}\n\t\t}\n\t}\n}\n\nfragment ReviewComment on PullRequestReviewComment {\n\tid\n\tdatabaseId\n\turl\n\tauthor {\n\t\tlogin\n\t\tavatarUrl\n\t\turl\n\t\t... on User {\n\t\t\temail\n\t\t}\n\t\t... on Organization {\n\t\t\temail\n\t\t}\n\t}\n\tpath\n\toriginalPosition\n\tbody\n\tbodyHTML\n\tdiffHunk\n\tposition\n\tstate\n\tpullRequestReview {\n\t\tdatabaseId\n\t}\n\tcommit {\n\t\toid\n\t}\n\treplyTo {\n\t\tdatabaseId\n\t}\n\tcreatedAt\n\toriginalCommit {\n\t\toid\n\t}\n\treactionGroups {\n\t\tcontent\n\t\tviewerHasReacted\n\t\tusers {\n\t\t\ttotalCount\n\t\t}\n\t}\n\tviewerCanUpdate\n\tviewerCanDelete\n}\n\nquery GetParticipants($owner: String!, $name: String!, $number: Int!, $first: Int!) {\n\trepository(owner: $owner, name: $name) {\n\t\tpullRequest(number: $number) {\n\t\t\tparticipants(first: $first) {\n\t\t\t\tnodes {\n\t\t\t\t\tlogin\n\t\t\t\t\tavatarUrl\n\t\t\t\t\tname\n\t\t\t\t\turl\n\t\t\t\t\temail\n\t\t\t\t}\n\t\t\t}\n\t\t}\n\t}\n\trateLimit {\n\t\tlimit\n\t\tcost\n\t\tremaining\n\t\tresetAt\n\t}\n}\n\nquery GetPendingReviewId($pullRequestId: ID!, $author: String!) {\n\tnode(id: $pullRequestId) {\n\t\t... on PullRequest {\n\t\t\treviews(first: 1, author: $author, states: [PENDING]) {\n\t\t\t\tnodes {\n\t\t\t\t\tid\n\t\t\t\t}\n\t\t\t}\n\t\t}\n\t}\n\trateLimit {\n\t\tlimit\n\t\tcost\n\t\tremaining\n\t\tresetAt\n\t}\n}\n\nquery PullRequestComments($owner: String!, $name: String!, $number: Int!, $first: Int = 100) {\n\trepository(owner: $owner, name: $name) {\n\t\tpullRequest(number: $number) {\n\t\t\treviewThreads(first: $first) {\n\t\t\t\tnodes {\n\t\t\t\t\tid\n\t\t\t\t\tisResolved\n\t\t\t\t\tviewerCanResolve\n\t\t\t\t\tviewerCanUnresolve\n\t\t\t\t\tpath\n\t\t\t\t\tdiffSide\n\t\t\t\t\tstartLine\n\t\t\t\t\tline\n\t\t\t\t\toriginalStartLine\n\t\t\t\t\toriginalLine\n\t\t\t\t\tisOutdated\n\t\t\t\t\tsubjectType\n\t\t\t\t\tcomments(first: 100) {\n\t\t\t\t\t\tedges {\n\t\t\t\t\t\t\tnode {\n\t\t\t\t\t\t\t\tpullRequestReview {\n\t\t\t\t\t\t\t\t\tdatabaseId\n\t\t\t\t\t\t\t\t}\n\t\t\t\t\t\t\t}\n\t\t\t\t\t\t}\n\t\t\t\t\t\tnodes {\n\t\t\t\t\t\t\t...ReviewComment\n\t\t\t\t\t\t}\n\t\t\t\t\t}\n\t\t\t\t}\n\t\t\t}\n\t\t}\n\t}\n\trateLimit {\n\t\tlimit\n\t\tcost\n\t\tremaining\n\t\tresetAt\n\t}\n}\n\nquery LegacyPullRequestComments($owner: String!, $name: String!, $number: Int!, $first: Int = 100) {\n\trepository(owner: $owner, name: $name) {\n\t\tpullRequest(number: $number) {\n\t\t\treviewThreads(first: $first) {\n\t\t\t\tnodes {\n\t\t\t\t\tid\n\t\t\t\t\tisResolved\n\t\t\t\t\tviewerCanResolve\n\t\t\t\t\tviewerCanUnresolve\n\t\t\t\t\tpath\n\t\t\t\t\tdiffSide\n\t\t\t\t\tstartLine\n\t\t\t\t\tline\n\t\t\t\t\toriginalStartLine\n\t\t\t\t\toriginalLine\n\t\t\t\t\tisOutdated\n\t\t\t\t\tcomments(first: 100) {\n\t\t\t\t\t\tedges {\n\t\t\t\t\t\t\tnode {\n\t\t\t\t\t\t\t\tpullRequestReview {\n\t\t\t\t\t\t\t\t\tdatabaseId\n\t\t\t\t\t\t\t\t}\n\t\t\t\t\t\t\t}\n\t\t\t\t\t\t}\n\t\t\t\t\t\tnodes {\n\t\t\t\t\t\t\t...ReviewComment\n\t\t\t\t\t\t}\n\t\t\t\t\t}\n\t\t\t\t}\n\t\t\t}\n\t\t}\n\t}\n\trateLimit {\n\t\tlimit\n\t\tcost\n\t\tremaining\n\t\tresetAt\n\t}\n}\n\nquery Viewer {\n\tviewer {\n\t\tlogin\n\t\tavatarUrl\n\t\tname\n\t\turl\n\t\temail\n\t}\n\trateLimit {\n\t\tlimit\n\t\tcost\n\t\tremaining\n\t\tresetAt\n\t}\n}\n\nquery PullRequest($owner: String!, $name: String!, $number: Int!) {\n\trepository(owner: $owner, name: $name) {\n\t\tpullRequest(number: $number) {\n\t\t\t...PullRequestFragment\n\t\t}\n\t}\n\trateLimit {\n\t\tlimit\n\t\tcost\n\t\tremaining\n\t\tresetAt\n\t}\n}\n\nquery PullRequestFiles($owner: String!, $name: String!, $number: Int!, $after: String) {\n\trepository(owner: $owner, name: $name) {\n\t\tpullRequest(number: $number) {\n\t\t\tfiles(first: 100, after: $after) {\n\t\t\t\tnodes {\n\t\t\t\t\tpath\n\t\t\t\t\tviewerViewedState\n\t\t\t\t}\n\t\t\t\tpageInfo {\n\t\t\t\t\thasNextPage\n\t\t\t\t\tendCursor\n\t\t\t\t}\n\t\t\t}\n\t\t}\n\t}\n\trateLimit {\n\t\tlimit\n\t\tcost\n\t\tremaining\n\t\tresetAt\n\t}\n}\n\nquery Issue($owner: String!, $name: String!, $number: Int!) {\n\trepository(owner: $owner, name: $name) {\n\t\tpullRequest: issue(number: $number) {\n\t\t\tnumber\n\t\t\turl\n\t\t\tstate\n\t\t\tbody\n\t\t\tbodyHTML\n\t\t\ttitle\n\t\t\tauthor {\n\t\t\t\tlogin\n\t\t\t\turl\n\t\t\t\tavatarUrl\n\t\t\t\t... on User {\n\t\t\t\t\temail\n\t\t\t\t}\n\t\t\t\t... on Organization {\n\t\t\t\t\temail\n\t\t\t\t}\n\t\t\t}\n\t\t\tcreatedAt\n\t\t\tupdatedAt\n\t\t\tlabels(first: 50) {\n\t\t\t\tnodes {\n\t\t\t\t\tname\n\t\t\t\t\tcolor\n\t\t\t\t}\n\t\t\t}\n\t\t\tid\n\t\t\tdatabaseId\n\t\t}\n\t}\n\trateLimit {\n\t\tlimit\n\t\tcost\n\t\tremaining\n\t\tresetAt\n\t}\n}\n\nquery IssueWithComments($owner: String!, $name: String!, $number: Int!) {\n\trepository(owner: $owner, name: $name) {\n\t\tpullRequest: issue(number: $number) {\n\t\t\tnumber\n\t\t\turl\n\t\t\tstate\n\t\t\tbody\n\t\t\tbodyHTML\n\t\t\ttitle\n\t\t\tauthor {\n\t\t\t\tlogin\n\t\t\t\turl\n\t\t\t\tavatarUrl\n\t\t\t\t... on User {\n\t\t\t\t\temail\n\t\t\t\t}\n\t\t\t\t... on Organization {\n\t\t\t\t\temail\n\t\t\t\t}\n\t\t\t}\n\t\t\tcreatedAt\n\t\t\tupdatedAt\n\t\t\tlabels(first: 50) {\n\t\t\t\tnodes {\n\t\t\t\t\tname\n\t\t\t\t\tcolor\n\t\t\t\t}\n\t\t\t}\n\t\t\tid\n\t\t\tdatabaseId\n\t\t\tcomments(first: 50) {\n\t\t\t\tnodes {\n\t\t\t\t\tauthor {\n\t\t\t\t\t\tlogin\n\t\t\t\t\t\turl\n\t\t\t\t\t\tavatarUrl\n\t\t\t\t\t\t... on User {\n\t\t\t\t\t\t\temail\n\t\t\t\t\t\t}\n\t\t\t\t\t\t... on Organization {\n\t\t\t\t\t\t\temail\n\t\t\t\t\t\t}\n\t\t\t\t\t}\n\t\t\t\t\tbody\n\t\t\t\t\tdatabaseId\n\t\t\t\t}\n\t\t\t}\n\t\t}\n\t}\n\trateLimit {\n\t\tlimit\n\t\tcost\n\t\tremaining\n\t\tresetAt\n\t}\n}\n\nquery GetUser($login: String!) {\n\tuser(login: $login) {\n\t\tlogin\n\t\tavatarUrl(size: 50)\n\t\tbio\n\t\tname\n\t\tcompany\n\t\tlocation\n\t\tcontributionsCollection {\n\t\t\tcommitContributionsByRepository(maxRepositories: 50) {\n\t\t\t\tcontributions(first: 1) {\n\t\t\t\t\tnodes {\n\t\t\t\t\t\toccurredAt\n\t\t\t\t\t}\n\t\t\t\t}\n\t\t\t\trepository {\n\t\t\t\t\tnameWithOwner\n\t\t\t\t}\n\t\t\t}\n\t\t}\n\t\turl\n\t}\n\trateLimit {\n\t\tlimit\n\t\tcost\n\t\tremaining\n\t\tresetAt\n\t}\n}\n\nquery PullRequestMergeability($owner: String!, $name: String!, $number: Int!) {\n\trepository(owner: $owner, name: $name) {\n\t\tpullRequest(number: $number) {\n\t\t\tmergeable\n\t\t\tmergeStateStatus\n\t\t}\n\t}\n\trateLimit {\n\t\tlimit\n\t\tcost\n\t\tremaining\n\t\tresetAt\n\t}\n}\n\nquery PullRequestState($owner: String!, $name: String!, $number: Int!) {\n\trepository(owner: $owner, name: $name) {\n\t\tpullRequest(number: $number) {\n\t\t\ttitle\n\t\t\tnumber\n\t\t\tstate\n\t\t}\n\t}\n\trateLimit {\n\t\tlimit\n\t\tcost\n\t\tremaining\n\t\tresetAt\n\t}\n}\n\nquery PullRequestForHead($owner: String!, $name: String!, $headRefName: String!) {\n\trepository(owner: $owner, name: $name) {\n\t\tpullRequests(first: 3, headRefName: $headRefName, orderBy: { field: CREATED_AT, direction: DESC }) {\n\t\t\tnodes {\n\t\t\t\t...PullRequestFragment\n\t\t\t}\n\t\t}\n\t}\n\trateLimit {\n\t\tlimit\n\t\tcost\n\t\tremaining\n\t\tresetAt\n\t}\n}\n\nmutation CreatePullRequest($input: CreatePullRequestInput!) {\n\tcreatePullRequest(input: $input) {\n\t\tpullRequest {\n\t\t\t...PullRequestFragment\n\t\t}\n\t}\n}\n\nmutation AddComment($input: AddPullRequestReviewCommentInput!) {\n\taddPullRequestReviewComment(input: $input) {\n\t\tcomment {\n\t\t\t...ReviewComment\n\t\t}\n\t}\n}\n\nmutation AddReviewThread($input: AddPullRequestReviewThreadInput!) {\n\taddPullRequestReviewThread(input: $input) {\n\t\tthread {\n\t\t\t...ReviewThread\n\t\t}\n\t}\n}\n\nmutation LegacyAddReviewThread($input: AddPullRequestReviewThreadInput!) {\n\taddPullRequestReviewThread(input: $input) {\n\t\tthread {\n\t\t\t...LegacyReviewThread\n\t\t}\n\t}\n}\n\nmutation AddReviewers($input: RequestReviewsInput!) {\n\trequestReviews(input: $input) {\n\t\tpullRequest {\n\t\t\tid\n\t\t}\n\t}\n}\n\nmutation EditComment($input: UpdatePullRequestReviewCommentInput!) {\n\tupdatePullRequestReviewComment(input: $input) {\n\t\tpullRequestReviewComment {\n\t\t\t...ReviewComment\n\t\t}\n\t}\n}\n\nmutation ReadyForReview($input: MarkPullRequestReadyForReviewInput!) {\n\tmarkPullRequestReadyForReview(input: $input) {\n\t\tpullRequest {\n\t\t\tisDraft\n\t\t}\n\t}\n}\n\nmutation StartReview($input: AddPullRequestReviewInput!) {\n\taddPullRequestReview(input: $input) {\n\t\tpullRequestReview {\n\t\t\tid\n\t\t}\n\t}\n}\n\nmutation SubmitReview($id: ID!, $event: PullRequestReviewEvent!, $body: String) {\n\tsubmitPullRequestReview(input: { event: $event, pullRequestReviewId: $id, body: $body }) {\n\t\tpullRequestReview {\n\t\t\tcomments(first: 100) {\n\t\t\t\tnodes {\n\t\t\t\t\t...ReviewComment\n\t\t\t\t}\n\t\t\t}\n\t\t\t...Review\n\t\t}\n\t}\n}\n\nmutation DeleteReview($input: DeletePullRequestReviewInput!) {\n\tdeletePullRequestReview(input: $input) {\n\t\tpullRequestReview {\n\t\t\tdatabaseId\n\t\t\tcomments(first: 100) {\n\t\t\t\tnodes {\n\t\t\t\t\t...ReviewComment\n\t\t\t\t}\n\t\t\t}\n\t\t}\n\t}\n}\n\nmutation AddReaction($input: AddReactionInput!) {\n\taddReaction(input: $input) {\n\t\treaction {\n\t\t\tcontent\n\t\t}\n\t\tsubject {\n\t\t\t...Reactable\n\t\t}\n\t}\n}\n\nmutation DeleteReaction($input: RemoveReactionInput!) {\n\tremoveReaction(input: $input) {\n\t\treaction {\n\t\t\tcontent\n\t\t}\n\t\tsubject {\n\t\t\t...Reactable\n\t\t}\n\t}\n}\n\nmutation UpdatePullRequest($input: UpdatePullRequestInput!) {\n\tupdatePullRequest(input: $input) {\n\t\tpullRequest {\n\t\t\tbody\n\t\t\tbodyHTML\n\t\t\ttitle\n\t\t\ttitleHTML\n\t\t}\n\t}\n}\n\nmutation AddIssueComment($input: AddCommentInput!) {\n\taddComment(input: $input) {\n\t\tcommentEdge {\n\t\t\tnode {\n\t\t\t\t...Comment\n\t\t\t}\n\t\t}\n\t}\n}\n\nmutation EditIssueComment($input: UpdateIssueCommentInput!) {\n\tupdateIssueComment(input: $input) {\n\t\tissueComment {\n\t\t\t...Comment\n\t\t}\n\t}\n}\n\nquery GetMentionableUsers($owner: String!, $name: String!, $first: Int!, $after: String) {\n\trepository(owner: $owner, name: $name) {\n\t\tmentionableUsers(first: $first, after: $after) {\n\t\t\tnodes {\n\t\t\t\tlogin\n\t\t\t\tavatarUrl\n\t\t\t\tname\n\t\t\t\turl\n\t\t\t\temail\n\t\t\t}\n\t\t\tpageInfo {\n\t\t\t\thasNextPage\n\t\t\t\tendCursor\n\t\t\t}\n\t\t}\n\t}\n\trateLimit {\n\t\tlimit\n\t\tcost\n\t\tremaining\n\t\tresetAt\n\t}\n}\n\nquery GetAssignableUsers($owner: String!, $name: String!, $first: Int!, $after: String) {\n\trepository(owner: $owner, name: $name) {\n\t\tassignableUsers(first: $first, after: $after) {\n\t\t\tnodes {\n\t\t\t\tlogin\n\t\t\t\tavatarUrl\n\t\t\t\tname\n\t\t\t\turl\n\t\t\t\temail\n\t\t\t}\n\t\t\tpageInfo {\n\t\t\t\thasNextPage\n\t\t\t\tendCursor\n\t\t\t}\n\t\t}\n\t}\n\trateLimit {\n\t\tlimit\n\t\tcost\n\t\tremaining\n\t\tresetAt\n\t}\n}\n\nquery ListBranches($owner: String!, $name: String!, $first: Int!, $after: String) {\n\trepository(owner: $owner, name: $name) {\n\t\trefs(first: $first, after: $after, refPrefix: \"refs/heads/\") {\n\t\t\tnodes {\n\t\t\t\tname\n\t\t\t}\n\t\t\tpageInfo {\n\t\t\t\thasNextPage\n\t\t\t\tendCursor\n\t\t\t}\n\t\t}\n\t}\n\trateLimit {\n\t\tlimit\n\t\tcost\n\t\tremaining\n\t\tresetAt\n\t}\n}\n\nquery IssuesWithoutMilestone($owner: String!, $name: String!, $assignee: String!) {\n\trepository(owner: $owner, name: $name) {\n\t\tissues(\n\t\t\tfirst: 100\n\t\t\tstates: OPEN\n\t\t\tfilterBy: { assignee: $assignee, milestone: null }\n\t\t\torderBy: { direction: DESC, field: UPDATED_AT }\n\t\t) {\n\t\t\tedges {\n\t\t\t\tnode {\n\t\t\t\t\t... on Issue {\n\t\t\t\t\t\tnumber\n\t\t\t\t\t\turl\n\t\t\t\t\t\tstate\n\t\t\t\t\t\tbody\n\t\t\t\t\t\tbodyHTML\n\t\t\t\t\t\ttitle\n\t\t\t\t\t\tassignees(first: 10) {\n\t\t\t\t\t\t\tnodes {\n\t\t\t\t\t\t\t\tlogin\n\t\t\t\t\t\t\t\turl\n\t\t\t\t\t\t\t\temail\n\t\t\t\t\t\t\t}\n\t\t\t\t\t\t}\n\t\t\t\t\t\tauthor {\n\t\t\t\t\t\t\tlogin\n\t\t\t\t\t\t\turl\n\t\t\t\t\t\t\tavatarUrl(size: 50)\n\t\t\t\t\t\t\t... on User {\n\t\t\t\t\t\t\t\temail\n\t\t\t\t\t\t\t}\n\t\t\t\t\t\t\t... on Organization {\n\t\t\t\t\t\t\t\temail\n\t\t\t\t\t\t\t}\n\t\t\t\t\t\t}\n\t\t\t\t\t\tcreatedAt\n\t\t\t\t\t\tupdatedAt\n\t\t\t\t\t\tlabels(first: 50) {\n\t\t\t\t\t\t\tnodes {\n\t\t\t\t\t\t\t\tname\n\t\t\t\t\t\t\t\tcolor\n\t\t\t\t\t\t\t}\n\t\t\t\t\t\t}\n\t\t\t\t\t\tid\n\t\t\t\t\t\tdatabaseId\n\t\t\t\t\t\tmilestone {\n\t\t\t\t\t\t\ttitle\n\t\t\t\t\t\t\tdueOn\n\t\t\t\t\t\t}\n\t\t\t\t\t}\n\t\t\t\t}\n\t\t\t}\n\t\t\tpageInfo {\n\t\t\t\thasNextPage\n\t\t\t\tendCursor\n\t\t\t}\n\t\t}\n\t}\n\trateLimit {\n\t\tlimit\n\t\tcost\n\t\tremaining\n\t\tresetAt\n\t}\n}\n\nquery MaxIssue($owner: String!, $name: String!) {\n\trepository(owner: $owner, name: $name) {\n\t\tissues(first: 1, orderBy: { direction: DESC, field: CREATED_AT }) {\n\t\t\tedges {\n\t\t\t\tnode {\n\t\t\t\t\t... on Issue {\n\t\t\t\t\t\tnumber\n\t\t\t\t\t}\n\t\t\t\t}\n\t\t\t}\n\t\t}\n\t}\n\trateLimit {\n\t\tlimit\n\t\tcost\n\t\tremaining\n\t\tresetAt\n\t}\n}\n\nquery GetMilestones($owner: String!, $name: String!, $states: [MilestoneState!]!) {\n\trepository(owner: $owner, name: $name) {\n\t\tmilestones(first: 100, orderBy: { direction: DESC, field: DUE_DATE }, states: $states) {\n\t\t\tnodes {\n\t\t\t\tdueOn\n\t\t\t\ttitle\n\t\t\t\tcreatedAt\n\t\t\t\tid\n\t\t\t}\n\t\t}\n\t}\n\trateLimit {\n\t\tlimit\n\t\tcost\n\t\tremaining\n\t\tresetAt\n\t}\n}\n\nquery GetMilestonesWithIssues($owner: String!, $name: String!, $assignee: String!) {\n\trepository(owner: $owner, name: $name) {\n\t\tmilestones(first: 12, orderBy: { direction: DESC, field: DUE_DATE }, states: OPEN) {\n\t\t\tnodes {\n\t\t\t\tdueOn\n\t\t\t\ttitle\n\t\t\t\tcreatedAt\n\t\t\t\tid\n\t\t\t\tissues(\n\t\t\t\t\tfirst: 100\n\t\t\t\t\tfilterBy: { assignee: $assignee }\n\t\t\t\t\torderBy: { direction: DESC, field: UPDATED_AT }\n\t\t\t\t\tstates: OPEN\n\t\t\t\t) {\n\t\t\t\t\tedges {\n\t\t\t\t\t\tnode {\n\t\t\t\t\t\t\t... on Issue {\n\t\t\t\t\t\t\t\tnumber\n\t\t\t\t\t\t\t\turl\n\t\t\t\t\t\t\t\tstate\n\t\t\t\t\t\t\t\tbody\n\t\t\t\t\t\t\t\tbodyHTML\n\t\t\t\t\t\t\t\ttitle\n\t\t\t\t\t\t\t\tassignees(first: 10) {\n\t\t\t\t\t\t\t\t\tnodes {\n\t\t\t\t\t\t\t\t\t\tavatarUrl\n\t\t\t\t\t\t\t\t\t\temail\n\t\t\t\t\t\t\t\t\t\tlogin\n\t\t\t\t\t\t\t\t\t\turl\n\t\t\t\t\t\t\t\t\t}\n\t\t\t\t\t\t\t\t}\n\t\t\t\t\t\t\t\tauthor {\n\t\t\t\t\t\t\t\t\tlogin\n\t\t\t\t\t\t\t\t\turl\n\t\t\t\t\t\t\t\t\tavatarUrl(size: 50)\n\t\t\t\t\t\t\t\t\t... on User {\n\t\t\t\t\t\t\t\t\t\temail\n\t\t\t\t\t\t\t\t\t}\n\t\t\t\t\t\t\t\t\t... on Organization {\n\t\t\t\t\t\t\t\t\t\temail\n\t\t\t\t\t\t\t\t\t}\n\t\t\t\t\t\t\t\t}\n\t\t\t\t\t\t\t\tcreatedAt\n\t\t\t\t\t\t\t\tupdatedAt\n\t\t\t\t\t\t\t\tlabels(first: 50) {\n\t\t\t\t\t\t\t\t\tnodes {\n\t\t\t\t\t\t\t\t\t\tname\n\t\t\t\t\t\t\t\t\t\tcolor\n\t\t\t\t\t\t\t\t\t}\n\t\t\t\t\t\t\t\t}\n\t\t\t\t\t\t\t\tid\n\t\t\t\t\t\t\t\tdatabaseId\n\t\t\t\t\t\t\t\tmilestone {\n\t\t\t\t\t\t\t\t\ttitle\n\t\t\t\t\t\t\t\t\tdueOn\n\t\t\t\t\t\t\t\t}\n\t\t\t\t\t\t\t}\n\t\t\t\t\t\t}\n\t\t\t\t\t}\n\t\t\t\t}\n\t\t\t}\n\t\t\tpageInfo {\n\t\t\t\thasNextPage\n\t\t\t\tendCursor\n\t\t\t}\n\t\t}\n\t}\n\trateLimit {\n\t\tlimit\n\t\tcost\n\t\tremaining\n\t\tresetAt\n\t}\n}\n\nquery Issues($query: String!) {\n\tsearch(first: 100, type: ISSUE, query: $query) {\n\t\tissueCount\n\t\tpageInfo {\n\t\t\thasNextPage\n\t\t\tendCursor\n\t\t}\n\t\tedges {\n\t\t\tnode {\n\t\t\t\t... on Issue {\n\t\t\t\t\tnumber\n\t\t\t\t\turl\n\t\t\t\t\tstate\n\t\t\t\t\tbody\n\t\t\t\t\tbodyHTML\n\t\t\t\t\ttitle\n\t\t\t\t\tassignees(first: 10) {\n\t\t\t\t\t\tnodes {\n\t\t\t\t\t\t\tavatarUrl\n\t\t\t\t\t\t\temail\n\t\t\t\t\t\t\tlogin\n\t\t\t\t\t\t\turl\n\t\t\t\t\t\t}\n\t\t\t\t\t}\n\t\t\t\t\tauthor {\n\t\t\t\t\t\tlogin\n\t\t\t\t\t\turl\n\t\t\t\t\t\tavatarUrl(size: 50)\n\t\t\t\t\t\t... on User {\n\t\t\t\t\t\t\temail\n\t\t\t\t\t\t}\n\t\t\t\t\t\t... on Organization {\n\t\t\t\t\t\t\temail\n\t\t\t\t\t\t}\n\t\t\t\t\t}\n\t\t\t\t\tcreatedAt\n\t\t\t\t\tupdatedAt\n\t\t\t\t\tlabels(first: 50) {\n\t\t\t\t\t\tnodes {\n\t\t\t\t\t\t\tname\n\t\t\t\t\t\t\tcolor\n\t\t\t\t\t\t}\n\t\t\t\t\t}\n\t\t\t\t\tid\n\t\t\t\t\tdatabaseId\n\t\t\t\t\tmilestone {\n\t\t\t\t\t\ttitle\n\t\t\t\t\t\tdueOn\n\t\t\t\t\t\tid\n\t\t\t\t\t\tcreatedAt\n\t\t\t\t\t}\n\t\t\t\t\trepository {\n\t\t\t\t\t\tname\n\t\t\t\t\t\towner {\n\t\t\t\t\t\t\tlogin\n\t\t\t\t\t\t}\n\t\t\t\t\t\turl\n\t\t\t\t\t}\n\t\t\t\t}\n\t\t\t}\n\t\t}\n\t}\n\trateLimit {\n\t\tlimit\n\t\tcost\n\t\tremaining\n\t\tresetAt\n\t}\n}\n\nquery GetViewerPermission($owner: String!, $name: String!) {\n\trepository(owner: $owner, name: $name) {\n\t\tviewerPermission\n\t}\n\trateLimit {\n\t\tlimit\n\t\tcost\n\t\tremaining\n\t\tresetAt\n\t}\n}\n\nquery GetRepositoryForkDetails($owner: String!, $name: String!) {\n\trepository(owner: $owner, name: $name) {\n\t\tisFork\n\t\tparent {\n\t\t\tname\n\t\t\towner {\n\t\t\t\tlogin\n\t\t\t}\n\t\t}\n\t}\n\trateLimit {\n\t\tlimit\n\t\tcost\n\t\tremaining\n\t\tresetAt\n\t}\n}\n\nquery GetChecks($owner: String!, $name: String!, $number: Int!) {\n\trepository(owner: $owner, name: $name) {\n\t\tpullRequest(number: $number) {\n\t\t\turl\n\t\t\tlatestReviews (first: 10) {\n\t\t\t\tnodes {\n\t\t\t\t\tauthorAssociation\n\t\t\t\t\tauthorCanPushToRepository\n\t\t\t\t\tstate\n\t\t\t\t\tauthor {\n\t\t\t\t\t\tlogin\n\t\t\t\t\t}\n\t\t\t\t}\n\t\t\t}\n\t\t\treviewsRequestingChanges: reviews (last: 5, states: [CHANGES_REQUESTED]) {\n\t\t\t\tnodes {\n\t\t\t\t\tauthorAssociation\n\t\t\t\t\tauthorCanPushToRepository\n\t\t\t\t\tstate\n\t\t\t\t\tauthor {\n\t\t\t\t\t\tlogin\n\t\t\t\t\t}\n\t\t\t\t}\n\t\t\t}\n\t\t\tbaseRef {\n\t\t\t\trefUpdateRule {\n\t\t\t\t\trequiredApprovingReviewCount\n\t\t\t\t\trequiredStatusCheckContexts\n\t\t\t\t\trequiresCodeOwnerReviews\n\t\t\t\t\tviewerCanPush\n\t\t\t\t}\n\t\t\t}\n\t\t\tcommits(last: 1) {\n\t\t\t\tnodes {\n\t\t\t\t\tcommit {\n\t\t\t\t\t\tstatusCheckRollup {\n\t\t\t\t\t\t\tstate\n\t\t\t\t\t\t\tcontexts(first: 100) {\n\t\t\t\t\t\t\t\tnodes {\n\t\t\t\t\t\t\t\t\t__typename\n\t\t\t\t\t\t\t\t\t... on StatusContext {\n\t\t\t\t\t\t\t\t\t\tid\n\t\t\t\t\t\t\t\t\t\tstate\n\t\t\t\t\t\t\t\t\t\ttargetUrl\n\t\t\t\t\t\t\t\t\t\tdescription\n\t\t\t\t\t\t\t\t\t\tcontext\n\t\t\t\t\t\t\t\t\t\tavatarUrl\n\t\t\t\t\t\t\t\t\t\tisRequired(pullRequestNumber: $number)\n\t\t\t\t\t\t\t\t\t}\n\t\t\t\t\t\t\t\t\t... on CheckRun {\n\t\t\t\t\t\t\t\t\t\tid\n\t\t\t\t\t\t\t\t\t\tconclusion\n\t\t\t\t\t\t\t\t\t\ttitle\n\t\t\t\t\t\t\t\t\t\tdetailsUrl\n\t\t\t\t\t\t\t\t\t\tname\n\t\t\t\t\t\t\t\t\t\tresourcePath\n\t\t\t\t\t\t\t\t\t\tisRequired(pullRequestNumber: $number)\n\t\t\t\t\t\t\t\t\t\tcheckSuite {\n\t\t\t\t\t\t\t\t\t\t\tapp {\n\t\t\t\t\t\t\t\t\t\t\t\tlogoUrl\n\t\t\t\t\t\t\t\t\t\t\t\turl\n\t\t\t\t\t\t\t\t\t\t\t}\n\t\t\t\t\t\t\t\t\t\t}\n\t\t\t\t\t\t\t\t\t}\n\t\t\t\t\t\t\t\t}\n\t\t\t\t\t\t\t}\n\t\t\t\t\t\t}\n\t\t\t\t\t}\n\t\t\t\t}\n\t\t\t}\n\t\t}\n\t}\n\trateLimit {\n\t\tlimit\n\t\tcost\n\t\tremaining\n\t\tresetAt\n\t}\n}\n\nquery GetChecksWithoutSuite($owner: String!, $name: String!, $number: Int!) {\n\trepository(owner: $owner, name: $name) {\n\t\tpullRequest(number: $number) {\n\t\t\turl\n\t\t\tlatestReviews (first: 10) {\n\t\t\t\tnodes {\n\t\t\t\t\tauthorAssociation\n\t\t\t\t\tauthorCanPushToRepository\n\t\t\t\t\tstate\n\t\t\t\t\tauthor {\n\t\t\t\t\t\tlogin\n\t\t\t\t\t}\n\t\t\t\t}\n\t\t\t}\n\t\t\treviewsRequestingChanges: reviews (last: 5, states: [CHANGES_REQUESTED]) {\n\t\t\t\tnodes {\n\t\t\t\t\tauthorAssociation\n\t\t\t\t\tauthorCanPushToRepository\n\t\t\t\t\tstate\n\t\t\t\t\tauthor {\n\t\t\t\t\t\tlogin\n\t\t\t\t\t}\n\t\t\t\t}\n\t\t\t}\n\t\t\tbaseRef {\n\t\t\t\trefUpdateRule {\n\t\t\t\t\trequiredApprovingReviewCount\n\t\t\t\t\trequiredStatusCheckContexts\n\t\t\t\t\trequiresCodeOwnerReviews\n\t\t\t\t\tviewerCanPush\n\t\t\t\t}\n\t\t\t}\n\t\t\tcommits(last: 1) {\n\t\t\t\tnodes {\n\t\t\t\t\tcommit {\n\t\t\t\t\t\tstatusCheckRollup {\n\t\t\t\t\t\t\tstate\n\t\t\t\t\t\t\tcontexts(first: 100) {\n\t\t\t\t\t\t\t\tnodes {\n\t\t\t\t\t\t\t\t\t__typename\n\t\t\t\t\t\t\t\t\t... on StatusContext {\n\t\t\t\t\t\t\t\t\t\tid\n\t\t\t\t\t\t\t\t\t\tstate\n\t\t\t\t\t\t\t\t\t\ttargetUrl\n\t\t\t\t\t\t\t\t\t\tdescription\n\t\t\t\t\t\t\t\t\t\tcontext\n\t\t\t\t\t\t\t\t\t\tavatarUrl\n\t\t\t\t\t\t\t\t\t\tisRequired(pullRequestNumber: $number)\n\t\t\t\t\t\t\t\t\t}\n\t\t\t\t\t\t\t\t\t... on CheckRun {\n\t\t\t\t\t\t\t\t\t\tid\n\t\t\t\t\t\t\t\t\t\tconclusion\n\t\t\t\t\t\t\t\t\t\ttitle\n\t\t\t\t\t\t\t\t\t\tdetailsUrl\n\t\t\t\t\t\t\t\t\t\tname\n\t\t\t\t\t\t\t\t\t\tresourcePath\n\t\t\t\t\t\t\t\t\t\tisRequired(pullRequestNumber: $number)\n\t\t\t\t\t\t\t\t\t}\n\t\t\t\t\t\t\t\t}\n\t\t\t\t\t\t\t}\n\t\t\t\t\t\t}\n\t\t\t\t\t}\n\t\t\t\t}\n\t\t\t}\n\t\t}\n\t}\n\trateLimit {\n\t\tlimit\n\t\tcost\n\t\tremaining\n\t\tresetAt\n\t}\n}\n\nquery GetFileContent($owner: String!, $name: String!, $expression: String!) {\n\trepository(owner: $owner, name: $name) {\n\t\tobject(expression: $expression) {\n\t\t\t... on Blob {\n\t\t\t\ttext\n\t\t\t}\n\t\t}\n\t}\n\trateLimit {\n\t\tlimit\n\t\tcost\n\t\tremaining\n\t\tresetAt\n\t}\n}\n\nmutation ResolveReviewThread($input: ResolveReviewThreadInput!) {\n\tresolveReviewThread(input: $input) {\n\t\tthread {\n\t\t\t...ReviewThread\n\t\t}\n\t}\n}\n\nmutation LegacyResolveReviewThread($input: ResolveReviewThreadInput!) {\n\tresolveReviewThread(input: $input) {\n\t\tthread {\n\t\t\t...LegacyReviewThread\n\t\t}\n\t}\n}\n\nmutation UnresolveReviewThread($input: UnresolveReviewThreadInput!) {\n\tunresolveReviewThread(input: $input) {\n\t\tthread {\n\t\t\t...ReviewThread\n\t\t}\n\t}\n}\n\nmutation LegacyUnresolveReviewThread($input: UnresolveReviewThreadInput!) {\n\tunresolveReviewThread(input: $input) {\n\t\tthread {\n\t\t\t...LegacyReviewThread\n\t\t}\n\t}\n}\n\nmutation EnablePullRequestAutoMerge($input: EnablePullRequestAutoMergeInput!) {\n\tenablePullRequestAutoMerge(input: $input) {\n\t\tpullRequest {\n\t\t\tid\n\t\t}\n\t}\n}\n\nmutation DisablePullRequestAutoMerge($input: DisablePullRequestAutoMergeInput!) {\n\tdisablePullRequestAutoMerge(input: $input) {\n\t\tpullRequest {\n\t\t\tid\n\t\t}\n\t}\n}\n\nmutation MarkFileAsViewed($input: MarkFileAsViewedInput!) {\n\tmarkFileAsViewed(input: $input) {\n\t\tpullRequest {\n\t\t\tid\n\t\t}\n\t}\n}\n\nmutation UnmarkFileAsViewed($input: UnmarkFileAsViewedInput!) {\n\tunmarkFileAsViewed(input: $input) {\n\t\tpullRequest {\n\t\t\tid\n\t\t}\n\t}\n}\n",
"name": "GraphQL request",
"locationOffset": {
"line": 1,
"column": 1
}
}
}
},
"variables": {
"input": {
"repositoryId": "MDEwOlJlcG9zaXRvcnk0MTg4MTkwMA==",
"baseRefName": "main",
"headRefName": "microsoft:dev/joyceerhl/yappy-octopus",
"title": "Render share link text as readonly div",
"body": "For https://github.com/microsoft/vscode/issues/176316",
"draft": false
}
}
}
2023-05-24 14:54:33.852 [debug] RateLimit> Extension rate limit remaining: 139
- 🐛 Try to create pull request on GitHub instead, get this error message:
Is there a retry loop somewhere in GHPR for creating PRs?
DefiledSpec
Metadata
Metadata
Assignees
Labels
bugIssue identified by VS Code Team member as probable bugIssue identified by VS Code Team member as probable bugverifiedVerification succeededVerification succeeded