Fail over on out-of-funds keys instead of failing the user request immediately #6
Reference in New Issue
Block a user
Delete Branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
Problem
packages/domain/src/provider-key-pool.tscurrently returnsstop_requestoninsufficient_funds.Why this matters
An exhausted provider key is an internal supply problem, not a user-caused terminal error. If other active keys are available, the request should continue instead of failing immediately.
Acceptance criteria
insufficient_fundsmoves the key toout_of_funds.docs/ops/provider-key-pool.mdif policy semantics change.