Skip to content

pause queue sends on exhaustion#21634

Closed
ee-oai wants to merge 4 commits into
mainfrom
ee/pause-queue-sends-on-exhaustion
Closed

pause queue sends on exhaustion#21634
ee-oai wants to merge 4 commits into
mainfrom
ee/pause-queue-sends-on-exhaustion

Conversation

@ee-oai
Copy link
Copy Markdown

@ee-oai ee-oai commented May 8, 2026

after a user hits exhaustion of their available usage, rather than immediately sending messages which will all hit that same limit, pause and give the user time to decide what to do.

Screenshot 2026-05-07 at 5 25 35 PM

ee-oai and others added 2 commits May 7, 2026 16:23
Co-authored-by: Codex <noreply@openai.com>
Co-authored-by: Codex <noreply@openai.com>
@ee-oai ee-oai requested a review from a team as a code owner May 8, 2026 01:34
@github-actions
Copy link
Copy Markdown
Contributor

github-actions Bot commented May 8, 2026

All contributors have signed the CLA ✍️ ✅
Posted by the CLA Assistant Lite bot.

@ee-oai
Copy link
Copy Markdown
Author

ee-oai commented May 8, 2026

I have read the CLA Document and I hereby sign the CLA

@ee-oai
Copy link
Copy Markdown
Author

ee-oai commented May 8, 2026

recheck

github-actions Bot added a commit that referenced this pull request May 8, 2026
Copy link
Copy Markdown
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.

Reviewed commit: accab93797

ℹ️ 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".

Comment thread codex-rs/core/src/tasks/mod.rs Outdated
usage_limit_reached = ts.usage_limit_reached();
}
if !pending_input.is_empty() {
if !usage_limit_reached && !pending_input.is_empty() {
Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

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

P1 Badge Preserve pending input after usage-limit failures

This branch drops any pending_input that was accepted during the active turn once a usage limit is reached: take_pending_input() already drained it, and the new guard skips recording or re-queuing it. Clients that do not keep a duplicate TUI queue lose the user's steer/follow-up instead of pausing it for a later decision.

Useful? React with 👍 / 👎.

ee-oai and others added 2 commits May 10, 2026 10:06
Keep the usage-limit safety behavior while removing the queued-input review and management flow added on top of it.

Co-authored-by: Codex <noreply@openai.com>
Co-authored-by: Codex <noreply@openai.com>
@ee-oai
Copy link
Copy Markdown
Author

ee-oai commented May 11, 2026

Closing in favor of #22225 & #22226

@ee-oai ee-oai closed this May 11, 2026
@ee-oai ee-oai deleted the ee/pause-queue-sends-on-exhaustion branch May 11, 2026 23:12
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant