Hacktoberfest 2026:维护者为十月标记出来的 issue,仍然开放、适合新手。 浏览 Hacktoberfest issue

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

未关闭
#2,302 0 条评论 0 个 reaction 已指派 0 人 在 GitHub 查看

还没有人认领这个 Issue。

评估

难度
4/5
预计耗时
3-5 天
新手友好度
48/100
Issue 类型
功能
描述清晰度
基本清楚
活跃度
冷清
技术栈
go
领域
api

调研方向

首先阅读现有的 search_pull_requests 和 list_pull_requests 工具,以及仓库的测试和文档约定。定义有界的 pull_numbers 输入、针对缺失请求或未合并请求的逐 PR 处理方式,以及规范化的元数据响应。在不添加 diff 聚合或 release 推断的情况下,测试和文档覆盖约定的 v1 行为,即视为完成。

由索引模型根据 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 小时
30 天内合并 PR
25

贡献指南

打开贡献指南

从这里开始

  1. 先读完整个 Issue,再读项目的贡献指南。
  2. 在 Issue 下留言说明你要接手 —— 这能避免两个人做同样的事。
  3. Fork 仓库,在一个分支上完成修改。
  4. 提交 Pull Request,并在描述里引用这个 Issue 编号。

github/github-mcp-server 的其他 Issue

查看 github/github-mcp-server 的全部 Issue

相似的 Issue

更多 Go Issue

把新 issue 发到你的邮箱

精选适合新手参与的 GitHub issue 摘要。