GV

GeezerVison

The World Wide Web, restored to 800 pixels of glory.

Home|About|Gaming cabinet|Archives|How it works|Starter sites

On this site

  • Sign in
  • ActionsCI/CD and automation
  • CodespacesCloud development environments
  • All Features
  • Documentation
  • Training
  • Certifications
  • Build with Copilot
  • Customize Copilot
  • Integrations
  • Trending repos
  • GitHub Sponsors
  • Developer articles
  • Enterprises

This view

  • Original page
  • New address

GeezerVison is showing github.com — Codex server_is_overloaded stream errors are not retried · Issue #25730 · anomalyco/opencode

Codex server_is_overloaded stream errors are not retried #25730

New issue
Copy link
New issue
Copy link
Closed as not planned
Closed as not planned
Codex server_is_overloaded stream errors are not retried#25730
Copy link
Assignees
kitlangton

Description

@ItsWendell
ItsWendell
opened on May 4, 2026
Issue body actions

Description

OpenAI Codex subscription streams can return transient overload errors in this shape:

{"type":"error","sequence_number":2,"error":{"type":"service_unavailable_error","code":"server_is_overloaded","message":"Our servers are currently overloaded. Please try again later.","param":null}}

OpenCode should treat this as a retryable provider overload. Today this nested stream error shape can miss retry classification because the overload code/type are nested under error.

Related broader reports: #16214 and #21893.

Plugins

None

OpenCode version

Latest dev

Steps to reproduce

  1. Use an OpenAI Codex subscription model.
  2. Hit a transient streamed overload response with error.code: server_is_overloaded.
  3. Observe that the error can terminate instead of entering the existing retry path.

Screenshot and/or share link

No response

Operating System

No response

Terminal

No response

Reacted by Kazumasa Shimomura, Georges, Thomas Loubiou, alkhge1, Simone Cervini, robby, Tommy D. Rossi and Lei, HUANG

Activity

  1. github-actions
    assigned
    kitlangton
    on May 4, 2026
  2. github-actions commented on May 4, 2026

    @github-actions
    github-actionsBot
    on May 4, 2026 – with GitHub Actions
    Contributor
    More actions

    This issue might be a duplicate of existing issues. Please check:

    • Some transient stream/rate-limit errors bypass retry and terminate sessions #21893: Covers the broader pattern of transient stream errors (including wrapped rate-limit/concurrency-limit failures) bypassing the retry path — the same code paths in session/retry.ts and provider/error.ts are involved. The server_is_overloaded / service_unavailable_error shape from Codex may be a specific sub-case of what that issue tracks.

    If this server_is_overloaded error shape is not yet handled by any fix or PR against #21893, please note that distinction in the existing issue or confirm this is a separate gap.

  3. spark4862 commented on Jun 2, 2026

    @spark4862
    spark4862
    on Jun 2, 2026
    Contributor
    More actions

    Related fix in #30323 — includes plus the broader OpenAI/Codex stream envelope set in one classifier. Happy to coordinate if #25728 is preferred for overload-only.

  4. spark4862 commented on Jun 2, 2026

    @spark4862
    spark4862
    on Jun 2, 2026
    Contributor
    More actions

    Related fix in #30323 — includes server_is_overloaded plus the broader OpenAI/Codex stream envelope set in one classifier. Happy to coordinate if #25728 is preferred for overload-only.

  5. github-actions commented on Aug 2, 2026

    @github-actions
    github-actionsBot
    on Aug 2, 2026 – with GitHub Actions
    Contributor
    More actions

    To stay organized issues are automatically closed after 60 days of no activity. If the issue is still relevant please open a new one.

  6. github-actions
    closed this as not plannedon Aug 2, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

  • @kitlangton
    kitlangton

Labels

No labels
No labels

Type

No type

Projects

No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions

    You are visitor 01402775 — GeezerVison does not store the pages you look up.
    Best viewed with Netscape Navigator 4.7 or Internet Explorer 6 at 800×600. No cookies required.