fix: Release PRs label the Unity package summary#1438
Conversation
Update the release PR automation that runs after release-please so it rewrites a plain root package details summary to identify the Unity package. This keeps regenerated v3-beta release PR bodies from looking like two unlabeled package releases. Also make the release PR check test mock executable from Windows so the new body update path is covered locally.
|
No actionable comments were generated in the recent review. 🎉 ℹ️ Recent review info⚙️ Run configurationConfiguration used: Path: .coderabbit.yaml Review profile: CHILL Plan: Pro Run ID: 📒 Files selected for processing (2)
📝 WalkthroughWalkthrough
Unity Package Summary Clarification
Estimated code review effort🎯 3 (Moderate) | ⏱️ ~20 minutes Possibly related PRs
🚥 Pre-merge checks | ✅ 4 | ❌ 1❌ Failed checks (1 warning)
✅ Passed checks (4 passed)
✨ Finishing Touches📝 Generate docstrings
🧪 Generate unit tests (beta)
Thanks for using CodeRabbit! It's free for OSS, and your support helps us grow. If you like it, consider giving us a shout-out. Comment |
There was a problem hiding this comment.
1 issue found across 2 files
You’re at about 92% of the monthly reviewed-line limit. You may want to disable incremental reviews to conserve quota. Reviews will continue until that limit is exceeded. If you need help avoiding interruptions, please contact contact@cubic.dev.
Prompt for AI agents (unresolved issues)
Check if these issues are valid — if so, understand the root cause of each and fix them. If appropriate, use sub-agents to investigate and fix each issue separately.
<file name="cli/internal/automation/release_pr_checks.go">
<violation number="1" location="cli/internal/automation/release_pr_checks.go:292">
P2: Avoid relabeling arbitrary plain `</violation>
</file>
Reply with feedback, questions, or to request a fix.
Re-trigger cubic
Skip release PR body rewriting when the Unity package summary is already labeled so repeated automation runs cannot relabel later release-note details blocks.
Summary
unity-package: <version>.User Impact
Changes
Verification
go test ./internal/automation -run "ReleasePRCheck" -count=1./scripts/check-go-cli.sh