You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Linux 5.15.167.4-microsoft-standard-WSL2 x86_64 x86_64
What issue are you seeing?
I am doing some refactoring in a Python/FastAPI project. In some cases, when I ask Codex to write test cases for me, it hangs when it tries to run pytest to execute the whole test suite (as shown in the image).
The test suite is small (around 17 short tests), but the execution gets stuck and never completes.
experienced this with other commands as well, I believe it's related to spawning background processes.
Here's a simple Makefile target example
hang:
sleep 30 &\kill -0 $$!
If I run this, it returns instantly.
If codex runs it, it stalls for the full sleep period of 30 seconds before I see any output. Doesn't matter if it's sandbox or with elevated permissions.
It seems to not be able to fork processes into the background and continue with the next command.
This breaks my test target that for example starts a local database to run tests against.
Activity
github-actions commentedon Nov 6, 2025
Potential duplicates detected. Please review them and close your issue if it is a duplicate.
Powered by Codex Action
balboah commentedon Nov 10, 2025
experienced this with other commands as well, I believe it's related to spawning background processes.
Here's a simple Makefile target example
If I run this, it returns instantly.
If codex runs it, it stalls for the full sleep period of 30 seconds before I see any output. Doesn't matter if it's sandbox or with elevated permissions.
It seems to not be able to fork processes into the background and continue with the next command.
This breaks my test target that for example starts a local database to run tests against.
version 0.56
etraut-openai commentedon Jan 17, 2026
Closing out old bugs.