Skip to content

Implement Provider Health Check Aggregation - #500

Open
leviso74 wants to merge 1 commit into
Pidoko257:mainfrom
leviso74:feat/provider-health-check-aggregation
Open

Implement Provider Health Check Aggregation#500
leviso74 wants to merge 1 commit into
Pidoko257:mainfrom
leviso74:feat/provider-health-check-aggregation

Conversation

@leviso74

Copy link
Copy Markdown

Summary

This PR implements a system-wide health indicator that aggregates individual provider statuses.

Changes

  • types/api.ts: Added ProviderHealthSummary interface with overall health status and individual provider statuses
  • index.ts:
    • Added getProviderHealthSummary() function that aggregates provider health
    • Updated /health endpoint to include provider health summary
    • Updated /health/lb endpoint to include provider health in load balancer checks
    • Overall health indicator logic:
      • healthy: all providers up
      • degraded: some providers up
      • down: all providers down

Issue References

Closes #358
Closes #356
Closes #357
Closes #355

- Add ProviderHealthSummary type to aggregate individual provider statuses
- Add getProviderHealthSummary() function to compute system-wide health
- Update /health endpoint to include provider health in response
- Update /health/lb endpoint to include provider health in checks
- Overall health indicator: healthy (all up), degraded (some up), down (all down)

Closes Pidoko257#358
Closes Pidoko257#356
Closes Pidoko257#357
Closes Pidoko257#355
@drips-wave

drips-wave Bot commented Aug 25, 2026

Copy link
Copy Markdown

@leviso74 Great news! 🎉 Based on an automated assessment of this PR, the linked Wave issue(s) no longer count against your application limits.

You can now already apply to more issues while waiting for a review of this PR. Keep up the great work! 🚀

Learn more about application limits

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

Labels

None yet

Projects

None yet

1 participant