Skip to content

app-server: fallback interrupt to clean background terminals when idle - #12506

Closed
vincentkoc wants to merge 1 commit into
openai:mainfrom
vincentkoc:vincentkoc-code/interrupt-fallback-clean-terminals
Closed

vincentkoc wants to merge 1 commit into
openai:mainfrom
vincentkoc:vincentkoc-code/interrupt-fallback-clean-terminals

Conversation

@vincentkoc

@vincentkoc vincentkoc commented Feb 22, 2026 •

Copy link
Copy Markdown
Contributor

Summary

  • update v1 interruptConversation and v2 turn/interrupt handling to detect when no turn is in progress
  • in the no-active-turn path, clean background terminals and return a response immediately instead of waiting for a TurnAborted event
  • add regression tests for both APIs so idle interrupt requests do not hang

Scope

Why

  • addresses app behavior where pressing Stop can appear to do nothing when no turn is currently active but background terminals are still present

Fixes: #12478
Related: #12491

Local validation

  • just fmt
  • did not run full test/build locally in this pass

@github-actions

github-actions Bot commented Feb 22, 2026 •

Copy link
Copy Markdown
Contributor

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

@vincentkoc

Copy link
Copy Markdown
Contributor Author

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

@vincentkoc

Copy link
Copy Markdown
Contributor Author

Per (invitation-only external code contributions), I’m treating this as a draft patch proposal linked from #12478.\n\nIf maintainers want this path, I can run full validation and iterate scope quickly.

@vincentkoc

Copy link
Copy Markdown
Contributor Author

Per docs/contributing.md (invitation-only external code contributions), I am treating this as a draft patch proposal linked from #12478. If maintainers want this path, I can run full validation and iterate scope quickly.

@etraut-openai

Copy link
Copy Markdown
Contributor

We've updated our contribution guidelines to indicate that we're no longer accepting unsolicited code contributions. All code contributions are by invitation only. To read more about why we've taken this step, please refer to this announcement.

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.

Click Stop on running terminals in Codex app does not close them out

2 participants