Click Stop on running terminals in Codex app does not close them out
Open 💬 5 comments Opened Feb 21, 2026 by evoNick-A
💡 Likely answer: A maintainer (github-actions[bot], contributor)
responded on this thread — see the highlighted reply below.
Click stop -> Nothing happens.
<img width="741" height="164" alt="Image" src="https://github.com/user-attachments/assets/ce2c7114-a7b9-4c26-8a2b-60b166364256" />
5 Comments
Potential duplicates detected. Please review them and close your issue if it is a duplicate.
Powered by Codex Action
I opened a draft PR for this stop/no-op behavior: https://github.com/openai/codex/pull/12506
The change makes v1/v2 interrupt APIs return immediately when no turn is in progress by cleaning background terminals in that path, instead of waiting indefinitely for a
TurnAbortedevent.Also included regression coverage in both app-server interrupt suites.
Given the updated contribution policy (invitation-only PRs), #12506 is a narrow draft patch proposal for the Stop/no-active-turn path.\n\nIf maintainers want this pursued, could someone explicitly invite that PR (or point to a preferred issue/PR to fold into)?
Confirmed on macOS Desktop as the stop/no-op cleanup failure case.
Environment:
Codex.app26.313.41514)codex-cli 0.115.0In my case
/psshowed25 background terminals running, mostly short-lived commands likesed -n ...,rg -n ..., andpython scripts/plan_lint.py ....The important part: an OS-level
pscheck right after did not show those short-lived commands as live processes anymore. So/stophere was not failing to kill still-running work; it was failing to clear already-stale background-terminal state from the UI.That makes this feel like a combination of two issues:
#12321)So if helpful for triage: this repro is a strong
stop does not close them outcase even when the listed terminals are already gone at OS level.Still reproducible on the current ChatGPT/Codex macOS app.
Feedback ID:
019f5b5b-5f44-7c80-9456-6c92ced0bb7fEnvironment
26.707.62119(build5211)0.144.226.5.2 (25F84)Observed behavior
A Vite development server was started by Codex with:
The Background Processes panel still showed the terminal entry, but Stop was disabled. Its tooltip said:
However, diagnostics taken immediately afterward confirmed that the server was genuinely still running:
8246482485127.0.0.1:5173http://127.0.0.1:5173returnedHTTP/1.1 200 OKThis is therefore not only stale UI state. The app lost its association with a live background process and could no longer terminate it, leaving the port occupied.
Expected behavior
The Stop action should terminate the complete process group/tree associated with the background terminal and release port
5173.This workflow worked correctly a few weeks ago, so this appears to be a regression in the current app/runtime.
Potentially related: #25772