microsoft / microsoft/vscode-pull-request-github

Connect timeouts and rate limit issues

Aperta
#8,621 3 commenti 1 reazione 0 assegnatari Vedi su GitHub

Nessuno ha ancora preso questa issue.

info-needed
Lingua principale
TypeScript
Stelle
2.6k
Fork
795
Merge medio
1g 4h
PR unite (30g)
46

Descrizione

  • 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

Guida per i contributori

Nessuna guida per i contributori indicizzata per questo repository

Come iniziare

  1. Leggi tutta la issue e poi la guida ai contributi del progetto.
  2. Commenta sulla issue per dire che te ne occupi tu — evita che due persone facciano lo stesso lavoro.
  3. Fai un fork del repository e lavora su un branch.
  4. Apri una pull request che faccia riferimento al numero della issue.

Direzione di ricerca

Inizia dall’avvio dell’estensione e traccia le richieste PullRequest dell’API GraphQL GitHubRepository descritte nei log. Riproduci il blocco con i passaggi VS Code elencati, osservando al contempo le chiamate concorrenti, gli errori di limitazione della frequenza e i timeout di connessione. Il lavoro è completato quando l’avvio non sovraccarica più GitHub né lascia l’estensione senza risposta in questo scenario.

Scritto dal modello di indicizzazione a partire dal testo della issue.

Valutazione

Stack tecnologico
github, graphql, typescript, vscode
Ambito
api, devtools, networking
Tipo di issue
Bug
Difficoltà
4/5
Tempo stimato
3-5 giorni
Stato di attività
Tranquilla
Chiarezza
Da chiarire
Idoneità per principianti
38/100

Ricevi le nuove issue nella tua casella

Un breve riepilogo di issue GitHub adatte ai principianti.