On Windows desktop version 26.1120.50957, dot's read_thread times out twice after 3600 seconds, while reading locally succeeds
环境与复现步骤
Windows,Codex 桌面版 26.1120.50957,本机 Codex CLI 0.171.0-alpha.13.2。目标是这台电脑上已有的本地 Codex 会话,项目可写范围只有诊断工作目录。
- 在 ChatGPT 桌面应用中为 dot 授权并选中这台电脑,确认设备显示已连接。
- 打开对应的 dot 对话,请它用
codex_app/read_thread读取已有的本地会话,等待工具自行返回。第二次测试发起时,dot 对话位于桌面前台。 - 远程调用超时后,在本机 Codex 中读取同一会话作对照。
观察结果
两次独立的 read_thread 都在一小时后返回 timed out awaiting tools/call after 3600s。下表来自第二次测试及紧随其后的本机对照。
| 观察项 | dot 远程读取 | 本机 Codex 读取同一会话 |
|---|---|---|
| 调用结果 | 3600 秒后超时 | 约 3.3 秒后成功返回会话历史 |
桌面日志中的 read_thread |
在该小时内未找到开始执行或发送响应的记录 | 本机调用时出现 dynamic_app_tool_renderer_execution_started 和 Sending server response,两条相隔约 41 毫秒 |
远程读取期间,桌面执行端每分钟记录一次连接状态。60 次采样的 connectedMs 均等于同次采样的 eligibleMs,且均大于零。现有日志不足以定位请求停在哪一跳。
另一次测试中,重新授权设备后,dot 通过 send_message_to_thread 发送了一次只运行 hostname 的指令。客户端等了约两分钟后停止等待,没有收到回执。随后从本机查看时,目标会话没有新增轮次,也没有主机名或退出码。该次发送是否可能延迟送达仍未知。
预期与待确认的问题
设备在线且目标会话可读时,希望 dot 能返回会话历史。如果投递或访问失败,希望工具能返回具体原因。维护者能否说明,哪一条受支持的诊断记录可以区分“请求已投递到桌面”和“桌面已响应,调用方仍在等回包”?
相关报告 #60386。本次补充了较新 Windows 桌面版本上完整一小时的执行端连接采样,以及同一会话的本机读取对照。
English translation:
Environment and steps to reproduce
Windows, Codex desktop version 26.1120.50957, and local Codex CLI version 0.171.0-alpha.13.2. The target is an existing local Codex session on this computer. Write access within the project is limited to the diagnostics working directory.
- In the ChatGPT desktop app, authorize dot to access this computer, select it, and confirm that the device shows as connected.
- Open the corresponding dot conversation, ask it to use
codex_app/read_threadto read the existing local session, and wait for the tool to return on its own. The dot conversation was in the foreground on the desktop when the second test started. - After the remote call times out, read the same session in the local Codex instance for comparison.
Observed results
Two separate read_thread calls each returned timed out awaiting tools/call after 3600s after one hour. The table below compares the second test with the local read performed immediately afterward.
| Observation | Remote read via dot | Local Codex read of the same session |
|---|---|---|
| Call result | Timed out after 3600 seconds | Successfully returned the session history after about 3.3 seconds |
read_thread in the desktop logs |
No log entry indicating that execution started or that a response was sent was found during that hour | The local call logged dynamic_app_tool_renderer_execution_started and Sending server response about 41 milliseconds apart |
During the remote read, the desktop executor logged its connection status once a minute. In all 60 samples, connectedMs equaled eligibleMs for that sample, and both values were greater than zero. The available logs do not show at which hop the request stalled.
In another test, after reauthorizing the device, dot used send_message_to_thread to send a single instruction to run only hostname. The client stopped waiting after about two minutes without receiving an acknowledgment. A subsequent local check showed no new turn in the target session and no hostname or exit code. It remains unclear whether that message could still be delivered later.
Expected behavior and open question
When the device is online and the target session is readable, I expect dot to return the session history. If delivery or access fails, I expect the tool to report the specific reason. Can the maintainers identify a supported diagnostic log entry that distinguishes between “the request reached the desktop” and “the desktop responded, but the caller is still waiting for the response”?
Related report #60386. This report adds a full hour of connection samples from the executor on a newer Windows desktop version, along with a local read of the same session for comparison.