-
Notifications
You must be signed in to change notification settings - Fork 579
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Review mode disabled because GraphQL support not discovered for GHE #947
Comments
I'm also experiencing this bug with this exact error, but oddly several of my teammates are able to use this plugin with the same GHE instance. I think more logging needs to be added to help identify the issue. |
It seems the endpoint the graphql query was being sent to is incorrect The endpoint should take the form of...
|
Hey @ChrisHines I'm trying real hard to reproduce your issue but I'm not having much luck. I'm using a 2.16 instance of GHE and I'm going to get my hands on a 2.15 instance and test again. I was hoping if you could try again with the latest version of the plugin. @tyrsius Can you let us know what version of GitHub Enterprise you are testing against? |
@StanleyGoldman I just tried again. The problem still exists. We still have GHE 2.15.3 here, but my VSCode is now 1.32.1 and my GitHub Pull Requests version is now 0.5.0. ClarificationThe extension mostly works. I can see the list of pull requests. I can load the detail page, and I can checkout the PR. But I cannot do batch reviews. When I click in the editor to add a review comment, I cannot see a When it didn't work I looked at the two commits linked at the bottom of #546 and it looked to me like the review mode functionality is gated by support for graphql. That's why I mentioned in my initial issue post above that it seemed the extension was having problems finding the graphql endpoint. |
I believe this is caused by PR names that fail to deserialize. Possibly from length, possibly from having emoji in them. |
I am having the same problem here. Unable to see the |
I would really like to use the review mode feature on my GHE projects. Is there anything I can do to help get a fix for this issue into the next release? @StanleyGoldman has reproduced the issue and @sreenath1491 has done some initial debugging here. What is the next step? |
There's also some changes that are required here: vscode-pull-request-github/src/authentication/configuration.ts Lines 20 to 24 in f883c46
|
@StanleyGoldman This issue is assigned to you, are you still working on it? |
This was fixed for me by #1382 in release 0.13.0. |
Issue Type: Bug
GitHub Enterprise 2.15.3
git@<host>:<user>/<repo>.git
style remote.)I get:
I expected graphql to work. Clicking through the API doc links on our instance of GHE brings me to this page https://developer.github.com/enterprise/2.15/v4/guides/intro-to-graphql/. Following that documentation I found that the following command works using the same token that I have configured for the vscode-github-pr extention.
The following also works, but returns a much smaller JSON response with a series of URL patterns that doesn't look like a GraphQL result.
The extension does not enable the batch review mode feature because it cannot find the GraphQL support.
Extension version: 0.4.0
VS Code version: Code 1.31.0 (7c66f58312b48ed8ca4e387ebd9ffe9605332caa, 2019-02-05T22:32:14.164Z)
OS version: Darwin x64 17.7.0
The text was updated successfully, but these errors were encountered: