Update deployment health checks. Fix UI bugs.

This commit is contained in:
Eric Gullickson
2025-12-20 10:50:44 -06:00
parent 2bd0981490
commit a17944d79f
8 changed files with 193 additions and 117 deletions

View File

@@ -135,7 +135,7 @@ verify:
- |
HEALTH_OK=0
for i in 1 2 3 4 5 6; do
if docker compose -f $DOCKER_COMPOSE_FILE exec -T mvp-backend curl -sf http://localhost:3001/health > /dev/null 2>&1; then
if node -e "require('http').get('http://localhost:3001/health', (res) => { process.exit(res.statusCode === 200 ? 0 : 1) }).on('error', () => process.exit(1))" > /dev/null 2>&1; then
echo "OK: Backend health check passed"
HEALTH_OK=1
break