fix(release-plz): describe the release in the PR title and fix body #123
No reviewers
Labels
No labels
bug
duplicate
enhancement
help wanted
invalid
question
wontfix
No milestone
No project
No assignees
2 participants
Notifications
Due date
No due date set.
Dependencies
No dependencies set.
Reference
Slipstream/emc!123
Loading…
Add table
Add a link
Reference in a new issue
No description provided.
Delete branch "fix/release-pr-title-description"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
Summary
Make the script that opens the release PR produce metadata that passes the
auto_reviewpre-merge quality gate, so release PRs stop requiring manual titleand body edits.
Rationale
The release PR is built and opened by
.forgejo/scripts/create-release-plz-release-pr.shvia the Forgejo API — release-plz's own
pr_name/pr_bodyare never used. Thatscript set a bare
chore(release): v<version>title with no description, whichauto_reviewrejected on every release ("PR metadata quality: title lacks adescription after the version"). Its body also claimed "All EventCore workspace
crates ... lockstep ... ADR-025" — copied from the eventcore repo; emc is a
single crate.
Changes
CHANGELOG.mdentry, append it tothe title, and cap the title at 72 characters (auto_review's other limit).
emccrate.pr_name/pr_bodyfromrelease-plz.tomland documentthat the script owns the PR metadata.
Verification
sh -npasses; the title-derivation awk was tested against a representativechangelog and yields
chore(release): v0.1.2 template compliant release PR title and body(67 chars).scripts/copyright-headers.sh --checkpasses.🤖 Generated with Claude Code
This PR updates the release script to generate more descriptive PR titles and bodies, ensuring compliance with the
auto_reviewquality gate. The changes appear safe to merge, improving automation and reducing manual intervention.Walkthrough
CHANGELOG.mdentry and appends it to the PR title, ensuring it stays within 72 characters.emccrate instead of referencing multiple crates.pr_nameandpr_bodyfromrelease-plz.toml, as the script now handles PR metadata generation.pr_nameandpr_bodyconfigurations.LLM usage and cost
Estimated total USD: $0.016101 via https://api.openai.com and https://api.openai.com