ci: gate releases behind explicit promotion - #313
Conversation
|
Warning Review limit reached
Next review available in: 59 minutes Enable usage-based reviews in Billing to review now. Otherwise, wait until the next included review is available. How can I continue?After more reviews become available, a review can be triggered using the To avoid repeated limits, reduce automatic review volume by pausing incremental auto-reviews earlier, using label-based review opt-in, excluding WIP or generated PR titles, or requesting reviews manually when the PR is ready. If your team needs uninterrupted high-volume reviews, an organization admin can enable usage-based reviews. How do review limits work?CodeRabbit enforces per-developer PR review limits for each organization. Most developers receive the normal plan review availability. For paid Pro and Pro+ PR reviews, CodeRabbit uses adaptive limits for sustained high-volume activity. When a developer's recent PR review activity reaches the 95th percentile or higher among CodeRabbit users, additional reviews become available more gradually as earlier reviews age out of the rolling window. Please refer docs for additional details. Review details⚙️ Run configurationConfiguration used: Organization UI Review profile: ASSERTIVE Plan: Pro Plus Run ID: 📒 Files selected for processing (1)
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 |
Code Review SummaryStatus: No Issues Found | Recommendation: Merge Files Reviewed (1 file)
Previous Review Summaries (2 snapshots, latest commit a8864c5)Current summary above is authoritative. Previous snapshots are kept for context only. Previous review (commit a8864c5)Status: 1 Issue Found | Recommendation: Address before merge Overview
Issue Details (click to expand)CRITICAL
Files Reviewed (1 file)
Note: Two previous WARNING issues have been resolved by this commit:
Fix these issues in Kilo Cloud Previous review (commit 1f6ee7e)Status: 3 Issues Found | Recommendation: Address before merge Overview
Issue Details (click to expand)CRITICAL
WARNING
Files Reviewed (1 file)
Note: Issues were previously reported by other reviewers and are documented above for completeness. No new issues found in this review cycle. Reviewed by glm-4.7 · Input: 39.3K · Output: 4.2K · Cached: 441.6K |
a8864c5 to
44544fa
Compare
Summary
Stops releases from publishing automatically on every push to
main. Releases now run only from av*.*.*tag or a manualworkflow_dispatchwith an explicit ref and SemVer version.Changes
v*.*.*tags or manual dispatch withref+versioninputs; thepush: [main]trigger is removed.promotejob: verifies the promoted ref is a commit onmain, the version is valid SemVer, and a successful CI push run exists for that exact SHA.0.0.<run_number>.target_commitishpins dispatch-created tags to the promoted SHA instead of the default branch head.Why via development
This targets
developmentrather thanmainbecausedevelopmentrewroterelease.yml(#226, #238); landing here means the Alpha 4 merge commit (#229) carries the gated workflow, so pushing that merge tomaincannot fire the old auto-release. Until #229 merges, nothing else should be merged directly tomain— its current workflow still auto-publishes.Interaction with #300
The two
Inject Secretssteps are kept as-is; #300 removes them. Whichever lands second has a trivial rebase (the steps just drop out).Testing
Fixes #311
Greptile Summary
The release workflow now requires explicit promotion and validates releases before publishing.
Confidence Score: 5/5
The PR appears safe to merge.
No blocking failure remains.
Important Files Changed
Flowchart
%%{init: {'theme': 'neutral'}}%% flowchart TD Trigger[Version tag or manual dispatch] --> Promote[Validate ref, SemVer, and successful CI] Promote --> Windows[Build and test Windows assets] Promote --> Linux[Build and test Linux assets] Windows --> Release[Create GitHub prerelease] Linux --> Release Release --> Assets[Publish artifacts and changelog]Reviews (3): Last reviewed commit: "ci: harden release promotion validation" | Re-trigger Greptile