Make TUI turn interrupts nonblocking - #35000
Merged
copyberry[bot] merged 1 commit intoJul 23, 2026
Merged
Conversation
## What changed - Dispatch app-server turn interrupts in the background so the TUI can keep processing thread events while an interrupt is pending. - Coalesce repeated interrupt requests for the same active turn and clear the pending state when the turn completes or the thread closes. - Preserve the retry for stale active-turn IDs, surface interrupt failures as warning notifications instead of exiting the TUI, and reset backtrack state whenever an interrupt is handled. ## Testing - Add an app-server integration test covering nonblocking event handling, repeated-request coalescing, and pending-state cleanup. - Verify that interrupting without an active turn clears backtrack state. GitOrigin-RevId: 9ada247a739e2e0a63b425f75ebd6d054167d825
copyberry
Bot
force-pushed
the
copyberry/codex-internal-to-codex-oss/9ada247a739e2e0a63b425f75ebd6d054167d825
branch
from
July 23, 2026 19:58
ef4ceec to
62ba648
Compare
copyberry
Bot
deleted the
copyberry/codex-internal-to-codex-oss/9ada247a739e2e0a63b425f75ebd6d054167d825
branch
July 23, 2026 19:59
hendrykcosta75
temporarily deployed
to
issue-triage
July 23, 2026 20:05 — with
GitHub Actions
Inactive
hendrykcosta75
temporarily deployed
to
issue-triage
July 23, 2026 20:05 — with
GitHub Actions
Inactive
hendrykcosta75
temporarily deployed
to
issue-triage
July 23, 2026 20:06 — with
GitHub Actions
Inactive
wenstonwh-ux
temporarily deployed
to
issue-triage
July 23, 2026 20:37 — with
GitHub Actions
Inactive
wenstonwh-ux
temporarily deployed
to
issue-triage
July 23, 2026 20:37 — with
GitHub Actions
Inactive
wenstonwh-ux
temporarily deployed
to
issue-triage
July 23, 2026 20:37 — with
GitHub Actions
Inactive
wenstonwh-ux
temporarily deployed
to
issue-triage
July 23, 2026 20:38 — with
GitHub Actions
Inactive
raterolfrontback
temporarily deployed
to
issue-triage
July 23, 2026 20:58 — with
GitHub Actions
Inactive
raterolfrontback
temporarily deployed
to
issue-triage
July 23, 2026 20:58 — with
GitHub Actions
Inactive
raterolfrontback
temporarily deployed
to
issue-triage
July 23, 2026 20:58 — with
GitHub Actions
Inactive
raterolfrontback
temporarily deployed
to
issue-triage
July 23, 2026 20:59 — with
GitHub Actions
Inactive
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 subscribe to this conversation on GitHub.
Already have an account?
Sign in.
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.
Make TUI turn interrupts nonblocking
What changed
processing thread events while an interrupt is pending.
pending state when the turn completes or the thread closes.
warning notifications instead of exiting the TUI, and reset backtrack state
whenever an interrupt is handled.
Testing
repeated-request coalescing, and pending-state cleanup.