Skip to content

Too many GetMentionableUsers POST requests #2892

@alexr00

Description

@alexr00

In the JS console I can see 51 POST requests having been made to https://api.github.com/graphql. Of those, most are the result of a paginated query called GetMentionableUsers that preloads all mentionable users for this repository.

A giant repository like rails/rails will have 4304 mentionable users, which includes all org members and all prior contributors to the codebase. It will take at least 44 sequential API requests to paginate them all. It's not clear to me why a fresh VS Code instance would preload all this before this information is needed for anything. Could this load to the GitHub API be avoided?

Metadata

Metadata

Assignees

Labels

bugIssue identified by VS Code Team member as probable bugcandidateIssue identified as probable candidate for fixing in the next releaseverifiedVerification succeeded

Type

No type

Projects

No projects

Relationships

None yet

Development

No branches or pull requests

Issue actions