Skip to content

fix(quickstart): wait for final TimescaleDB process#4

Merged
ShenzheZhu merged 1 commit into
mainfrom
fix/3-quickstart-postgres-readiness
Jul 15, 2026
Merged

fix(quickstart): wait for final TimescaleDB process#4
ShenzheZhu merged 1 commit into
mainfrom
fix/3-quickstart-postgres-readiness

Conversation

@ShenzheZhu

Copy link
Copy Markdown
Contributor

Closes #3

Problem

TimescaleDB starts a temporary PostgreSQL process during first-run tuning. The existing pg_isready healthcheck could mark that temporary process healthy, allowing migrations to race the subsequent restart.

Changes

  • pin the quickstart database and migration client to timescale/timescaledb:2.28.2-pg15
  • require PID 1 to be the final postgres process before reporting healthy
  • add a CI guard so the bootstrap invariant cannot silently regress

Verification

  • docker compose -f docker-compose.quickstart.yml config --quiet
  • pnpm script:audit
  • pnpm boundary:audit
  • git diff --check

A clean-volume boot on the isolated test VM will run after CI and merge.

@ShenzheZhu
ShenzheZhu merged commit 8b35d6d into main Jul 15, 2026
14 checks passed
@ShenzheZhu
ShenzheZhu deleted the fix/3-quickstart-postgres-readiness branch July 15, 2026 09:26
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.

fix(quickstart): wait for final TimescaleDB process before migrations

1 participant