Codex stuck on bash task, that finished, but not quited
Resolved 💬 3 comments Opened Nov 1, 2025 by sergx Closed Nov 15, 2025
💡 Likely answer: A maintainer (github-actions[bot], contributor)
responded on this thread — see the highlighted reply below.
What version of Codex is running?
VSCode extension 0.4.34
What subscription do you have?
Plus
Which model were you using?
gpt-5-codex medium
What platform is your computer?
_No response_
What issue are you seeing?
This step of solving a task is stuck for 5 min+ And did not end untill i did not press stop.
Running npm run test:unit
$ bash -lc 'npm run test:unit'
> frontend@0.0.0 test:unit
> vitest
DEV v2.1.9 E:/platform_boilerplate/frontend
â^\^S tests/unit/formatters.spec.js (4 tests) 24ms
â^\^S tests/unit/AppAlert.spec.js (2 tests) 15ms
Test Files 2 passed (2)
Tests 6 passed (6)
Start at 07:58:08
Duration 696ms (transform 45ms, setup 0ms, collect 119ms, tests 39ms, environment 669ms, prepare 131ms)
PASS Waiting for file changes...
press h to show help, press q to quit
What steps can reproduce the bug?
...
What is the expected behavior?
_No response_
Additional information
_No response_
3 Comments
Potential duplicates detected. Please review them and close your issue if it is a duplicate.
Powered by Codex Action
try setting "pool":"threads" in vitest config
Here is my vitest.config.ts file for reference
We recently fixed a bug that I suspect is the cause of this. It affects tools that open a child process and share the stderr/stdout handle with their child. The logic in the CLI was waiting (indefinitely) for these to be closed. We've added a hard timeout to work around this issue. I'm going to close this. If you see similar problems in the future, please open a new bug report and use the recently-added
/feedbackslash command if you're using the CLI. We're planning to add support for/feedbackin the extension soon.