Skip to content

audit F2 [tech-debt]: docker-compose.yml has zero healthchecks; depends_on waits only for container start #602

Description

@intendednull

File: docker-compose.yml:1
Severity: tech-debt
Obvious? no

replay-*, storage-*, and web use depends_on: - relay without a condition: service_healthy, and the relay service has no healthcheck: block. Compose only waits for the relay's container to start, not for the listener to bind, so workers race the relay on cold docker compose up and produce noisy reconnect storms in early logs.

Fix: add a healthcheck: to the relay (e.g. test: ["CMD", "nc", "-z", "127.0.0.1", "3340"] — see also F26 about the actual port) with sane interval/retries, then upgrade dependents to depends_on: relay: { condition: service_healthy }. Also add a healthcheck to web (curl the index) so a deploy that ships broken WASM is visible to compose-ps users.


Filed by /general-audit @ 88498a5 (2026-05-04). master: #600.

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions