microsoft / microsoft/vscode-pull-request-github

Connect timeouts and rate limit issues

オープン
#8,621 コメント 3 件 リアクション 1 件 担当者 0 名 GitHub で見る

まだ誰も着手していません。

info-needed
主要言語
TypeScript
スター
2.6k
フォーク
796
平均マージ
1日 4時間
マージ済み PR(30日)
46

説明

  • 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

コントリビューションガイド

このリポジトリのコントリビューションガイドは索引されていません

はじめの一歩

  1. issue を最後まで読み、次にプロジェクトのコントリビューションガイドを読みます。
  2. 着手することを issue にコメントします — 二人が同じ作業をするのを防げます。
  3. リポジトリをフォークし、ブランチを切って変更します。
  4. issue 番号を参照したプルリクエストを送ります。

調査の方向性

拡張機能の起動から始め、ログに記載された GitHubRepository GraphQL API の PullRequest リクエストを追跡します。記載されている VS Code の手順でフリーズを再現しながら、同時実行される呼び出し、レート制限エラー、接続タイムアウトを観察します。このシナリオで起動時に GitHub に過剰な負荷をかけず、拡張機能が応答しなくならなくなれば完了です。

索引モデルが issue の本文から書いたものです。

評価

技術スタック
github, graphql, typescript, vscode
領域
api, devtools, networking
issue の種類
バグ
難易度
4/5
見積もり時間
3〜5日
活発さ
静か
明瞭さ
説明が足りない
初心者へのやさしさ
38/100

新しい issue をメールで受け取る

初心者向けの GitHub issue を短くまとめたダイジェスト。