You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
bug(ci): Deploy to Dev goes green when the backend fails its post-deploy health check #2995
Under set -e, a failing command on the left of && does not abort the script. When /health returns 503 (for example a failed migration, which is exactly the case a deploy most needs to catch), the step continues and the job goes green. The scheduler check just below it is also warning-only.
Evidence
Found while reviewing #2986, which copies the same line. There, a stubbed failing curl produced a green run under both bash and POSIX sh. The shell rule was confirmed with a one-liner: set -e; false && echo x; echo still-running prints still-running.
Fix
Fail explicitly, ideally with a short retry window since the backend may still be booting:
Activity
AndriiPasternak31 commentedon Sep 28, 2026
/claim. Plan reviewed; building now. The fix is a bounded retry on the post-deploy health probe, then an explicit failure.
github-actions commentedon Sep 28, 2026
@AndriiPasternak31 This issue is already assigned to AndriiPasternak31. Use
/unclaimfirst if you want to take over.fix(ci): Deploy to Dev fails when the backend /health probe fails (#2995
ci(deploy-prod): address #2986 review — fail-closed health/backup, de…