Skip to content

Unable to fetch or search individual reviewers (only teams are being fetched) #6957

Open
@rohansekhri

Description

@rohansekhri

Version: 1.101.0-insider (system setup)
Commit: 53524ccad173e498ee03286727e3434fc9d51d5e
Date: 2025-05-14T05:03:56.147Z
Electron: 35.2.2
ElectronBuildId: 11520120
Chromium: 134.0.6998.205
Node.js: 22.14.0
V8: 13.4.114.21-electron.0
OS: Windows_NT x64 10.0.22621
GH Pull request version: 0.111.2025051404 (pre-release)
Reproducible on release version as well.
GH Enterprise Server: 3.12.7 (hosted on-premises)

Steps to Reproduce:

  1. Have both independent and team reviewers with appropriate rights
  2. Make a code and change go through the usual process of creating a PR from within VSCode using the GH PR extension.
  3. Click the gear icon for reviewers and search.

Expected result: one should be able to search and filter reviewers

Actual result: only teams are being fetch. Despite of clicking the refresh button, reviewer list is not updated

GitHub PR logs

2025-05-14 15:30:17.238 [info] [FolderRepositoryManager+0] Using in-memory cached assignable users.
2025-05-14 15:30:17.238 [info] [FolderRepositoryManager+0] Using in-memory cached team reviewers.
2025-05-14 15:30:17.352 [info] [QuickPicks] Setting quick pick reviewers took 114.25214600004256ms
2025-05-14 15:30:20.254 [info] [FolderRepositoryManager+0] Using in-memory cached assignable users.
2025-05-14 15:30:20.255 [debug] [GitHubRepository+0] Fetch Teams - enter
2025-05-14 15:30:20.255 [debug] [Authentication] Initializing GitHub Enterprise authentication provider.
2025-05-14 15:30:20.320 [info] [Authentication] Creating hub for enterprise
2025-05-14 15:30:20.320 [info] [Authentication] Enterprise server authority github.xxx.com
2025-05-14 15:30:20.320 [debug] [Authentication] Getting current user
2025-05-14 15:30:20.321 [debug] [RateLimit] Extension rate limit remaining: 140, /user
2025-05-14 15:30:20.322 [debug] [Authentication] Setting enterprise hub and scopes
2025-05-14 15:30:20.465 [debug] [RateLimit] Extension rate limit remaining: 139, GetOrganizationTeams
2025-05-14 15:30:20.465 [debug] [FolderRepositoryManager+0] Not all remotes found. The following remotes are missing: upstream
2025-05-14 15:30:20.465 [debug] [FolderRepositoryManager+0] Displaying configured remotes: origin, upstream
2025-05-14 15:30:20.657 [info] [FolderRepositoryManager+0] Found GitHub remote for folder /home/rohan/repos/xxxxxx
2025-05-14 15:30:20.657 [debug] [GitHubRepository+0] Using cached metadata xxxxxx
2025-05-14 15:30:20.658 [info] [FolderRepositoryManager+0] Using in-memory cached mentionable users.
2025-05-14 15:30:20.658 [info] [FolderRepositoryManager+0] Using in-memory cached assignable users.
2025-05-14 15:30:20.885 [debug] [Authentication] Got current user xxxxx
2025-05-14 15:30:20.885 [debug] [RateLimit] REST Rate limit remaining: 4990, cost: -1, /user
2025-05-14 15:30:21.328 [debug] [RateLimit] GraphQL Rate limit remaining: 4916, cost: 1, GetOrganizationTeams
2025-05-14 15:30:21.329 [debug] [GitHubRepository+0] Fetch Teams - exit
2025-05-14 15:30:21.371 [info] [QuickPicks] Setting quick pick reviewers took 1117.3551369998604ms
2025-05-14 15:30:32.530 [debug] [RateLimit] Extension rate limit remaining: 140, undefined
2025-05-14 15:30:33.135 [debug] [RateLimit] GraphQL Rate limit remaining: undefined, cost: undefined, undefined
2025-05-14 15:30:33.136 [debug] [RateLimit] Extension rate limit remaining: 140, /repos/{owner}/{repo}/pulls/{pull_number}/requested_reviewers
2025-05-14 15:30:33.910 [debug] [RateLimit] REST Rate limit remaining: 4989, cost: -1, /repos/{owner}/{repo}/pulls/{pull_number}/requested_reviewers
2025-05-14 15:30:33.984 [debug] [IssueOverviewPanel] initialized with PR
2025-05-14 15:30:45.866 [info] [FolderRepositoryManager+0] Using in-memory cached assignable users.
2025-05-14 15:30:45.866 [info] [FolderRepositoryManager+0] Using in-memory cached team reviewers.
2025-05-14 15:30:45.971 [info] [QuickPicks] Setting quick pick reviewers took 104.78236799873412ms
2025-05-14 15:30:48.646 [debug] [IssueModel] Fetch timeline events of issue #4125 - enter
2025-05-14 15:30:48.650 [debug] [RateLimit] Extension rate limit remaining: 140, LatestUpdates
2025-05-14 15:30:49.181 [error] [GitHubRepository+0] Error querying GraphQL API (LatestUpdates): GraphQL error: No such type IssueTypeAddedEvent, so it can't be a fragment condition
GraphQL error: No such type IssueTypeChangedEvent, so it can't be a fragment condition
GraphQL error: No such type IssueTypeRemovedEvent, so it can't be a fragment condition
GraphQL error: No such type ParentIssueAddedEvent, so it can't be a fragment condition
GraphQL error: No such type ParentIssueRemovedEvent, so it can't be a fragment condition
GraphQL error: No such type SubIssueAddedEvent, so it can't be a fragment condition
GraphQL error: No such type SubIssueRemovedEvent, so it can't be a fragment condition. undefinedType,undefinedType,undefinedType,undefinedType,undefinedType,undefinedType,undefinedType
2025-05-14 15:30:49.182 [error] [IssueModel] Error fetching timeline events of issue #4125 - GraphQL error: No such type IssueTypeAddedEvent, so it can't be a fragment condition
GraphQL error: No such type IssueTypeChangedEvent, so it can't be a fragment condition
GraphQL error: No such type IssueTypeRemovedEvent, so it can't be a fragment condition
GraphQL error: No such type ParentIssueAddedEvent, so it can't be a fragment condition
GraphQL error: No such type ParentIssueRemovedEvent, so it can't be a fragment condition
GraphQL error: No such type SubIssueAddedEvent, so it can't be a fragment condition
GraphQL error: No such type SubIssueRemovedEvent, so it can't be a fragment condition
2025-05-14 15:31:13.140 [debug] [IssueModel] Replace assignees of issue #4125 - enter
2025-05-14 15:31:13.140 [debug] [RateLimit] Extension rate limit remaining: 140, /repos/{owner}/{repo}/issues/{issue_number}/assignees
2025-05-14 15:31:14.259 [debug] [RateLimit] REST Rate limit remaining: 4988, cost: -1, /repos/{owner}/{repo}/issues/{issue_number}/assignees
2025-05-14 15:31:14.260 [debug] [RateLimit] Extension rate limit remaining: 140, /repos/{owner}/{repo}/issues/{issue_number}/assignees
2025-05-14 15:31:15.112 [debug] [RateLimit] REST Rate limit remaining: 4987, cost: -1, /repos/{owner}/{repo}/issues/{issue_number}/assignees
2025-05-14 15:31:15.112 [debug] [IssueModel] Replace assignees of issue #4125 - done
2025-05-14 15:31:15.112 [debug] [IssueModel] Fetch timeline events of issue #4125 - enter
2025-05-14 15:31:15.114 [debug] [RateLimit] Extension rate limit remaining: 140, IssueTimelineEvents
2025-05-14 15:31:15.715 [error] [GitHubRepository+0] Error querying GraphQL API (IssueTimelineEvents): GraphQL error: Could not resolve to an Issue with the number of 4125.. 
2025-05-14 15:31:15.800 [debug] [IssueOverviewPanel] initialized with PR
2025-05-14 15:31:29.378 [info] [FolderRepositoryManager+0] Using in-memory cached assignable users.
2025-05-14 15:31:29.378 [info] [FolderRepositoryManager+0] Using in-memory cached team reviewers.
2025-05-14 15:31:29.483 [info] [QuickPicks] Setting quick pick reviewers took 105.88311300054193ms

Github enterprise auth:

2025-05-14 15:44:02.311 [info] Getting sessions for project,read:org,read:user,repo,user:email,workflow...
2025-05-14 15:44:02.312 [info] Got 1 sessions for project,read:org,read:user,repo,user:email,workflow...

Additional Notes:

On adding reviewers from the browser, they are shown in the PR Description page in VSCode.

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