push_files takes ~70s per call (both success and fast-fail cases)
まだ誰も着手していません。
評価
- 難易度
- 4/5
- 見積もり時間
- 3〜5日
- 初心者へのやさしさ
- 35/100
調査の方向性
まず、エントリポイント push_files と、それが行う GitHub Git Trees および commit 操作を追跡します。7 ファイルの payload を認可失敗パスと成功パスの両方で再現し、約 70 秒の遅延がどこで発生するかを比較します。完了の条件は、遅延の原因が特定されて対処されているか、明確に診断されており、影響を受けるパスがカバレッジで網羅されていることです。
索引モデルが issue の本文から書いたものです。
説明
Describe the bug
push_files calls are consistently slow (~1m12s–1m13s) in our MCP flow, even when one call fails with authorization error and the next call succeeds with the same payload.
This suggests significant latency before/around final Git operations, not only at final commit update step.
Affected version
Using hosted/remote GitHub MCP server, version: github-mcp-server/remote-57ddf9ca0de2f61fc022ca3cff21efc81a65fc99 (observed on 2026-03-08 via initialize -> serverInfo.version)
Steps to reproduce the behavior
- Call
github.push_fileswith a payload of 7 files (Twig templates + one largerclasses/Email.php) to: - First call result:
- Error:
failed to create tree: POST https://api.github.com/repos/Sogl/grav-plugin-login/git/trees: 403 Resource not accessible by personal access token [] - Client timing:
Worked for 1m 12s
- Error:
- Fix PAT permissions and call
github.push_filesagain with the same payload. - Second call result:
- Success, ref updated to commit: https://github.com/Sogl/grav-plugin-login/commit/8be0cd10415515109476025379545999f52b87b0
- Client timing:
Worked for 1m 13s
Expected vs actual behavior
Expected:
- Latency in seconds for this payload size, or at least clear diagnostics if server-side queueing/throttling is involved.
Actual:
- Both failed and successful calls take ~70+ seconds with almost identical duration.
Logs
First call (failed, ~1m12s):
failed to create tree: POST https://api.github.com/repos/Sogl/grav-plugin-login/git/trees: 403 Resource not accessible by personal access token []
Second call (success, ~1m13s):
{"ref":"refs/heads/feature/multipart-emails", ... "sha":"8be0cd10415515109476025379545999f52b87b0"}
Request payload was the same large push_files body in both calls (7 files, full file contents).
- 主要言語
- Go
- スター
- 33.1k
- フォーク
- 5k
- 平均マージ
- 2日 1時間
- マージ済み PR(30日)
- 25
コントリビューションガイド
はじめの一歩
- issue を最後まで読み、次にプロジェクトのコントリビューションガイドを読みます。
- 着手することを issue にコメントします — 二人が同じ作業をするのを防げます。
- リポジトリをフォークし、ブランチを切って変更します。
- issue 番号を参照したプルリクエストを送ります。
github/github-mcp-server のほかの issue
-
bug
難易度 2/5 1〜3時間 初心者へのやさしさ 84/100
github/github-mcp-server#3235 ·
-
enhancement
難易度 1/5 1時間未満 初心者へのやさしさ 88/100
github/github-mcp-server#3042 · コメント 2 件 ·
-
bug
難易度 2/5 1〜3時間 初心者へのやさしさ 72/100
github/github-mcp-server#3032 · リアクション 1 件 ·
-
難易度 2/5 1〜3時間 初心者へのやさしさ 74/100
github/github-mcp-server#2803 · コメント 1 件 ·
-
難易度 2/5 1〜3時間 初心者へのやさしさ 76/100
github/github-mcp-server#2740 ·
github/github-mcp-server の issue をすべて見る
似ている issue
-
textual definition
難易度 1/5 1時間未満 初心者へのやさしさ 90/100
geneontology/go-ontology#32653 ·
-
難易度 1/5 1時間未満 初心者へのやさしさ 75/100
-
needs design
難易度 2/5 1〜3時間 初心者へのやさしさ 75/100
-
Priority/High ready-for-agent Severity/Major Type/Bug
難易度 2/5 1〜3時間 初心者へのやさしさ 75/100
-
難易度 2/5 1〜3時間 初心者へのやさしさ 70/100