Feature request: batch-fetch merged PR metadata for release notes / changelog generation
Chưa có ai nhận issue này.
Đánh giá
- Độ khó
- 4/5
- Thời gian dự kiến
- 3-5 ngày
- Mức phù hợp với người mới
- 48/100
Hướng nghiên cứu
Bắt đầu bằng việc đọc các tool hiện có là search_pull_requests và list_pull_requests, cùng với các quy ước về test và tài liệu của repository. Xác định input pull_numbers có giới hạn, cách xử lý theo từng PR đối với các request bị thiếu hoặc chưa được merge, và response metadata đã được chuẩn hóa. Được xem là hoàn tất khi test và tài liệu bao quát hành vi v1 đã thống nhất mà không bổ sung việc tổng hợp diff hoặc suy luận release.
Do mô hình lập chỉ mục viết ra từ nội dung của issue.
Mô tả
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,repopull_numbers: array of integers (bounded)
Returns (exact fields up to maintainers), per PR, for example:
number,title,html_urlmerged_at,merge_commit_sha(when available)labels(at leastname)authorlogin
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
- Issue/PR relationship graph (planning context, different shape): https://github.com/github/github-mcp-server/issues/1510
- Companion (batch review threads): https://github.com/github/github-mcp-server/issues/2301
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.
- Ngôn ngữ chính
- Go
- Star
- 33.1k
- Fork
- 5k
- Merge trung bình
- 2 ngày 1 giờ
- Pull request đã merge (30 ngày)
- 25
Hướng dẫn đóng góp
Bắt đầu từ đâu
- Đọc hết issue, rồi đọc hướng dẫn đóng góp của dự án.
- Bình luận trên issue rằng bạn sẽ nhận — tránh hai người làm cùng một việc.
- Fork repository và làm thay đổi trên một nhánh.
- Mở pull request có tham chiếu số hiệu của issue.
Issue khác của github/github-mcp-server
-
bug
Độ khó 2/5 1-3 giờ Mức phù hợp với người mới 84/100
github/github-mcp-server#3235 ·
-
enhancement
Độ khó 1/5 Dưới một giờ Mức phù hợp với người mới 88/100
github/github-mcp-server#3042 · 2 bình luận ·
-
bug
Độ khó 2/5 1-3 giờ Mức phù hợp với người mới 72/100
github/github-mcp-server#3032 · 1 reaction ·
-
Độ khó 2/5 1-3 giờ Mức phù hợp với người mới 74/100
github/github-mcp-server#2803 · 1 bình luận ·
-
Độ khó 2/5 1-3 giờ Mức phù hợp với người mới 76/100
github/github-mcp-server#2740 ·
Tất cả issue của github/github-mcp-server
Issue tương tự
-
textual definition
Độ khó 1/5 Dưới một giờ Mức phù hợp với người mới 90/100
geneontology/go-ontology#32653 ·
-
Độ khó 1/5 Dưới một giờ Mức phù hợp với người mới 75/100
-
needs design
Độ khó 2/5 1-3 giờ Mức phù hợp với người mới 75/100
-
Priority/High ready-for-agent Severity/Major Type/Bug
Độ khó 2/5 1-3 giờ Mức phù hợp với người mới 75/100
-
Độ khó 2/5 1-3 giờ Mức phù hợp với người mới 70/100