Skip to content

Unable to open PR webview within VSCode #8028

@kevinthenet

Description

@kevinthenet

When attempting to open a PR within the VSCode view, I receive the following error in a notification:

Error updating pull request description: Cannot read properties of null (reading '__typename')

The tab which opens never finishes loading:

Image
  • Extension version: 0.120.1
  • VSCode Version: 1.105.1
  • OS: MacOS Sequoia 15.6.1
  • Repository Clone Configuration (single repository/fork of an upstream repository):
  • GitHub Product (GitHub.com/GitHub Enterprise version x.x.x): Github Enterprise Cloud (I believe)

Steps to Reproduce:

  1. Within VSCode, click on the GitHub Pull request from the activity bar while on a branch with an open pull request in GitHub
  2. See the "Changes in Pull Request" is populated with file changes for the pull request
  3. Click on the PR title within the "Changes in Pull Request" tab

Additional Detail:

Below is the masked output for GitHub Pull Request, note there is no error message:

2025-10-20 22:06:07.477 [info] [Activation] Extension version: 0.120.1
2025-10-20 22:06:07.477 [info] [Authentication] Creating hub for .com
2025-10-20 22:06:07.506 [info] [Activation] Looking for git repository
2025-10-20 22:06:07.506 [info] [Activation] Found 0 repositories during activation
2025-10-20 22:06:07.506 [info] [Activation] Git repository found, initializing review manager and pr tree view.
2025-10-20 22:06:07.508 [info] [GitAPI] Registering git provider
2025-10-20 22:06:07.541 [info] [Activation] Repo state for file:///<repository_path> changed.
2025-10-20 22:06:07.541 [info] [Activation] Repo file:///<repository_path> has already been setup.
2025-10-20 22:06:07.573 [info] [Activation] Git initialization state changed: state=initialized
2025-10-20 22:06:07.573 [info] [Review+0] Validate state in progress
2025-10-20 22:06:07.573 [info] [Review+0] Validating state...
2025-10-20 22:06:07.573 [info] [FolderRepositoryManager+0] Found GitHub remote for folder <repository_path>
2025-10-20 22:06:08.001 [info] [FolderRepositoryManager+0] Trying to use globalState for assignableUsers.
2025-10-20 22:06:08.043 [info] [FolderRepositoryManager+0] Using globalState assignableUsers for 1.
2025-10-20 22:06:08.060 [info] [Review+0] Found matching pull request metadata for current branch <branch_name>. Repo: <org/repository> PR: <pr_number>
2025-10-20 22:06:08.060 [info] [Review+0] current branch <branch_name> is associated with pull request #<pr_number>
2025-10-20 22:06:08.060 [info] [Review+0] Resolving pull request
2025-10-20 22:06:08.060 [info] [FolderRepositoryManager+0] Found GitHub repo for pr #<pr_number>: yes
2025-10-20 22:06:08.726 [info] [FolderRepositoryManager+0] Using in-memory cached assignable users.
2025-10-20 22:06:09.006 [info] [FolderRepositoryManager+0] Found GitHub pr repo for pr #<pr_number>: yes
2025-10-20 22:06:09.006 [info] [GitHubRepository+0] Fetch branch main - enter
2025-10-20 22:06:09.383 [info] [GitHubRepository+0] Fetch branch main - done: true
2025-10-20 22:06:09.385 [info] [Review+0] Resolved PR #<pr_number>, state is OPEN
2025-10-20 22:06:09.385 [info] [Review+0] Fetching pull request data
2025-10-20 22:06:09.385 [info] [PullRequestTree] Adding PR #<pr_number> to tree
2025-10-20 22:06:09.394 [info] [Review+0] Register comments provider
2025-10-20 22:06:09.395 [info] [Review+0] Register in memory content provider
2025-10-20 22:06:10.003 [info] [Review+0] Display pull request status bar indicator.
2025-10-20 22:06:10.003 [info] [Review+0] Using focus mode = true.
2025-10-20 22:06:10.003 [info] [Review+0] State validation silent = true.
2025-10-20 22:06:10.003 [info] [Review+0] PR show should show = false.
2025-10-20 22:06:13.829 [info] [PullRequestTree] Creating file and commit nodes for PR #<pr_number>
2025-10-20 22:06:13.829 [info] [PullRequestTree] Getting children for Files node
2025-10-20 22:06:13.829 [info] [PullRequestTree] Got all children for Files node
2025-10-20 22:06:14.855 [info] [FolderRepositoryManager+0] Found GitHub repo for pr #<pr_number>: yes
2025-10-20 22:06:15.705 [info] [FolderRepositoryManager+0] Found GitHub pr repo for pr #<pr_number>: yes
2025-10-20 22:06:38.404 [info] [FolderRepositoryManager+0] Found GitHub repo for pr #<pr_number>: yes
2025-10-20 22:06:39.269 [info] [FolderRepositoryManager+0] Found GitHub pr repo for pr #<pr_number>: yes

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions