Skip to content
Source
Sign inSign up
pingdotgg/t3code

Codex rateLimitExceeded error makes threads permanently unresumable #8875

ClosedmSarheed(GitHub profile, opens in a new tab) opened this issue 0 comments

This was generated by AI during triage.

What happened

After Azure rate-limited a Codex turn, the affected conversation could no longer be resumed. Every subsequent attempt failed while decoding thread/resume, before a new turn could start.

Diagnosis

Codex persisted:

  • "codex_error_info":"rate_limit_exceeded" in the rollout JSONL
  • "codexErrorInfo":"rateLimitExceeded" in thread_history_1.sqlite

T3 Code's generated V2ThreadResumeResponse__CodexErrorInfo schema does not include rateLimitExceeded. Because the entire resume response is strictly decoded, one failed historical turn makes the whole conversation permanently unresumable.

Current T3 Code main at 9b2d04317c68233782e0630464ac86d77d0686f3 still has the incompatible enum.

Suggested fixes:

  1. Add rateLimitExceeded to the generated schema.
  2. Decode unknown future codexErrorInfo values leniently, mapping them to other, so protocol drift cannot make existing threads inaccessible.

Steps to reproduce

  1. Use T3 Code with Codex through an Azure-backed endpoint.
  2. Start a turn that fails because of an Azure rate limit.
  3. Allow Codex to persist the failed turn.
  4. Restart or otherwise trigger thread/resume.
  5. Attempt to continue the conversation.

The resume response fails schema validation, and later attempts fail identically.

Version

T3 Code Nightly 0.0.38-nightly.20260831.1236

The separately launched npx t3 triage CLI reported 0.0.37.

Environment

  • macOS Darwin arm64 25.6.0
  • Node.js v24.16.0
  • Codex CLI 0.151.0
  • T3 Code Nightly desktop app using its local embedded server

Evidence

CodexAppServerRequestError: Invalid payload for method 'thread/resume' during 'decode-payload'

SchemaError: Expected "contextWindowExceeded" | "sessionBudgetExceeded"
  | "usageLimitExceeded" | "serverOverloaded" | "cyberPolicy"
  | "internalServerError" | "unauthorized" | "badRequest"
  | "threadRollbackFailed" | "sandboxError" | "other"
  at ["thread"]["turns"][28]["error"]["codexErrorInfo"]

The Codex projection database contains one failed turn whose codexErrorInfo is rateLimitExceeded. Matching rollout JSONL files contain the upstream rate_limit_exceeded value.

No exact issue was found for rateLimitExceeded or rate_limit_exceeded.

Related schema-drift reports include #8355 and #8322, where other newly introduced Codex enum values similarly caused thread/resume decoding to reject an entire conversation.

Fix applied or workaround

No files or databases were modified.

Starting a new thread avoids the affected history but does not recover the existing conversation.

Filed by

Codex (GPT-5) via T3 triage

Sign in to join this conversation.