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
{{ message }}
Repository navigation
GitHub Enterprise GraphQL Schema needs to be considered before querying for new-ish fields #2772
I can see the list of PRs but clicking on the dropdown shows nothing.
Extension output is as follows:
[Info] Failed to get pull request review comments: Error: GraphQL error: Field 'path' doesn't exist on type 'PullRequestReviewThread'
GraphQL error: Field 'isOutdated' doesn't exist on type 'PullRequestReviewThread'
[Info] Error: GraphQL error: Field 'viewerViewedState' doesn't exist on type 'PullRequestChangedFile'
[Info] Failed to get pull request review comments: Error: GraphQL error: Field 'path' doesn't exist on type 'PullRequestReviewThread'
GraphQL error: Field 'isOutdated' doesn't exist on type 'PullRequestReviewThread'
[Info] Error: GraphQL error: Field 'viewerViewedState' doesn't exist on type 'PullRequestChangedFile'
[Info] Failed to get pull request review comments: Error: GraphQL error: Field 'path' doesn't exist on type 'PullRequestReviewThread'
GraphQL error: Field 'isOutdated' doesn't exist on type 'PullRequestReviewThread'
[Info] Error: GraphQL error: Field 'viewerViewedState' doesn't exist on type 'PullRequestChangedFile'
I had similar errors on our GHE instance. Based on the change log, these fields were introduced on 2020-09-23. I guess you have to upgrade the GHE to a version after that.
Reacted by Praveen Joseph, Max Nedorezov, Michael Rabbitt, Matt Muggeridge, Max Coplan, Jason Williams, Renārs Vilnis and Jonathan A. M
When I have a spare moment, I'll try to see what the effort would be to actually query the schema information at activation to ensure we know exactly what types are available to the GitHub.com and GitHub Enterprise API endpoint.
[Info] Failed to get pull request review comments: Error: GraphQL error: Field 'path' doesn't exist on type 'PullRequestReviewThread'
GraphQL error: Field 'isOutdated' doesn't exist on type 'PullRequestReviewThread'
[Info] Failed to get pull request review comments: Error: GraphQL error: Field 'path' doesn't exist on type 'PullRequestReviewThread'
GraphQL error: Field 'isOutdated' doesn't exist on type 'PullRequestReviewThread'
[Info] Failed to get pull request review comments: Error: GraphQL error: Field 'path' doesn't exist on type 'PullRequestReviewThread'
GraphQL error: Field 'isOutdated' doesn't exist on type 'PullRequestReviewThread'
[Info] Failed to get pull request review comments: Error: GraphQL error: Field 'path' doesn't exist on type 'PullRequestReviewThread'
GraphQL error: Field 'isOutdated' doesn't exist on type 'PullRequestReviewThread'
[Info] Review> Error: GraphQL error: Field 'viewerViewedState' doesn't exist on type 'PullRequestChangedFile'
[Info] Failed to get pull request review comments: Error: GraphQL error: Field 'path' doesn't exist on type 'PullRequestReviewThread'
GraphQL error: Field 'isOutdated' doesn't exist on type 'PullRequestReviewThread'
[Info] Failed to get pull request review comments: Error: GraphQL error: Field 'path' doesn't exist on type 'PullRequestReviewThread'
GraphQL error: Field 'isOutdated' doesn't exist on type 'PullRequestReviewThread'
[Info] Review> Error: GraphQL error: Field 'viewerViewedState' doesn't exist on type 'PullRequestChangedFile
Sadly, I have not had free time to explore this more and won't have older GHE instances to work with. The recommendation remains to get current with the supported versions.
It's only really feasible if we can decouple the interface features that rely on these object fields. Even that, I have not looked into.
Hi folks, I've tested with GitHub Enterprise version 3.2-3.5 and now I'm going through old issues. Version 3.2 is the oldest supported version from GitHub (https://docs.github.com/en/[email protected]/admin/all-releases), so it's the oldest I've tested with. If you use GitHub Enterprise with this extension, I recommend trying out the pre-release version of the extension for the next couple weeks as there are improvements to Enterprise support there. I will document the current Enterprise support before releasing the next minor version of the extension.
In the mean time, I'm closing this issue as it doesn't occur with 3.2+ of GitHub Enterprise. If you're still seeing this issue, please do comment with your GitHub Enterprise version so I can understand how much demand there is for supporting deprecated versions. If anyone's still hitting this problem I'll reopen the issue.
Activity
kabel commentedon Jun 11, 2021
When I have a spare moment, I'll try to see what the effort would be to actually query the schema information at activation to ensure we know exactly what types are available to the GitHub.com and GitHub Enterprise API endpoint.
alexr00 commentedon Jun 14, 2021
Thanks for looking into this Kevin Abel (@kabel)!
jonnyyu commentedon Sep 24, 2021
Hi, is there any progress on this?
I met the same error here with Git Enterprise
proof666 commentedon Oct 5, 2021
Hi, same error with GHE. Any plans on this issue?
jasonwilliams commentedon Nov 26, 2021
Hey Kevin Abel (@kabel)
Do you know how fixable this is? Sadly there's still many of us stuck on GHE v2
kabel commentedon Dec 1, 2021
Sadly, I have not had free time to explore this more and won't have older GHE instances to work with. The recommendation remains to get current with the supported versions.
It's only really feasible if we can decouple the interface features that rely on these object fields. Even that, I have not looked into.
AntonioL commentedon May 6, 2022
Kevin Abel (@kabel) Can you please document which one is the minimum version of GHE compatible with the extension? It is not documented anywhere
alexr00 commentedon Sep 19, 2022
Hi folks, I've tested with GitHub Enterprise version 3.2-3.5 and now I'm going through old issues. Version 3.2 is the oldest supported version from GitHub (https://docs.github.com/en/[email protected]/admin/all-releases), so it's the oldest I've tested with. If you use GitHub Enterprise with this extension, I recommend trying out the pre-release version of the extension for the next couple weeks as there are improvements to Enterprise support there. I will document the current Enterprise support before releasing the next minor version of the extension.
In the mean time, I'm closing this issue as it doesn't occur with 3.2+ of GitHub Enterprise. If you're still seeing this issue, please do comment with your GitHub Enterprise version so I can understand how much demand there is for supporting deprecated versions. If anyone's still hitting this problem I'll reopen the issue.