Skip to content

feat: implement health-based adaptive multi-provider failover - #438

Open
peter-j23 wants to merge 2 commits into
Adamantine-guild:mainfrom
peter-j23:feature/adaptive-provider-failover
Open

feat: implement health-based adaptive multi-provider failover#438
peter-j23 wants to merge 2 commits into
Adamantine-guild:mainfrom
peter-j23:feature/adaptive-provider-failover

Conversation

@peter-j23

Copy link
Copy Markdown
Contributor

gh pr create
--title "feat: implement health-based adaptive multi-provider failover"
--body "## Description
This PR implements health-based adaptive multi-provider failover with automatic recovery detection.

Changes

  • Added HealthTracker with decaying-weighted scoring
  • Implemented AdaptiveContractProvider with health-based selection
  • Added configurable health scoring weights
  • Implemented periodic health-check probes
  • Added unit tests for multi-provider scenarios
  • Created documentation

Acceptance Criteria Met

  • Health score incorporates latency, error rate, and timeout frequency
  • Provider with high error rate is deprioritized
  • Degraded provider automatically recovers when health improves
  • Unit tests simulate multi-provider scenarios
  • All tests pass

Closes #430

- Add HealthTracker with decaying-weighted scoring
- Implement AdaptiveContractProvider with health-based selection
- Add configurable health scoring weights
- Implement periodic health-check probes
- Add unit tests for multi-provider scenarios
- Create documentation

Closes Adamantine-guild#430
@Lakes41

Lakes41 commented Jul 29, 2026

Copy link
Copy Markdown
Contributor

This PR cannot be merged automatically because it has merge conflicts.

Please update the branch with the latest base branch and resolve the conflicts.

After the conflicts are resolved and checks pass, the automation can review it again.

@Lakes41

Lakes41 commented Jul 29, 2026

Copy link
Copy Markdown
Contributor

This PR cannot be merged automatically because one or more workflow checks failed.

Please review the failed checks, push a fix, and wait for the workflows to pass.

After the checks pass and there are no merge conflicts, the automation can review it again.

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.

Implement health-based adaptive multi-provider failover

3 participants