Skip to content

fix(infra): wait for PgBouncer readiness before migrations - #2892

Merged
mekilis merged 1 commit into
mainfrom
smart/installer-pgbouncer-readiness
Oct 22, 2026
Merged

mekilis merged 1 commit into
mainfrom
smart/installer-pgbouncer-readiness

Conversation

@mekilis

@mekilis mekilis commented Oct 21, 2026

Copy link
Copy Markdown
Collaborator

Migrations could connect to PgBouncer before its listener and backend connection were ready, causing intermittent connection-refused failures during Compose startup and installation.

Gate migrations on a PgBouncer health check that executes SELECT 1, in both the local Compose configuration and installer-generated configuration. Add a delayed-start regression to the installer smoke workflow to verify migrations wait for readiness and then complete successfully.

@mekilis mekilis changed the title fix(installer): wait for PgBouncer readiness before migrations fix(infra): wait for PgBouncer readiness before migrations Oct 21, 2026
@mekilis
mekilis merged commit 1f9ebf8 into main Oct 22, 2026
35 of 36 checks passed
@mekilis
mekilis deleted the smart/installer-pgbouncer-readiness branch October 22, 2026 06:37
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant