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

Cannot view or create review comments for PR

Open IllusionMH opened this issue 2 years ago • 25 comments

  • Extension version: 0.101.2024110711

  • VSCode Version: 1.96.0-insider (4a98be2738be4ad8647feb52d1e6845e06515dea, 2024-11-08T09:56:49.748Z)

  • OS: Windows 11 23H2

  • Repository Clone Configuration (single repository/fork of an upstream repository): fork of upstream repo

  • Github Product (Github.com/Github Enterprise version x.x.x): Github.com

Steps to Reproduce:

  1. Open file changed in PR, add and then try to save a comment
  2. Error notification appears "Creating comment failed: Error: GraphQL error: Fragment ReviewComment was used, but not defined"

In logs:

2024-11-08 17:00:51.377 [error] GitHubRepository+0> Error querying GraphQL API: GraphQL error: Fragment ReviewComment was used, but not defined. useAndDefineFragment
2024-11-08 17:00:51.881 [error] GitHubRepository+0> Error querying GraphQL API: GraphQL error: Fragment ReviewComment was used, but not defined. useAndDefineFragment
2024-11-08 17:00:51.881 [error] PullRequestModel> Failed to get pull request review comments: Error: GraphQL error: Fragment ReviewComment was used, but not defined

I was thinking it was duplicate of #6441 but that one verified as fixed, and commenting worked fine for me on Nov 6 (2 days ago, before that fix)

IllusionMH avatar Nov 08 '24 15:11 IllusionMH

Also getting this same error as of today.

marty0678 avatar Nov 08 '24 18:11 marty0678

Same here, tried to use latest release and pre-release version with same error result.

basicdays avatar Nov 08 '24 22:11 basicdays

Same here, getting exactly the same error. It just happened today and was working fine yesterday.

amirreza-asadzadeh avatar Nov 08 '24 23:11 amirreza-asadzadeh

I'm getting something very similar on the review-start command:

Image

@alexr00 from the recency, seems like v100.1 fixed the previous issue but introduced this regression!

janakjjp avatar Nov 09 '24 00:11 janakjjp

Image

I’m also encountering the same error since today.

arvindh123 avatar Nov 09 '24 06:11 arvindh123

Same exact issue/error since yesterday.

JordanAlanMak avatar Nov 09 '24 18:11 JordanAlanMak

Same problem

Image

aayushchugh avatar Nov 09 '24 19:11 aayushchugh

same issue

bibullo avatar Nov 10 '24 08:11 bibullo

Same issue

akr99799 avatar Nov 10 '24 09:11 akr99799

Same as #6467

BenGale avatar Nov 10 '24 10:11 BenGale

Same issue

albiosz avatar Nov 10 '24 22:11 albiosz

Same issue

nguyenlc1993 avatar Nov 11 '24 03:11 nguyenlc1993

getting same issue

YashBhardwajAdpushup avatar Nov 11 '24 07:11 YashBhardwajAdpushup

  1. "Same issue" comment is not helpful at all. Please don't spam devs, other watchers and commenters with unnecessary emails etc. Just upvote issue or provide something that would help to narrow issue or understand it's impact.

"Same here, tried to use latest release and pre-release version with same error result." - good one, which also checked and confirmed that not only insiders, but release version is affected as well. "Same here, getting exactly the same error. It just happened today and was working fine yesterday." - narrows timeline down even more.

  1. If you don't need latest features and not affected by #6441 you can try right clicking on extension and using "Install specific version..." Image For preview - 0.101.2024110704 worked for me. For stable you can try 0.100.0 or 0.98.0 You can try to find better version for you.

IllusionMH avatar Nov 11 '24 09:11 IllusionMH

I have the same problem, I tried to go back to 0.100 but then I get another error: Image

bverhoeve avatar Nov 12 '24 10:11 bverhoeve

I have the same problem, I tried to go back to 0.100 but then I get another error: Image

0.98.0 worked for me

pedro-mass avatar Nov 12 '24 12:11 pedro-mass

same

sanderegg avatar Nov 12 '24 12:11 sanderegg

Rolled back to 0.98 and it worked for me

CurleyCoding avatar Nov 13 '24 03:11 CurleyCoding

0.100.0 worked for me (arch linux).

beicause avatar Nov 13 '24 03:11 beicause

0.100 worked. (mac silicon)

gokulk16 avatar Nov 13 '24 07:11 gokulk16