Codex doesn't kill hung background task

Resolved 💬 2 comments Opened Jan 5, 2026 by Wildebeest Closed Jan 5, 2026
💡 Likely answer: A maintainer (github-actions[bot], contributor) responded on this thread — see the highlighted reply below.

What version of Codex is running?

codex-cli 0.77.0

What subscription do you have?

Pro

Which model were you using?

gpt-5.2-codex high

What platform is your computer?

Linux 6.17.4-76061704-generic x86_64 x86_64

What issue are you seeing?

User: Kill the background terminal

Agent: • No background terminal session is running on my side — all prior commands completed. If you meant a
specific process (or a named shell/session), tell me which one and I’ll stop it.

1 background terminal running · /ps to view

What steps can reproduce the bug?

  1. Have it kick off a hung background task
  2. Repeat the same task but it completes
  3. Ask it to kill the task from 1

Uploaded thread: 019b7108-2d84-7732-bb9e-6db5b22193b3

What is the expected behavior?

It kills the task.

Additional information

_No response_

View original on GitHub ↗

2 Comments

github-actions[bot] contributor · 7 months ago

Potential duplicates detected. Please review them and close your issue if it is a duplicate.

  • #8656
  • #7932

Powered by Codex Action

etraut-openai contributor · 7 months ago

Thanks for reporting. I think this is a duplicate of #8656.