Skip to content

testutil/genchangelog: credit PR authors in release notes - #4781

Merged
KaloyanTanev merged 1 commit into
mainfrom
kalo/genchangelog-contributors
Oct 19, 2026
Merged

KaloyanTanev merged 1 commit into
mainfrom
kalo/genchangelog-contributors

Conversation

@KaloyanTanev

Copy link
Copy Markdown
Collaborator

Resolve each PR's GitHub login and append by @login to the What's Changed lines, plus a Contributors section listing every author in the range, including authors of PRs linked to issues. GitHub renders the avatars of @mentioned users under a release, which our notes lost when we moved off GitHub's generated format after v1.3.0. A failed lookup only drops that mention instead of failing the release job; the job already exports GITHUB_TOKEN, so lookups are authenticated.

category: misc
ticket: none

@KaloyanTanev KaloyanTanev self-assigned this Oct 13, 2026
@sonarqubecloud

Copy link
Copy Markdown

Copilot AI 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.

🔵 Needs a closer look

Bot-authored PR logins are currently omitted from attribution and the Contributors section.

0 open findings

What changed in this PR

Updates changelog generation to credit GitHub PR authors and list contributors, including issue-linked PR authors.

Changes:

  • Resolves PR authors with graceful lookup failures.
  • Adds author mentions to release notes.
  • Adds a sorted Contributors section and tests.
File Description
testutil/​genchangelog/​template.md Renders author mentions and contributors.
testutil/​genchangelog/​main.go Resolves authors and builds contributor data.
testutil/​genchangelog/​main_internal_test.go Tests attribution behavior.

🧠 Review effort: Lite


💡 Add a code-review agent skill or configure MCP servers for context-aware, tailored reviews. Learn more in the docs.

@codecov

codecov Bot commented Oct 13, 2026

Copy link
Copy Markdown

Codecov Report

✅ All modified and coverable lines are covered by tests.
✅ Project coverage is 65.71%. Comparing base (e76d179) to head (08dc8ac).

Additional details and impacted files
@@            Coverage Diff             @@
##             main    #4781      +/-   ##
==========================================
+ Coverage   65.65%   65.71%   +0.05%     
==========================================
  Files         246      246              
  Lines       30171    30171              
==========================================
+ Hits        19809    19827      +18     
+ Misses      10361    10343      -18     
  Partials        1        1              

☔ View full report in Codecov by Harness.
📢 Have feedback on the report? Share it here.

🚀 New features to boost your workflow:
  • ❄️ Test Analytics: Detect flaky tests, report on failures, and find test suite problems.

@KaloyanTanev
KaloyanTanev merged commit cc6e1af into main Oct 19, 2026
12 checks passed
@KaloyanTanev
KaloyanTanev deleted the kalo/genchangelog-contributors branch October 19, 2026 14:25
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants