Add post-deploy health gate to staging #5

Merged
cesnimda merged 1 commits from fix/staging-healthcheck into develop 2026-07-01 16:08:28 +02:00
Owner

Adds a post-deploy health gate to deploy-staging: polls frontend (:18081) and api (:18080/api/v1/auth/me) after 'up -d' and fails the job (dumping api logs) if either isn't serving within ~60s. Closes the silent-success gap where a container crashing on boot still reported green (the DB-password crash we hit).

🤖 Generated with Claude Code

Adds a post-deploy health gate to deploy-staging: polls frontend (:18081) and api (:18080/api/v1/auth/me) after 'up -d' and fails the job (dumping api logs) if either isn't serving within ~60s. Closes the silent-success gap where a container crashing on boot still reported green (the DB-password crash we hit). 🤖 Generated with [Claude Code](https://claude.com/claude-code)
cesnimda added 1 commit 2026-07-01 15:56:40 +02:00
ci(staging): add post-deploy health gate
CI / backend (pull_request) Successful in 1m0s
CI / frontend (pull_request) Successful in 20s
Security / secrets (pull_request) Successful in 6s
Security / dependencies (pull_request) Successful in 1m1s
957ebae05f
'docker compose up -d' returns once containers start, so a container that
crashes on boot (as the api did on the DB password mismatch) still reported
success. Poll the frontend and api endpoints after deploy and fail the job,
dumping api logs, if either isn't serving within ~60s. ASCII only.

Co-Authored-By: Claude Opus 4.8 <noreply@anthropic.com>
cesnimda merged commit 045be2bb81 into develop 2026-07-01 16:08:28 +02:00
Sign in to join this conversation.
No Reviewers
No Label
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: cesnimda/Inboxintel#5