Feature request: batch-fetch pull request review comment threads for an explicit PR list
まだ誰も着手していません。
評価
- 難易度
- 4/5
- 見積もり時間
- 3〜5日
- 初心者へのやさしさ
- 48/100
調査の方向性
まず既存の pull_request_read と get_review_comments の動作を読み、その後、script/generate-docs と toolsnap の更新に関するリポジトリの規約を確認します。PR 数の上限と、存在しない PR または 404 の PR に対する動作を定義して文書化し、テストを追加して、生成されたドキュメントまたは toolsnap アーティファクトを更新します。明示的なリストのバッチ動作がテストされ、文書化されていれば完了です。
索引モデルが issue の本文から書いたものです。
説明
Problem
Today, pulling inline review threads for multiple PRs means N separate pull_request_read calls (get_review_comments per PR). For agent workflows (team playbooks, review digests, distilling recurring conventions into docs or rules), that is slow, error-prone, and uses more API round-trips than necessary.
Proposed solution (v1)
Add a tool (name up to maintainers) that accepts:
owner,repopull_numbers: array of integers (bounded, e.g. configurable max such as 20–50)- Optional pagination parameters consistent with existing
get_review_commentsbehavior
Behavior: For each PR number, return the same structured data as today’s per-PR get_review_comments (threads + metadata such as resolved/outdated), keyed by pull_number.
Explicit non-goals (v1):
- No semantic ranking, clustering, or “top comments” inside the server.
- No implicit full-repo scan; the caller supplies an explicit list (e.g. from
search_pull_requests/list_pull_requests/ git).
Why this matters
- Documents a single supported pattern for agents: select PRs → one batch read → summarize offline.
- Reduces N+1 calls for engineering hygiene (guidelines derived from real review text).
Acceptance criteria (suggestion)
- Documented max PR count and behavior for missing/404 PRs (partial success vs fail-all—pick one and document).
- Tests +
script/generate-docs/ toolsnap updates per repo conventions.
Related issues
- Reply to review comments (still one thread at a time today): https://github.com/github/github-mcp-server/issues/1323
- Copilot suggestion changesets not in API (platform/API gap): https://github.com/github/github-mcp-server/issues/2235
- Companion (batch PR metadata for changelogs): https://github.com/github/github-mcp-server/issues/2302
Note
We are happy to prototype a PR if maintainers agree on v1 scope (explicit pull_numbers[], caps, and error semantics).
- 主要言語
- 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
-
難易度 2/5 1〜3時間 初心者へのやさしさ 88/100
NVIDIA/gpu-operator#2955 ·
-
agentic-workflows
難易度 2/5 1〜3時間 初心者へのやさしさ 68/100
-
難易度 1/5 1時間未満 初心者へのやさしさ 90/100
kovidgoyal/kitty#10516 ·
-
bug
難易度 1/5 1時間未満 初心者へのやさしさ 90/100
cisagov/vulnrichment#337 ·
-
難易度 1/5 1時間未満 初心者へのやさしさ 72/100