Skip to content
This repository was archived by the owner on Sep 19, 2026. It is now read-only.
This repository was archived by the owner on Sep 19, 2026. It is now read-only.

session start reports codex_timeout when the Codex account has hit its usage limit #224

Description

@0thernet

Summary

oompa session start personal --provider codex --json fails with UNAVAILABLE / codex_timeout ("Codex did not complete the operation within Oompa's bounded deadline") when the underlying cause is that the ChatGPT account has exhausted its Codex usage quota. The timeout wording tells the operator to inspect state and retry, which cannot help.

Reproduction

$ CODEX_HOME=<profile>/codex-home codex login status
Logged in using ChatGPT
$ CODEX_HOME=<profile>/codex-home codex exec --skip-git-repo-check "Reply with exactly OK and nothing else."
ERROR: You've hit your usage limit. Visit https://chatgpt.com/codex/settings/usage to purchase more credits or try again at Sep 20th, 2026 3:53 AM.

Expected

Session start should surface the provider's usage-limit rejection as its own closed reason (for example codex_usage_limit with the reset time when the runtime reports one) instead of a deadline timeout, and oompa status should reflect the account's exhausted quota. The observed usage snapshot for the profile predates the exhaustion, so the local usage view did not warn either.

Environment

macOS 15 arm64, Bun 1.3.14, pinned Codex 0.153.2, daemon started from main 749d0e6.

Activity

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

    No labels
    No labels

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions