Skip to content

Release v0.2.30

Choose a tag to compare

@github-actions github-actions released this 24 Apr 23:48
df86890
feat: add Health/Ready reporter and provider interfaces

Introduces HealthReporter and ReadyReporter for services to opt into
reporting their own health/readiness, and HealthProvider/ReadyProvider
aggregator interfaces implemented by Worker. Worker.CheckHealth and
Worker.CheckReady concurrently poll active reporters via sync.WaitGroup,
recovering panics and surfacing them as errors. Both providers are
pre-registered in the DI container so handlers can depend on the narrow
interface.

Signed-off-by: Ahmed Kamal <ahmed@ahmedkamal.io>