nested codex exec remains silent until caller timeout under a restricted launch context
Nobody has claimed this yet.
- Dominant language
- Rust
- Stars
- 125k
- Forks
- 19.4k
- PR merge metrics
- PR metrics pending
Description
What version of the Codex App are you using (From “About Codex” dialog)?
0.153.4
What subscription do you have?
Plus
What platform is your computer?
Windows 11
What issue are you seeing?
我在 Windows 11 上使用 Codex Desktop,故障时 CLI 版本为 0.153.4。由 Desktop 受限命令链启动的 codex exec 多次长时间无 stdout 事件,也未观察到可归属该 child 的 rollout,直到调用方 watchdog 或人工终止。独立普通 shell 的真实 dispatch 则可完成。
现存证据已只读核对:15 次 exit 0 receipt,packet hash 与 receipt 全部一致,rollout ID 全部对应;原报告记录的 7 次 hang 均留下 CodexSandboxOffline 所有的 packet、没有 receipt;另有 1 次遗留 packet 结果未知。失败 usage 为 unavailable,不声称计费为零。
受限 Windows 启动环境是首要嫌疑,但具体 ACL/网络/IPC 等待机制尚未定位。我们希望 CLI 在不支持或权限不足的启动环境中能及时返回可诊断错误;不要求放宽 sandbox。已发现的调用方 receipt/告警问题在新版报告中单列,没有归因给 CLI。
我已准备脱敏报告 codex_nested_exec_hang_bugreport_v2_2026-09-11.md、样本表和 JSON 证据索引。请协助确认是否为已知问题、推荐的诊断采集方式,以及是否有可验证的修复版本。
codex_dispatch_evidence_v2.json
codex_dispatch_samples_v2.md
codex_nested_exec_hang_bugreport_v2_2026-09-11.md
What steps can reproduce the bug?
Feedback ID: 01a07f56-d945-70b3-9311-12af14905e54
What is the expected behavior?
No response
Additional information
No response
Contributor guide
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
Research direction
Start with codex_nested_exec_hang_bugreport_v2_2026-09-11.md, codex_dispatch_samples_v2.md, and codex_dispatch_evidence_v2.json. Compare the successful ordinary-shell dispatch with the restricted Windows Desktop launch and use the recorded packet, receipt, rollout, and timeout evidence to locate the wait. Done means a reproducible failure path that returns a timely diagnostic error without weakening the sandbox.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- rust
- Domain
- cli, operating-systems
- Issue type
- Bug
- Difficulty
- 4/5
- Estimated time
- 3-5 days
- Activity status
- Active
- Clarity
- Needs clarification
- Newbie friendliness
- 35/100