microsoft / microsoft/vscode-pull-request-github

Connect timeouts and rate limit issues

Open
#8,621 3 comments 1 reaction 0 assignees View on GitHub

Nobody has claimed this yet.

info-needed
Dominant language
TypeScript
Stars
2.6k
Forks
796
Avg merge
1d 4h
Merged PRs (30d)
46

Description

  • Extension version: Any
  • VSCode Version: 1.112.0
  • OS: macOS 15.7.3
  • Repository Clone Configuration (single repository/fork of an upstream repository):
  • GitHub Product (GitHub.com/GitHub Enterprise version x.x.x): Github.com

When running the extension I frequently find it freezing or unresponsive when starting up. When checking the output logs of the extension I can see it's running either in connect timeouts or getting rate limited by Github. This seems like there's too much concurrent calls being made by the extension.

2026-03-30 09:25:15.269 [error] [RateLimit] API call count has exceeded 140 concurrent calls.
2026-03-30 09:25:15.270 [error] [RateLimit] API call count has exceeded 140 concurrent calls.
2026-03-30 09:25:15.270 [error] [RateLimit] API call count has exceeded 140 concurrent calls.
2026-03-30 09:25:15.271 [error] [RateLimit] API call count has exceeded 140 concurrent calls.
2026-03-30 09:25:15.271 [error] [RateLimit] API call count has exceeded 140 concurrent calls.
2026-03-30 09:25:15.271 [error] [RateLimit] API call count has exceeded 140 concurrent calls.
2026-03-30 09:25:15.272 [error] [RateLimit] API call count has exceeded 140 concurrent calls.
2026-03-30 09:25:15.272 [error] [RateLimit] API call count has exceeded 140 concurrent calls.
2026-03-30 09:25:15.273 [error] [RateLimit] API call count has exceeded 140 concurrent calls.
2026-03-30 09:25:15.276 [error] [RateLimit] API call count has exceeded 140 concurrent calls.
2026-03-30 09:25:15.277 [error] [RateLimit] API call count has exceeded 140 concurrent calls.
2026-03-30 09:25:15.277 [error] [RateLimit] API call count has exceeded 140 concurrent calls.
2026-03-30 09:26:30.164 [error] [GitHubRepository+0] Error querying GraphQL API (PullRequest): Network error: request to https://api.github.com/graphql failed, reason: connect ETIMEDOUT 140.82.121.6:443. 
2026-03-30 09:26:30.165 [error] [GitHubRepository+0] Error querying GraphQL API (PullRequest): Network error: request to https://api.github.com/graphql failed, reason: connect ETIMEDOUT 140.82.121.6:443. 
2026-03-30 09:26:30.165 [error] [GitHubRepository+0] Unable to fetch PR: Error: Network error: request to https://api.github.com/graphql failed, reason: connect ETIMEDOUT 140.82.121.6:443
2026-03-30 09:26:30.165 [error] [GitHubRepository+0] Unable to fetch PR: Error: Network error: request to https://api.github.com/graphql failed, reason: connect ETIMEDOUT 140.82.121.6:443
2026-03-30 09:26:30.165 [error] [GitHubRepository+0] Error querying GraphQL API (PullRequest): Network error: request to https://api.github.com/graphql failed, reason: connect ETIMEDOUT 140.82.121.6:443. 
2026-03-30 09:26:30.165 [error] [GitHubRepository+0] Error querying GraphQL API (PullRequest): Network error: request to https://api.github.com/graphql failed, reason: connect ETIMEDOUT 140.82.121.6:443. 
2026-03-30 09:26:30.166 [error] [GitHubRepository+0] Unable to fetch PR: Error: Network error: request to https://api.github.com/graphql failed, reason: connect ETIMEDOUT 140.82.121.6:443
2026-03-30 09:26:30.166 [error] [GitHubRepository+0] Unable to fetch PR: Error: Network error: request to https://api.github.com/graphql failed, reason: connect ETIMEDOUT 140.82.121.6:443
2026-03-30 09:26:30.166 [error] [GitHubRepository+0] Error querying GraphQL API (PullRequest): Network error: request to https://api.github.com/graphql failed, reason: connect ETIMEDOUT 140.82.121.6:443. 
2026-03-30 09:26:30.166 [error] [GitHubRepository+0] Error querying GraphQL API (PullRequest): Network error: request to https://api.github.com/graphql failed, reason: connect ETIMEDOUT 140.82.121.6:443. 

It's really frustrating to me. On the one hand the extension is really useful when it works properly, code navigation when reviewing from within your IDE is sublime. But the number of times the extension freezes or stops working after a new release makes it impossible to work with for me.

Steps to Reproduce:

  1. Open VSCode
  2. Try to load the extension

Contributor guide

No contributing guide indexed for this repository

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

Research direction

Start at extension startup and trace the GitHubRepository GraphQL API PullRequest requests described in the logs. Reproduce the freeze with the listed VS Code steps while observing concurrent calls, rate-limit errors, and connection timeouts. Done means startup no longer overwhelms GitHub or leaves the extension unresponsive under this scenario.

Written by the indexing model from the issue text.

Assessment

Tech stack
github, graphql, typescript, vscode
Domain
api, devtools, networking
Issue type
Bug
Difficulty
4/5
Estimated time
3-5 days
Activity status
Quiet
Clarity
Needs clarification
Newbie friendliness
38/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.