getting stuck a lot today

Resolved 💬 6 comments Opened Sep 9, 2025 by pedrosarkis Closed Nov 21, 2025
💡 Likely answer: A maintainer (tibo-openai, collaborator) responded on this thread — see the highlighted reply below.

What version of Codex is running?

0.31.0

Which model were you using?

gpt-5-high

What platform is your computer?

ubuntu 23

What steps can reproduce the bug?

<img width="871" height="343" alt="Image" src="https://github.com/user-attachments/assets/e599e961-9218-40fb-912f-cb141e1d180b" />

using gpt-5-high in some situations where i ask it to run commands, migrations, or things like that, it just freezes, no errors, nothing happens. i left it running for 40 minutes, and i don’t know if that counts against my limit, but nothing was showing in the cli after a while.

What is the expected behavior?

return me something, say it errored, show the error, say it can’t complete the task, or anything other than just freezing

What do you see instead?

_No response_

Additional information

_No response_

View original on GitHub ↗

6 Comments

vincelwt · 10 months ago

Same. Very frustrating.
I've added in my AGENTS.md to prefix commands with timeout -s KILL -k 5 60, which helps not getting stuck.
Should be backed in imho.

naveedehmad · 10 months ago

same. this is very annoying!!

tibo-openai collaborator · 10 months ago

This can happen when the model launches a blocking process which never exits. We're looking into this.

josusanmartin · 10 months ago

I've been having the same issue on a Python project. Codex will get stuck when running the embedded shell. It seems to be unable to recover from that state, and continue with the next step.

pedrosarkis · 10 months ago

@josusanmartin i feel you, codex was completely useless for me today, really bad, it didn’t freeze but the output quality was insanely poor

etraut-openai contributor · 9 months ago

I think this issue is no longer relevant, so I'm closing. We've fixed a number of bugs in the past few versions that caused blocking processes to never exit. If you see problems like this with a recent version of codex, please use the /feedback slash command to upload the thread and file a new bug report.