Repository navigation
ci(release): gate release publish on tests (#1480) - #1484
Conversation
|
The latest updates on your projects. Learn more about Vercel for GitHub.
|
There was a problem hiding this comment.
Your free trial has ended. If you'd like to continue receiving code reviews, you can add a payment method here.
|
@cubic-dev-ai please review. |
@LucasSantana-Dev I have started the AI code review. It will take a few minutes to complete. |
There was a problem hiding this comment.
No issues found across 1 file
Requires human review: Removing continue-on-error: true from the tests step will block releases if tests fail.
Re-trigger cubic
📝 WalkthroughWalkthroughThe ChangesRelease Workflow Test Gate
Estimated code review effort🎯 1 (Trivial) | ⏱️ ~2 minutes Suggested labels
🚥 Pre-merge checks | ✅ 5✅ Passed checks (5 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.
Your free trial has ended. If you'd like to continue receiving code reviews, you can add a payment method here.
|



Part of #1480 (deploy posture). Addresses F4 (safe half).
Change
Remove
continue-on-error: truefrom theRun testsstep inrelease.yml. TheCreate GitHub Releasestep runsif: success()by default, so a failingtest:cinow blocks the release publish (and the downstreamdeploy.ymlrelease: publishedtrigger) instead of being advisory.Why
Before: merge to
main(0 required reviews) → tag → release with tests that can't block → prod. Tests were decorative at the release gate.Velocity preserved
The emergency hotfix fast-path uses
workflow_dispatchondeploy.yml, notrelease.yml(docs/runbooks/hotfix.md), so a flaky release-test run cannot block an incident hotfix.Scope note
The release-please ADR (#1478) is merged but not yet implemented —
release.ymlis still the live release mechanism, so this hardens the current path. Harmless ifrelease.ymlis later replaced by release-please.Not included (operator/governance — see #1480 comment)
main) — would break the solo-operator auto-merge ship-lane; deliberately not applied.@cubic-dev-ai
Summary by cubic
Gate release publishing on passing tests by removing
continue-on-errorfrom theRun testsstep inrelease.yml. A failingnpm run test:cinow blocksCreate GitHub Releaseand the downstream deploy trigger, aligning with #1480 (deploy posture F4).Written for commit 3b98b14. Summary will update on new commits.
Summary by CodeRabbit