dotnet command hangs until timeout, with high cpu
What version of Codex is running?
0.30.0
Which model were you using?
gpt-5-high
What platform is your computer?
Darwin 24.6.0 arm64 arm
What steps can reproduce the bug?
ask codex to run dotnet test, it will respond something like
run dotnet test directly
> Running .NET tests directly for the solution (no restore). This may take a
few minutes.
• Ran
└ dotnet test ./<solution>.sln --no-restore -v minimal
<here I press escape due to no progress after minutes..>
🖐 Tell the model what to do differently
I cancelled after several minutes. Looking in Activity Monitor, the dotnet process consumes ~50% cpu and seems to get nowhere. If I run the exact same command (copying from codex and running in separate terminal) it completes successfully in 11 seconds.
I have no clue what is happening here, but I also have similar issues running vitest from codex from npm npm run test, it just completely hogs my computer and I have to force quit.
Is anyone else managing to run dotnet and vitest using codex? My commands work flawlessly in Claude Code, so I know it is not my tests that are failing, it is something about how codex call the commands that seems off.
What is the expected behavior?
Codex should call dotnet, npm or vitest commands successfully.
What do you see instead?
Hangs (if I don't press escape, it auto-timeouts after like 10 minutes)
Additional information
No response