vscode-pull-request-github icon indicating copy to clipboard operation
vscode-pull-request-github copied to clipboard

Enterprise 3.9: GraphQL error Fragment on Bot can't be spread inside RequestedReviewer

Open janakjjp opened this issue 2 years ago • 24 comments

  • Extension version: 0.100.0 (just updated)
  • VSCode Version: 1.95.0
  • OS: macOS Sequoia 15.0.1
  • Repository Clone Configuration (single repository/fork of an upstream repository): enterprise monorepo
  • Github Product (Github.com/Github Enterprise version x.x.x): GitHub Enterprise 3.9.16

Steps to Reproduce:

  1. Update to the latest extension (released today)
  2. Go to the Pull Requests extension.
  3. Expand a Pull Request on the LHS nav and click Description. The error is generated and the PR description pane does not load in a tab.
  4. Revert to 0.98.0, and then the above 3 steps work as expected.

janakjjp avatar Oct 30 '24 19:10 janakjjp

Also getting this on:

Version: 1.95.0 (user setup)
Commit: 912bb683695358a54ae0c670461738984cbb5b95
Date: 2024-10-28T20:16:24.561Z
Electron: 32.2.1
ElectronBuildId: 10427718
Chromium: 128.0.6613.186
Node.js: 20.18.0
V8: 12.8.374.38-electron.0
OS: Windows_NT x64 10.0.19045

Using SSH Remote if that makes a difference.

notatallshaw-gts avatar Oct 31 '24 19:10 notatallshaw-gts

@alexr00 let us know if you can put this on your bug queue to triage and address, or if you need more information!

janakjjp avatar Nov 06 '24 21:11 janakjjp

Thanks for the ping!

alexr00 avatar Nov 07 '24 09:11 alexr00

@janakjjp and @notatallshaw-gts there's a new pre-release version out with the fix. Would you be able to try it out and let me know if it fixes the issue for you?

alexr00 avatar Nov 07 '24 12:11 alexr00

@alexr00 Yes, I switched to

Name: GitHub Pull Requests
Id: GitHub.vscode-pull-request-github
Description: Pull Request and Issue Provider for GitHub
Version: 0.101.2024110711
Publisher: GitHub
VS Marketplace Link: https://marketplace.visualstudio.com/items?itemName=GitHub.vscode-pull-request-github

Restarted my VS Code for good measure, and opened a PR and it worked, thanks for the fix.

notatallshaw-gts avatar Nov 07 '24 18:11 notatallshaw-gts

Thanks for verifying! I'll put out a new stable version with the fix.

alexr00 avatar Nov 08 '24 08:11 alexr00

Fix revealed a bigger issue. I'll need to revert it and make a larger change for the next regular release.

alexr00 avatar Nov 18 '24 09:11 alexr00

Updated the wiki to indicate current GitHub Enterprise support: https://github.com/microsoft/vscode-pull-request-github/wiki#2-is-github-enterprise-supported

alexr00 avatar Nov 18 '24 14:11 alexr00

Thanks for the update, I've pinned my GitHub Pull Requests to 0.98 until this is resolved, for those who don't know how to do this but get this error:

  1. Go to the "GitHub Pull Requests" extension in the extensions side bar
  2. Click the down arrow next to "Uninstall"
  3. Select "Install Specific Version..."
  4. Click on "0.98.0"

notatallshaw-gts avatar Nov 18 '24 15:11 notatallshaw-gts

Thanks @notatallshaw-gts for the instructions. falling back to 0.98 helped me too.

Keeping an eye on this to find out when this will be fixed in a major release.

DougAGault avatar Nov 20 '24 14:11 DougAGault

Full transparency: GitHub Enterprise 3.9 was deprecated over the summer. While I prefer to keep support for deprecated version since I know that users don't have control of when their admins update, fixing this isn't high priority for us. I'll try to look in December, but there's a good chance it will slip.

alexr00 avatar Nov 20 '24 16:11 alexr00

We're on Github Enterprise 3.10.16, and I was still getting the GraphQL error. ¯_(ツ)_/¯

DougAGault avatar Nov 20 '24 16:11 DougAGault

Found a way to make a very simple fix! Change is available in pre-release and will go out in the stable release next week.

alexr00 avatar Dec 04 '24 08:12 alexr00

Enterprise users, would you be able to try out the latest pre-release version of the extension and confirm whether the issue is resolved?

alexr00 avatar Dec 10 '24 15:12 alexr00

Enterprise users, would you be able to try out the latest pre-release version of the extension and confirm whether the issue is resolved?

What version exactly? I don't see a pre-release available posted in the last two weeks:

Image

notatallshaw-gts avatar Dec 10 '24 16:12 notatallshaw-gts

What version exactly? I don't see a pre-release available posted in the last two weeks:

Same.. not seeing anything "new"

DougAGault avatar Dec 10 '24 17:12 DougAGault

So, it's interesting because new versions are available under "Version History" here: https://marketplace.visualstudio.com/items?itemName=GitHub.vscode-pull-request-github

But they are not showing up when I click "Switch to Pre-Release Version" and then try and install a specific version or refresh VS Code/

I tried manually downloading the latest VSIX and install it manually into my VS Code but I got the following error:

Image

Am I doing something wrong here? My VS Code version info is:

Version: 1.95.3 (user setup)
Commit: f1a4fb101478ce6ec82fe9627c43efbf9e98c813
Date: 2024-11-13T14:50:04.152Z
Electron: 32.2.1
ElectronBuildId: 10427718
Chromium: 128.0.6613.186
Node.js: 20.18.0
V8: 12.8.374.38-electron.0
OS: Windows_NT x64 10.0.19045

notatallshaw-gts avatar Dec 10 '24 18:12 notatallshaw-gts

Ah, you'll need to use VS Code Insiders to try the latest pre-release. I should have mentioned this 😳

Thank you all for jumping in to try to verify!

alexr00 avatar Dec 11 '24 16:12 alexr00

Ah, you'll need to use VS Code Insiders to try the latest pre-release. I should have mentioned this 😳

Thank you all for jumping in to try to verify!

Yeah... can't do that.. Our version of VSCODE is controlled by Central IT.

Let us know when it's GA and I'll be happy to validate.

DougAGault avatar Dec 11 '24 17:12 DougAGault

Moving milestone to next month.

rzhao271 avatar Dec 11 '24 18:12 rzhao271