chore: skip heroku release target conditionally#4419
chore: skip heroku release target conditionally#4419cemreinanc wants to merge 2 commits intomainfrom
Conversation
|
No actionable comments were generated in the recent review. 🎉 ℹ️ Recent review infoConfiguration used: Path: .coderabbit.yaml Review profile: CHILL Plan: Pro 📒 Files selected for processing (2)
📝 WalkthroughWalkthroughThis PR modifies GitHub Actions workflows to enhance deployment safety and Docker image tagging. A new step conditionally adjusts Heroku deployment targets based on migration detection, skipping the "release" target when no migrations exist. Docker build also explicitly defaults latest tag enablement to false when undefined. Changes
Estimated code review effort🎯 2 (Simple) | ⏱️ ~12 minutes Possibly related PRs
Suggested reviewers
Poem
🚥 Pre-merge checks | ✅ 2✅ Passed checks (2 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 |
🚀 Preview EnvironmentYour preview environment is ready!
Details
ℹ️ Preview Environment InfoIsolation:
Limitations:
Cleanup:
|
Heroku builds randomly fail on release step.
"Lost connection with release dyno. Please retry previous command." -- kind of errors,
and we cant redeploy same image twice, we're forced to change image to redeploy
We already check for awaiting migrations in the deployment steps,
(tested on dev and skipping release target didn't cause any problems)
Summary by CodeRabbit