You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I'm seeing the error gh: Field 'mergeQueueEntry' doesn't exist on type 'PullRequest' when viewing ISL.
I think this is because my enterprise GH version (3.10) doesn't support this field, as it looks to be introduced in 3.12. I saw similar issues filed to the GH pull requests extension, and they worked around it somehow -- I'm guessing by using different/legacy query fields.
Failed to fetch Diffs
Command failed with exit code 1: gh api graphql -f searchQuery=repo:... is:pr author:@me -F numToFetch=50 --hostname github.robot.car -f query= query YourPullRequestsQuery($searchQuery: String!, $numToFetch: Int!) { search(query: $searchQuery, type: ISSUE, first: $numToFetch) { nodes { ... on PullRequest { __typename number title body state isDraft url reviewDecision comments { totalCount } mergeQueueEntry { estimatedTimeToMerge } commits(last: 1) { nodes { commit { statusCheckRollup { state } } } } } } } } gh: Field 'mergeQueueEntry' doesn't exist on type 'PullRequest' {"errors":[{"path":["query YourPullRequestsQuery","search","nodes","... on PullRequest","mergeQueueEntry"],"extensions":{"code":"undefinedField","typeName":"PullRequest","fieldName":"mergeQueueEntry"},"locations":[{"line":17,"column":9}],"message":"Field 'mergeQueueEntry' doesn't exist on type 'PullRequest'"}]}
Error: Command failed with exit code 1: gh api graphql -f searchQuery=repo:... is:pr author:@me -F numToFetch=50 --hostname github.robot.car -f query=
query YourPullRequestsQuery($searchQuery: String!, $numToFetch: Int!) {
search(query: $searchQuery, type: ISSUE, first: $numToFetch) {
nodes {
... on PullRequest {
__typename
number
title
body
state
isDraft
url
reviewDecision
comments {
totalCount
}
mergeQueueEntry {
estimatedTimeToMerge
}
commits(last: 1) {
nodes {
commit {
statusCheckRollup {
state
}
}
}
}
}
}
}
}
gh: Field 'mergeQueueEntry' doesn't exist on type 'PullRequest'
{"errors":[{"path":["query YourPullRequestsQuery","search","nodes","... on PullRequest","mergeQueueEntry"],"extensions":{"code":"undefinedField","typeName":"PullRequest","fieldName":"mergeQueueEntry"},"locations":[{"line":17,"column":9}],"message":"Field 'mergeQueueEntry' doesn't exist on type 'PullRequest'"}]}
at makeError (/home/russ.brennan/.vscode-server/extensions/node_modules/execa/lib/error.js:60:11)
at /home/russ.brennan/.vscode-server/extensions/node_modules/execa/index.js:118:26
at process.stdout (node:internal/process/task_queues:95:5)
at allSummaries (/home/russ.brennan/.vscode-server/extensions/isl-server/src/github/queryGraphQL.ts:42:12)
at /home/russ.brennan/.vscode-server/extensions/isl-server/src/github/githubCodeReviewProvider.ts:78:15
The text was updated successfully, but these errors were encountered:
I'm seeing the error gh: Field 'mergeQueueEntry' doesn't exist on type 'PullRequest' when viewing ISL.
I think this is because my enterprise GH version (3.10) doesn't support this field, as it looks to be introduced in 3.12. I saw similar issues filed to the GH pull requests extension, and they worked around it somehow -- I'm guessing by using different/legacy query fields.
The text was updated successfully, but these errors were encountered: