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

Abierto
#2,302 0 comentarios 0 reacciones 0 asignados Ver en GitHub

Nadie ha tomado este issue todavía.

Evaluación

Dificultad
4/5
Tiempo estimado
3-5 días
Aptitud para principiantes
48/100
Tipo de issue
Nueva funcionalidad
Claridad
Bastante claro
Estado de actividad
Tranquilo
Stack tecnológico
go
Área
api

Línea de trabajo

Empieza leyendo las herramientas existentes search_pull_requests y list_pull_requests, así como las convenciones de pruebas y documentación del repositorio. Define la entrada acotada pull_numbers, el manejo individual de cada PR para las solicitudes faltantes o no fusionadas y la respuesta de metadatos normalizada. Se considerará terminado cuando las pruebas y la documentación cubran el comportamiento v1 acordado sin añadir agregación de diffs ni inferencia de releases.

Escrito por el modelo de indexación a partir del texto del issue.

Descripción

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.

Lenguaje dominante
Go
Estrellas
33.1k
Forks
5k
Merge medio
2 d 1 h
PR fusionados (30 d)
25

Guía de contribución

Abrir la guía de contribución

Primeros pasos

  1. Lee el issue completo y luego la guía de contribución del proyecto.
  2. Comenta en el issue que vas a ocuparte — evita que dos personas hagan lo mismo.
  3. Haz un fork del repositorio y trabaja en una rama.
  4. Abre un pull request que haga referencia al número del issue.

Más de github/github-mcp-server

Todos los issues de github/github-mcp-server

Issues similares

Más issues de Go

Recibe los nuevos issues en tu correo

Un resumen breve de issues de GitHub para principiantes.