codex icon indicating copy to clipboard operation
codex copied to clipboard

getting stuck a lot today

Open pedrosarkis opened this issue 1 year ago • 7 comments

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?

Image

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

pedrosarkis avatar Sep 09 '25 15:09 pedrosarkis

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.

vincelwt avatar Oct 04 '25 14:10 vincelwt

same. this is very annoying!!

naveedehmad avatar Oct 06 '25 11:10 naveedehmad

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

tibo-openai avatar Oct 19 '25 02:10 tibo-openai

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.

josusanmartin avatar Oct 23 '25 23:10 josusanmartin

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

pedrosarkis avatar Oct 23 '25 23:10 pedrosarkis

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.

etraut-openai avatar Nov 21 '25 06:11 etraut-openai

Still happens with codex cli GitHub actions

VersaceXcodes avatar Sep 10 '26 17:09 VersaceXcodes