Skip to content

feat(ci): rewrite release notes with Claude Code before Discord post#1159

Merged
gltanaka merged 1 commit into
mainfrom
change/ai-release-notes
May 24, 2026
Merged

feat(ci): rewrite release notes with Claude Code before Discord post#1159
gltanaka merged 1 commit into
mainfrom
change/ai-release-notes

Conversation

@gltanaka
Copy link
Copy Markdown
Contributor

Summary

  • The release.yml workflow now feeds the commit log + filtered diff to claude -p (OAuth-authenticated via CLAUDE_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.
  • Adds backfill-release-notes.yml, a workflow_dispatch-only workflow that re-summarizes any existing tag — both a validation surface and a one-off fix tool.

Test plan

  • Local dry-run on v0.0.248..v0.0.249 produced 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).
  • After merge, trigger Backfill release notes with Claude Code against v0.0.249 to validate the full CI path (npm install + OAuth + claude -p + gh release edit).

🤖 Generated with Claude Code

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>
Copy link
Copy Markdown

@greptile-apps greptile-apps Bot left a comment

Choose a reason for hiding this comment

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

Your free trial has ended. If you'd like to continue receiving code reviews, you can add a payment method here.

@gltanaka gltanaka merged commit 6d294e1 into main May 24, 2026
9 checks passed
@gltanaka gltanaka deleted the change/ai-release-notes branch May 24, 2026 18:53
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.

1 participant