Skip to content

Poll the CI postgres healthcheck every second - #857

Merged
f213 merged 1 commit into
masterfrom
ci-postgres-quick-health
Oct 15, 2026
Merged

f213 merged 1 commit into
masterfrom
ci-postgres-quick-health

Conversation

@f213

@f213 f213 commented Oct 15, 2026

Copy link
Copy Markdown
Member

Applies to both the template's own CI and the generated project's ci.yml. The 10s health interval kept test jobs in "Initialize containers" ~10s longer than postgres needs to start; -h 127.0.0.1 keeps the check from passing against the socket-only server the image runs during initdb.

Measured on fandsdev/medical-backend#847: Initialize containers 17–19s → 5s.

🤖 Generated with Claude Code

The 10s health interval held the test job in "Initialize containers" for
~10s longer than postgres needs to start. -h 127.0.0.1 keeps the check from
passing against the socket-only server the image runs during initdb.
Measured on fandsdev/medical-backend#847: 17-19s -> 5s.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
@f213
f213 merged commit 0a3aa6e into master Oct 15, 2026
3 checks passed
@f213
f213 deleted the ci-postgres-quick-health branch October 15, 2026 12:51
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Development

Successfully merging this pull request may close these issues.

1 participant