Skip to content

Conversation

@etraut-openai
Copy link
Collaborator

This PR makes an "insufficient quota" error fatal so we don't attempt to retry it multiple times in the agent loop.

We have multiple bug reports from users about intermittent retry behaviors, and this could explain some of them. With this change, we'll eliminate the retries and surface a clear error message.

The PR is a nearly identical copy of this PR contributed by @abimaelmartell. The original PR has gone stale. Rather than wait for the contributor to resolve merge conflicts, I wanted to get this change in.

This PR makes an "insufficient quota" error fatal so we don't attempt to retry it multiple times in the agent loop.

We have multiple bug reports from users about intermittent retry behaviors, and this could explain some of them. With this change, we'll eliminate the retries and surface a clear error message.

The PR is a nearly identical copy of [this PR](#4837) contributed by @abimaelmartell. The original PR has gone stale. Rather than wait for the contributor to resolve merge conflicts, I wanted to get this change in.
@etraut-openai
Copy link
Collaborator Author

@codex review

@etraut-openai etraut-openai changed the title Don't retry on "insufficient_quota" errors Don't retry "insufficient_quota" errors Nov 6, 2025
Copy link
Contributor

@chatgpt-codex-connector chatgpt-codex-connector bot left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

💡 Codex Review

Here are some automated review suggestions for this pull request.

ℹ️ About Codex in GitHub

Your team has set up Codex to review pull requests in this repo. Reviews are triggered when you

  • Open a pull request for review
  • Mark a draft as ready
  • Comment "@codex review".

If Codex has suggestions, it will comment; otherwise it will react with 👍.

Codex can also answer questions or update the PR. Try commenting "@codex address that feedback".

@etraut-openai etraut-openai added the oai-pr PRs posted by Codex team members label Nov 6, 2025
@etraut-openai etraut-openai merged commit 0c647bc into main Nov 6, 2025
25 checks passed
@etraut-openai etraut-openai deleted the etraut/quota branch November 6, 2025 23:12
@github-actions github-actions bot locked and limited conversation to collaborators Nov 6, 2025
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.

Labels

oai-pr PRs posted by Codex team members

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants