What this thread does
Do first: If the workflow pins the CLI, set codex-version to "0.150.0", as the maintainer directs.
Symptom
wjarka reported that a heavy Linux run on Codex Action v1.12 completed its turn and wrote the output file but never returned before job timeout. This is a completion symptom, with no unique error string. The report’s control runs show that light runs on that action version can finish. Other users commented on the issue, including islamJamer and rockwotj.
Cause
The maintainer identifies a CLI fix for Unix PTY shutdown. Its commit explains that blocking terminal reads and output-channel sends can hold runtime shutdown open when a detached child retains the terminal or output backpressure fills the channel. Nonblocking, cancellable terminal I/O replaces that wait.
Fix
1. If the workflow pins the CLI, set codex-version to "0.150.0", as the maintainer directs. Source. 2. Rerun the affected workflow. The maintainer states that no action version change is needed: the action’s default installation selects the CLI without a version pin. Source.
As of November 2026, CLI release rust-v0.172.0 (released 2026-11-24) retains nonblocking Unix PTY I/O and cancellable tasks. The action definition still exposes the optional codex-version input. The historical minimum fix pin remains 0.150.0.
Fixed in
First stable fix: rust-v0.150.0 (released 2026-08-26). The release was announced by viyatb-oai in the maintainer comment on 2026-08-26; no action release change was required.
If it still fails
- This targets a hang after the turn and output-file write, not a turn that is still generating. The report retracts its temporary-directory explanation; increasing the job timeout only extended the idle period in that report.
Not for: Codex Action read-only sandbox temporary-directory failures during a turn.
Sources
- v1.12: Linux run never returns after the turn completes; job dies on timeout with the output file already written, wjarka, opened 2026-08-21; closed as completed on 2026-08-26: "the turn completes"
- Issue comment, islamJamer, 2026-08-21; parent issue closed as completed on 2026-08-26.
- Issue comment, rockwotj, 2026-08-21; parent issue closed as completed on 2026-08-26.
- Fix release announcement, viyatb-oai, 2026-08-26; parent issue closed as completed on 2026-08-26.
- Unix PTY shutdown change, viyatb-oai, committed 2026-08-24.
- rust-v0.150.0, published 2026-08-26.
- rust-v0.172.0, published 2026-11-24.
- Release-tag source or documentation, read 2026-11-24.
- Release-tag source or documentation, read 2026-11-24.
Checked
2026-11-24; read the issue and linked comments, maintainer release comment, CLI fix commit and release records, plus the release-tag source/documentation linked above; no command was run.
Started from a post by @wjarka, packaged by the editor. Original post