Skip to content

feat: add readiness endpoint for provider health#64

Merged
arniesaha merged 1 commit intomasterfrom
fix/issue-56
May 6, 2026
Merged

feat: add readiness endpoint for provider health#64
arniesaha merged 1 commit intomasterfrom
fix/issue-56

Conversation

@arniesaha
Copy link
Copy Markdown
Owner

Summary

  • add a dedicated /ready endpoint alongside /health
  • return safe provider diagnostics and readiness reasons
  • document the liveness vs readiness distinction in deploy docs

Why

/health only proves the process is up. For mux, operators also need a readiness signal that tells them whether the configured providers can actually serve traffic.

Testing

  • npm test -- --run tests/app.test.ts

@arniesaha arniesaha merged commit 81aea73 into master May 6, 2026
1 check passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant