feat(ci): rewrite release notes with Claude Code before Discord post#1159
Merged
Conversation
The release workflow now feeds the commit log + filtered diff to `claude -p` (OAuth-authenticated) and overwrites the auto-generated GitHub Release body with a concise, categorized summary, so the Discord embed it sources from the release body becomes informative instead of echoing PR merge titles. Falls through to the auto-generated notes if the OAuth secret is absent or claude fails. Also adds a workflow_dispatch-only `backfill-release-notes.yml` so any existing tag can be re-summarized on demand (and as a validation path without cutting a new release). Co-Authored-By: Claude Opus 4.7 (1M context) <noreply@anthropic.com>
There was a problem hiding this comment.
Your free trial has ended. If you'd like to continue receiving code reviews, you can add a payment method here.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Summary
release.ymlworkflow now feeds the commit log + filtered diff toclaude -p(OAuth-authenticated viaCLAUDE_CODE_OAUTH_TOKEN) between the "create release" and "post to Discord" steps, and overwrites the auto-generated GitHub Release body with a categorized summary. Falls through to the auto-generated notes if the secret is absent or claude fails.backfill-release-notes.yml, aworkflow_dispatch-only workflow that re-summarizes any existing tag — both a validation surface and a one-off fix tool.Test plan
v0.0.248..v0.0.249produced clean release notes summarizing the sync gates work in feat: add public surface and test churn gates to pdd sync (#1012) #1015 (Features/Fixes/Internal sections, PR references, no merge-title noise).Backfill release notes with Claude Codeagainstv0.0.249to validate the full CI path (npm install + OAuth +claude -p+gh release edit).🤖 Generated with Claude Code