Skip to content

[Feature]: Optional same-target retry (configurable interval) before failover on 429 #487

Closed as not planned

Description

@a1980881039

Version: v2.7.40

Current behavior
On 429, the combo immediately cools the target down and routes to the next target. There is no way to say "wait N seconds and try the SAME target again".

Desired behavior
An optional per-combo retry policy, e.g.:

{ "retry": { "on": [429], "attempts": 10, "intervalMs": 5000 } }

Retry the current target every 5s up to 10 times; only then fail over to the next target. For "primary-first" users this is preferable to switching to the fallback on every rate-limit blip.

Context
The Codex client itself does not retry 429 (upstream: openai/codex#30471) — it only retries 5xx — so a proxy-side retry would fill a real gap. Today the only workaround is failover to a fallback provider, which changes the model/quota being consumed.

Activity

  1. github-actions commented on Jul 26, 2026

    @github-actions
    Contributor

    Issue closed: insufficient detail

    Thanks for taking the time to submit this issue. It was closed automatically because the structured report is missing information needed to evaluate or reproduce it.

    • Required sections are missing or empty: goal / problem, expected behaviour.

    Please edit the issue to add:

    • Fill in each required section with specific detail about your workflow.

    See the Contributing guide for details.

    Once the report passes the automated checks, it will be reopened automatically unless a maintainer has changed its state.

  2. github-actions commented on Jul 26, 2026

    @github-actions
    Contributor

    Automated translation bookkeeping — detected language: English.

  3. a1980881039 commented on Jul 26, 2026

    @a1980881039
    Author

    One more note: if you're busy, I'd be happy to take a stab at this myself and open a PR. Just let me know.

  4. added 2 commits that reference this issue on Aug 4, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    enhancementNew feature or request

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions