VS Code Insiders terminal trash-can button becomes unresponsive while Codex CLI is processing
Codex CLI version
codex-cli 0.144.0
Subscription
ChatGPT-authenticated account (exact subscription tier not available from CLI diagnostics).
Model
Not known; the behavior appears tied to active CLI processing rather than a specific model.
Platform
- macOS 26.5.2 (Apple Silicon)
Darwin 25.5.0 arm64 arm- Shell: zsh
Terminal
VS Code Insiders integrated terminal, version 1.106.0-insider (arm64).
What issue are you seeing?
While the Codex CLI is actively processing a task in one VS Code Insiders integrated terminal, the trash-can button beside terminal tabs becomes unresponsive. Clicking the trash icon does not close the selected terminal.
The problem affects all integrated terminal sessions, including terminals in which Codex is not running. However, right-clicking the same terminal and selecting Kill Terminal still works. This suggests that termination itself works, but the terminal tab's trash-can action is not being handled while Codex is actively processing.
Steps to reproduce
- Open an integrated terminal in VS Code Insiders.
- Start the interactive Codex CLI with
codex. - Give Codex a task and wait until it is actively processing/responding.
- Open or select another integrated terminal that is not running Codex.
- Click the trash-can icon beside that terminal tab.
- Observe that the terminal does not close.
- Right-click the same terminal tab and select Kill Terminal; it closes successfully.
Expected behavior
Clicking the terminal tab's trash-can button should kill the selected terminal, including while Codex is processing in a different terminal. It should behave consistently with right-click → Kill Terminal.
Additional information
- The failure is specifically the trash-can button shown beside a terminal tab, not the context-menu Kill Terminal action.
- Unrelated terminal sessions are affected while Codex is processing.
- A search of the
openai/codextracker did not find a matching report. codex doctor --jsondetected the terminal as VS Code1.106.0-insiderand reported the terminal checks as OK.- The latest available Codex CLI release at filing time is
0.144.1; this was observed on0.144.0.
This issue has 1 comment on GitHub. Read the full discussion on GitHub ↗