TUI: Pause queue sends after usage limits#22225
Open
ee-oai wants to merge 4 commits into
Open
Conversation
43613ce to
c4b9206
Compare
71ef1ef to
cfd454b
Compare
c4b9206 to
6f477ca
Compare
Co-authored-by: Codex <noreply@openai.com>
cfd454b to
5880fd7
Compare
ee66f62 to
b38f369
Compare
Co-authored-by: Codex <noreply@openai.com>
b38f369 to
8ac22f0
Compare
fcoury-oai
reviewed
May 13, 2026
Contributor
fcoury-oai
left a comment
There was a problem hiding this comment.
I was able to test the paused queued-send flow with the local mock Responses websocket scenario.
Code looks good. Found two potential issues. Let me know if you want to address them.
Collaborator
|
I think this change will cause the TUI to deviate from the behavior of the other Codex surfaces. Are there plans to change the app to match this behavior too? |
Author
|
6ad8446 to
73431e9
Compare
73431e9 to
236fa42
Compare
5880fd7 to
cdfd8c6
Compare
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Stacked on #22226.
The TUI freezes queued sends after usage-limit exhaustion, surfaces that paused state in the pending-input preview, and requires explicit resume confirmation before the queue continues. The resume hint now matches the actual Enter behavior when the composer is empty.
The local mock Responses websocket scenario remains available for end-to-end manual validation of the paused queue flow.
Validation:
cargo test -p codex-tui render_paused_cargo test -p codex-tui paused_queued_sends_require_confirmation_before_resumingScreenshots