-
Notifications
You must be signed in to change notification settings - Fork 10.4k
Codex hanging waiting for background script to finish executing (even though it seems to have) #14303
Copy link
Copy link
Open
Labels
bugSomething isn't workingSomething isn't workingtool-callsIssues related to tool callingIssues related to tool calling
Description
What version of Codex CLI is running?
codex-cli 0.114.0
What subscription do you have?
ChatGPT Plus
Which model were you using?
gpt-5.4 high
What platform is your computer?
Darwin 23.6.0 x86_64 i386
What terminal emulator and version are you using (if applicable)?
iTerm2
What issue are you seeing?
While renaming some files, codex seemed to get stuck waiting for the rename script to finish. When I told it in a steer that the file seemed to be renamed, it seemed to keep hanging on processing that message rather than responding as well. Eventually I cancelled it and submitted this feedback:
• I am renaming the REDACTED lesson videos and guide PDFs in the unit lesson folders to the numbered archive pattern, preserving the [REDACTED-<id>] suffix on videos. After that I will verify the new names across the units.
• Ran while IFS= read -r -d '' target_file; do target_dir=$(dirname "$target_file"); base_name=$(basename "$target_file"); case "$base_name" in 'REDACTED Lesson '*'.mp4') lesson_num=$(printf '%s' "$base_name" | perl -ne 'print $1 if /
│ ^ REDACTED Lesson ([0-9]+) \[REDACTED-([0-9]+)\]\.mp4$/'); REDACTED_id=$(printf '%s' "$base_name" | perl -ne 'print $2 if /^REDACTED Lesson ([0-9]+) \[REDACTED-([0-9]+)\]\.mp4$/'); new_base="REDACTED - Lesson $lesson_num - 1 -
│ Lesson [REDACTED-$REDACTED_id].mp4" ;; 'Lesson '*'.pdf') lesson_num=$(printf '%s' "$base_name" | perl -ne 'print $1 if /^Lesson ([0-9]+) - .*\.pdf$/'); new_base="REDACTED - Lesson $lesson_num - 2 - Lesson Guide.pdf" ;; *)
│ … +2 lines
└ perl: warning: Setting locale failed.
perl: warning: Please check that your locale settings:
… +676 lines
are supported and installed on your system.
perl: warning: Falling back to the standard locale ("C").
───────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────
• The bulk rename is still just emitting locale warnings, not file errors. I am polling for completion and then I will verify the renamed REDACTED files across the unit folders.
• Model interrupted to submit steer instructions.
› It might be worth doing a file listing or similar, as I think a bunch of them (if not all) may have been renamed already
■ Conversation interrupted - tell the model what to do differently. Something went wrong? Hit `/feedback` to report the issue.
• Feedback uploaded. Please open an issue using the following URL:
https://github.com/openai/codex/issues/new?template=3-cli.yml&steps=Uploaded%20thread:%20019cd102-1737-7bf3-8737-78ec821482c6
Or mention your thread ID 019cd102-1737-7bf3-8737-78ec821482c6 in an existing issue.
What steps can reproduce the bug?
Uploaded thread: 019cd102-1737-7bf3-8737-78ec821482c6
What is the expected behavior?
The session to not hang while running the script / attempting to provide followup instructions.
Additional information
N/A
Reactions are currently unavailable
Metadata
Metadata
Assignees
Labels
bugSomething isn't workingSomething isn't workingtool-callsIssues related to tool callingIssues related to tool calling
Type
Fields
Give feedbackNo fields configured for issues without a type.