fix(agent): notify when credential-pool exhaustion activates fallback - #10716
cloudyun888 wants to merge 2 commits into
Conversation
QA SummaryResult: QA FAILED for PR #10716 / Issue #10476. Why this PR was selected
Scope checked
Evidence reviewed
Validation run
Environment limits / honesty note
Verdict
Follow-up / fixes
|
drousselbot
left a comment
There was a problem hiding this comment.
QA failed for workflow reasons: focused local regression test passed, but GitHub Actions for this PR are still action_required with no jobs, so repo-level verification has not actually run. This PR also arrived unlabeled through the dispatcher, so I am handing it back to development/intake until CI is enabled and ownership is explicit.
|
Thanks for the focused fallback-notification fix. This is an automated hermes-sweeper review: current
The member comment identifying #10718 as a competing fix is consistent with this later broader implementation. |
Summary
_try_activate_fallback()Why
Issue #10476 reports that provider fallback triggered via credential-pool exhaustion is silent, unlike the normal
fallback_modelpath. Today_recover_with_credential_pool()returns failure immediately when billing rotation has no next credential, so the existing fallback notifier never runs.Testing
tests/agent/test_credential_pool_routing.py::test_402_exhausted_pool_activates_fallbackFixes #10476