chore(ci): validate release tag before staging deployment#440
Conversation
Prevent staging releases from unversioned commits by checking that a release-please tag (cipher-box-v* or @cipherbox/*) exists on main HEAD before proceeding with E2E tests and tag creation. Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com> Entire-Checkpoint: a120f3a551a3
|
Warning Rate limit exceeded
Your organization is not enrolled in usage-based pricing. Contact your admin to enable usage-based pricing to continue reviews beyond the rate limit, or try again in 1 minutes and 59 seconds. ⌛ How to resolve this issue?After the wait time has elapsed, a review can be triggered using the We recommend that you space out your commits to avoid hitting the rate limit. 🚦 How do rate limits work?CodeRabbit enforces hourly rate limits for each developer per organization. Our paid plans have higher rate limits than the trial, open-source and free plans. In all cases, we re-allow further reviews after a brief timeout. Please see our FAQ for further information. ℹ️ Review info⚙️ Run configurationConfiguration used: Path: .coderabbit.yaml Review profile: CHILL Plan: Pro Run ID: 📒 Files selected for processing (1)
WalkthroughThe Changes
Estimated code review effort🎯 2 (Simple) | ⏱️ ~8 minutes Possibly related PRs
🚥 Pre-merge checks | ✅ 3✅ Passed checks (3 passed)
✏️ Tip: You can configure your own custom pre-merge checks in the settings. ✨ Finishing Touches🧪 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 |
Release PreviewNo version bumps detected. All changes are in unversioned paths or use exempt commit types. |
Codecov Report✅ All modified and coverable lines are covered by tests. Additional details and impacted files@@ Coverage Diff @@
## main #440 +/- ##
==========================================
+ Coverage 62.29% 62.32% +0.02%
==========================================
Files 135 135
Lines 10085 10085
Branches 1051 1053 +2
==========================================
+ Hits 6282 6285 +3
+ Misses 3586 3583 -3
Partials 217 217
Flags with carried forward coverage won't be shown. Click here to find out more. 🚀 New features to boost your workflow:
|
There was a problem hiding this comment.
Pull request overview
Adds a “fail fast” safeguard to the Tag Staging Release workflow so staging tags/deploys only proceed when main HEAD is already associated with a release-please tag, preventing staging deployments from unversioned commits.
Changes:
- Update
Resolve main SHAstep to verifymainHEAD has an expected release tag before continuing. - Emit a clear GitHub Actions error and exit early when no matching tag is present.
Expand the release tag pattern to also match component tags like cipherbox-desktop-v* and cipherbox-tee-worker-v*, since release-please bumps components independently and a release commit may only carry component tags without the root cipher-box-v* tag. Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com> Entire-Checkpoint: 4ad9b646d7d7
Summary
Resolve main SHAstep of the Tag Staging Release workflowcipher-box-v*or@cipherbox/*) exists on main HEADTest plan
Tag Staging Releaseworkflow — should succeed since current main HEAD has release tags🤖 Generated with Claude Code
Summary by CodeRabbit
Release Notes