fix(ci): guard release component outputs#741
Conversation
Deploying corvus with
|
| Latest commit: |
72e648d
|
| Status: | ✅ Deploy successful! |
| Preview URL: | https://b4072f29.corvus-42x.pages.dev |
| Branch Preview URL: | https://fix-release-component-output.corvus-42x.pages.dev |
|
No actionable comments were generated in the recent review. 🎉 ℹ️ Recent review info⚙️ Run configurationConfiguration used: Path: .coderabbit.yaml Review profile: ASSERTIVE Plan: Pro Run ID: 📒 Files selected for processing (2)
📜 Recent review details⏰ Context from checks skipped due to timeout of 90000ms. You can increase the timeout in your CodeRabbit configuration to a maximum of 15 minutes (900000ms). (5)
🧰 Additional context used📓 Path-based instructions (1)**/*⚙️ CodeRabbit configuration file
Files:
🧠 Learnings (2)📓 Common learnings📚 Learning: 2026-02-17T12:31:17.076ZApplied to files:
🔇 Additional comments (4)
📝 WalkthroughSummary by CodeRabbit
WalkthroughThis PR refines the GitHub Actions publish workflow to ensure component-flag boolean outputs are properly serialized with real newline delimiters, and adds a validation step to reject any outputs that are not exactly Changes
Estimated code review effort🎯 3 (Moderate) | ⏱️ ~20 minutes Possibly related PRs
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. Review rate limit: 0/1 reviews remaining, refill in 60 minutes.Comment |
|



Related Issues
No issue linked.
Summary
Fixes release workflow component flag output serialization so component-scoped downstream jobs receive clean boolean outputs. Adds a fail-fast guardrail that validates
has_corvus_runtime,has_rook,has_cerebro, andhas_gradle_kmpbefore Docker, binary, npm, or release asset jobs evaluateneeds.publish.outputs.*gates.This prevents a supported
cerebrorelease from completing green whilebuild-cerebro-binariesanddocker-image-cerebroare silently skipped due to malformed$GITHUB_OUTPUTformatting.Tested Information
node --test scripts/release-contract.test.mjsbuild-cerebro-binariesanddocker-image-cerebrojobs still gate onneeds.publish.outputs.has_cerebro == 'true'.Documentation Impact
Breaking Changes
None.
Checklist