ci: use Compose healthchecks for database startup - #67
Merged
Merged
Conversation
lovasoa
added this pull request to stack #71
September 27, 2026 23:16
lovasoa
force-pushed
the
codex/bounded-database-readiness
branch
from
September 27, 2026 23:16
71cd9b3 to
01aed7f
Compare
github-merge-queue
Bot
removed this pull request from the merge queue due to no response for status checks
Sep 28, 2026
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Define native database healthchecks in Compose and replace CI's fixed sleeps and unbounded polling with
docker compose up --wait --wait-timeout 120. Each database job prints Compose logs on failure. CI selects its existing fixed ports through environment variables; local runs retain random loopback ports.Only the workflow and Compose file change. No custom polling scripts, Python mocks, or additional CI jobs.
Validation: Compose configuration and workflow shell syntax checks pass. Native Compose waits passed with PostgreSQL 16 and MySQL 9.5 containers; fixtures were copied into those containers because local bind mounts were denied. The full database version matrix remains for CI.