Skip to content

feat(infra): credit issue reporters in release notes - #5565

Merged
Mason Daugherty (mdrxy) merged 5 commits into
mainfrom
add-special-thanks-sectio
Aug 18, 2026
Merged

feat(infra): credit issue reporters in release notes#5565
Mason Daugherty (mdrxy) merged 5 commits into
mainfrom
add-special-thanks-sectio

Conversation

@mdrxy

@mdrxy Mason Daugherty (mdrxy) commented Aug 18, 2026

Copy link
Copy Markdown
Member

GitHub release notes now include a Special thanks section. It credits the users who reported the issues that this release's pull requests closed, with links to those issues. The existing community-contributor shoutouts credit pull request authors; this section credits issue reporters. Users who are internal maintainers on this release are not included.

**Special thanks** to everyone who reported the issues addressed in this release: @carol ([#5310](https://github.com/langchain-ai/deepagents/issues/5310)), @dave ([#5201](https://github.com/langchain-ai/deepagents/issues/5201), [#5202](https://github.com/langchain-ai/deepagents/issues/5202))

The existing collect_contributors walk does the lookup. Its per-PR gh pr view call now also requests closingIssuesReferences, so both attribution lists use the same range, retry, and failure handling.

For each merged PR, the issue author is credited — not the PR author. Entries are grouped by login with deduplicated, ascending issue numbers, and rendered as a comma-separated list like the other attribution lines. Bot accounts ([bot] suffix), empty logins, and unusable issue numbers are skipped with a warning. A missing closingIssuesReferences field also warns instead of silently producing an empty section. If no closed issues are found, the section is omitted. Lookup failures never block a release.

@github-actions github-actions Bot added feature New feature/enhancement or request for one infra Repo meta changes internal User is a member of the `langchain-ai` GitHub organization size: M 200-499 LOC labels Aug 18, 2026

@open-swe open-swe Bot left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Open SWE Review found 1 potential issue.

Open in WebView Open SWE trace

Comment thread .github/scripts/release/build_release_notes.py Outdated
`gh pr view --json closingIssuesReferences` returns only id/number/
repository/url per reference, so the nested author lookup always came back
None and the special-thanks section would always have been empty. Resolve
each closed issue's author with a follow-up `gh api repos/{repo}/issues/
{number}` call instead.
@github-actions github-actions Bot added size: L 500-999 LOC and removed size: M 200-499 LOC labels Aug 18, 2026

@open-swe open-swe Bot left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Open SWE Review found 1 potential issue.

Open in WebView Open SWE trace

Comment thread .github/scripts/release/build_release_notes.py Outdated
A closingIssuesReferences entry can point at another repository, but the
author lookup and rendered link always targeted the released repo — a
cross-repo reference 404'd (or misattributed to a colliding local issue
number). Carry each closed issue's repository identity from the
reference's repository.nameWithOwner (with url as fallback) through to
the IssueReporter, and label cross-repo links with their owner/name.
`closingIssuesReferences` entries nest the owning repository as
`owner.login` + `name`; they carry no flat `nameWithOwner`. Reading only
that key meant the documented primary path never matched a real payload
and every reference fell through to the URL regex, which was framed as a
rarely-taken fallback.

Compose the slug from the nested owner, keeping `nameWithOwner` first for
a future gh release and the URL last. An entry that resolves to none of
them is now dropped with a warning rather than assumed to belong to the
released repo: guessing queried an unrelated issue sharing the number and
publicly thanked whoever filed it.

Reporter lookups also join the failure accounting they sat outside of.
Failed issue-author lookups roll up into a warning carrying the
INCOMPLETE token that `main()` sorts on, so the section going quiet is
visible among the ten annotations GitHub renders. `gh pr view` failures
get their own consecutive-failure counter, since the commits-to-PR call
resets the shared one on every success and an unknown `--json` field
fails every view in the walk. Authors are memoized per issue, so two PRs
closing one issue cost one call.

Malformed reference entries warn instead of vanishing, issue numbers
reject `bool` and non-positive values, repository slugs are normalized
for case, and `IssueReporter.issues` is a tuple so the record is actually
immutable.
@github-actions github-actions Bot added size: XL 1000+ LOC and removed size: L 500-999 LOC labels Aug 18, 2026
@mdrxy
Mason Daugherty (mdrxy) merged commit 064a75b into main Aug 18, 2026
52 checks passed
@mdrxy
Mason Daugherty (mdrxy) deleted the add-special-thanks-sectio branch August 18, 2026 01:59
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

feature New feature/enhancement or request for one infra Repo meta changes internal User is a member of the `langchain-ai` GitHub organization size: XL 1000+ LOC

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant