Skip to content

ref(relay): Remove healthcheck from docker compose#4304

Merged
aldy505 merged 1 commit intomasterfrom
dav1d/rm-relay-health
Apr 28, 2026
Merged

ref(relay): Remove healthcheck from docker compose#4304
aldy505 merged 1 commit intomasterfrom
dav1d/rm-relay-health

Conversation

@Dav1dde
Copy link
Copy Markdown
Member

@Dav1dde Dav1dde commented Apr 27, 2026

The health checks constantly get mis-identified by users as a problem, when they are just the effect of a problem downstream (e.g. connectivity issues, project configs not available ...).

In the docker compose environment the healthcheck itself makes little sense. If health checks are failing, Sentry is down. If there is no health check and a problem in the system, Sentry is down.

Docker compose does support almost none of the nuance Kubernetes allows for in health checks, and the self hosted install is not load balancing between multiple instances of Relay.

There is little point in having these health checks + they lead to constant requests and questions -> turn them off.

It may make sense to replace the health check with a liveness probe instead, but even these are not handled well by docker compose. Ordering of services should be good enough by relying on the started flag.

@Dav1dde Dav1dde self-assigned this Apr 27, 2026
@Dav1dde Dav1dde requested review from a team, aldy505 and aminvakil April 27, 2026 07:52
Copy link
Copy Markdown
Collaborator

@aminvakil aminvakil left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Nice, currently it only creates confusion.

@aminvakil
Copy link
Copy Markdown
Collaborator

Closing, reopening to rerun CI, it's unrelated to this PR.

@aminvakil aminvakil closed this Apr 27, 2026
@aminvakil aminvakil reopened this Apr 27, 2026
@aldy505 aldy505 merged commit 8ad378a into master Apr 28, 2026
31 of 33 checks passed
@aldy505 aldy505 deleted the dav1d/rm-relay-health branch April 28, 2026 00:59
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

Archived in project

Development

Successfully merging this pull request may close these issues.

4 participants