chore: Ensure release PRs pass checks after generated updates#1244
Conversation
Run the existing build-and-test workflow against the final release PR head after release-please updates generated content. Keep release PRs in draft while generated files and dispatched checks are pending so they cannot be merged before the verified head is ready.
Keep release PR checks tied to the exact head commit so a newly updated release PR cannot be marked ready from stale workflow results. Also scope the Go release automation to the v3-beta release path and accept GitHub workflow timestamps rounded to seconds.
|
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 (1)
🚧 Files skipped from review as they are similar to previous changes (1)
📝 WalkthroughWalkthroughThis PR adds automated release-please PR checks that orchestrate a GitHub Actions workflow: finding pending release PRs, drafting them, dispatching build/test workflows, polling for completion, and marking them ready. The logic is implemented in Go, integrated into the v3-beta release workflow, and the release distribution sync script is updated to draft PRs before syncing files. ChangesRelease PR Checks Automation
Estimated code review effort🎯 3 (Moderate) | ⏱️ ~20 minutes Possibly related PRs
🚥 Pre-merge checks | ✅ 4 | ❌ 1❌ Failed checks (1 warning)
✅ Passed checks (4 passed)
✏️ Tip: You can configure your own custom pre-merge checks in the settings. ✨ 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.
2 issues found across 10 files
Reply with feedback, questions, or to request a fix.
Re-trigger cubic
Search each release workflow step until the next step header so valid checks do not fail when a step grows beyond the previous fixed line window.
Summary
User Impact
Changes
Verification
go -C Packages/src/Cli~ test ./internal/automationgo -C Packages/src/Cli~ test ./...scripts/test-release-please-config.shscripts/test-sync-release-please-go-cli-dist.shscripts/check-go-cli.shcodex-review v3-beta