fix(deploy): poll post-deploy health instead of a fixed 5s snapshot #4

Merged
nick merged 1 commit from feature/oauth2-proxy-pocketid into main 2026-11-04 13:51:01 +01:00
Owner

The app now starts only after the oauth2-proxy is healthy (depends_on: service_healthy, 20s start_period), so the fixed 5s post-up snapshot in the deploy job saw the app still created/starting and false-failed run 80 (the stack itself deployed fine — containers healthy, /ping OK, Pocket ID redirect working). Poll every 10s up to 3m; fail only after the deadline.

The app now starts only after the oauth2-proxy is healthy (depends_on: service_healthy, 20s start_period), so the fixed 5s post-up snapshot in the deploy job saw the app still created/starting and false-failed run 80 (the stack itself deployed fine — containers healthy, /ping OK, Pocket ID redirect working). Poll every 10s up to 3m; fail only after the deadline.
fix(deploy): poll post-deploy health instead of a fixed 5s snapshot
All checks were successful
CI/CD / Typecheck & test (pull_request) Successful in 4m47s
CI/CD / Build & push app image (pull_request) Has been skipped
CI/CD / Build & push oauth2-proxy image (pull_request) Has been skipped
CI/CD / Deploy to Dockhand (pull_request) Has been skipped
831f7eb64e
The app now starts only after the oauth2-proxy is healthy (compose
depends_on: service_healthy; the proxy healthcheck has a 20s start_period).
A single snapshot 5s after 'compose up' returns saw the app still in
created/starting and false-failed the deploy job even though the stack
came up fine. Poll every 10s up to 3m for all services to reach their
target state (one-shots exited-0, long-running running) and fail only
after the deadline.
nick merged commit f7e19cbc77 into main 2026-11-04 13:51:01 +01:00
nick deleted branch feature/oauth2-proxy-pocketid 2026-11-04 13:51:01 +01:00
Sign in to join this conversation.
No reviewers
No labels
No milestone
No project
No assignees
1 participant
Notifications
Due date
The due date is invalid or out of range. Please use the format "yyyy-mm-dd".

No due date set.

Dependencies

No dependencies set

Reference
home/agent!4
No description provided.