Feature request: batch-fetch merged PR metadata for release notes / changelog generation

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

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

評価

難易度
4/5
見積もり時間
3〜5日
初心者へのやさしさ
48/100
issue の種類
機能追加
明瞭さ
おおむね明確
活発さ
静か
技術スタック
go
領域
api

調査の方向性

まず、既存の search_pull_requests ツールと list_pull_requests ツール、およびリポジトリのテストとドキュメントの規約を読みます。上限付きの pull_numbers 入力、見つからないリクエストまたはマージされていないリクエストに対する PR ごとの処理、正規化されたメタデータレスポンスを定義します。テストとドキュメントで合意した v1 の動作をカバーし、diff の集約やリリースの推論を追加していなければ完了です。

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

説明

enhancement request ai review
Problem

For a release window, teams often have a known list of merged PR numbers. Building a structured changelog today requires opening each PR or scripting against REST/GraphQL outside MCP. Agents would benefit from one MCP call that returns normalized metadata for many PRs.

Proposed solution (v1)

Add a tool that accepts:

  • owner, repo
  • pull_numbers: array of integers (bounded)

Returns (exact fields up to maintainers), per PR, for example:

  • number, title, html_url
  • merged_at, merge_commit_sha (when available)
  • labels (at least name)
  • author login

Output: JSON suitable for templating Markdown release notes in the client (prose stays in the agent or human editor).

Explicit non-goals (v1):

  • Full combined diff across PRs (too heavy); linking to each PR is enough.
  • Guessing “what shipped in this release” without an explicit PR list—the caller provides the list.
Why this matters
  • Release engineering + agents: “Here are the PRs we shipped” → one call → table/sections for notes, Slack, or tickets.
  • Composes with search_pull_requests / list_pull_requests: caller selects PRs, tool hydrates details.
Relationship to existing requests
  • Create/update releases (#1909) addresses publishing a release after notes exist; this request is read-side batch hydration of PR metadata to produce those notes.
Related issues
Acceptance criteria (suggestion)
  • Bounded input; documented max PR count.
  • Clear behavior for non-merged or missing PRs (per-PR errors vs fail-all—documented).
  • Tests + docs per repo conventions.
Note

We are happy to prototype a PR if maintainers agree on v1 scope.

主要言語
Go
スター
33.1k
フォーク
5k
平均マージ
2日 1時間
マージ済み PR(30日)
25

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

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

はじめの一歩

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

github/github-mcp-server のほかの issue

github/github-mcp-server の issue をすべて見る

似ている issue

Go の issue をもっと見る

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

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