chore(deployment): Update deployment script - #280
Conversation
|
Important Review skippedAuto reviews are limited based on label configuration. 🏷️ Required labels (at least one) (1)
Please check the settings in the CodeRabbit UI or the ⚙️ Run configurationConfiguration used: Repository: ProjectTech4DevAI/kaapi-frontend/.coderabbit.yaml Review profile: CHILL Plan: Advanced Run ID: You can disable this status message by setting the Use the checkbox below for a quick retry:
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 |
|
🎉 This PR is included in version 0.5.0-main.3 🎉 The release is available on GitHub release Your semantic-release bot 📦🚀 |
Summary
the deploy itself was fine, the workflow just stopped watching too early and reported a false failure.
wrap the waiter in a loop so it re-waits instead of giving up:
Status == Success→ break.get-command-invocation:Failed/Cancelled/Cancelling/TimedOut→ print stdout/stderr, exit 1.InProgress/Pending→ log "waiter capped out, re-waiting" and loop.timeout-minutes: 20as a backstop so a job can't hang indefinitely.Checklist
Before submitting a pull request, please ensure that you mark these task.
npm run devandnpm run buildin the repository root and test.