You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
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>