Codex app-server 长时间重连导致正在执行的回合被自动中断
- Dominant language
- TypeScript
- Stars
- 2.7k
- Forks
- 395
- Avg merge
- 21h 48m
- Merged PRs (30d)
- 776
Description
**提交人**: 匿名
**客户端版本**: 0.1.73
---
## 缺陷描述
任务执行过程中,Codex app-server 出现长时间断线重连(持续较长时间未恢复连接)。在此期间,原本正在执行的回合被系统自动中断,任务未能完成。
## 触发场景
- 正在执行一个较长回合时,app-server 进入长时间重连状态
- 该回合随后被自动打断,而不是等待重连结束后继续
## 期望行为
连接恢复后,正在执行的回合应能继续执行或被明确地暂停等待,而不是被自动中断。
## 备注
- 出现该问题时正在执行的具体任务内容:未知
- 中断后是否恢复正常运行:未确认
- 该问题与具体任务类型无关,属于连接层的通用行为
---
## 提交时的任务环境
仅代表提交时快照,不一定是故障环境。OS 来自提交客户端本机,不含 SSH 远端主机;Harness / 模型来自当前任务。与运行环境无关的反馈可忽略本段。
**版本区域**: CN
**OS**: win32 x64 (10.0.19045)
**Harness**: Claude Code
**Model ID**: ` agent-deepseek-v4-flash `
**界面语言**: zh-CN
Contributor guide
Research direction
Start at the app-server reconnect and active-turn lifecycle handling, then reproduce a long-running turn during a prolonged disconnection. Trace where the turn is interrupted and determine how connection recovery is represented. Done means the turn resumes after recovery or is explicitly paused awaiting recovery instead of being automatically interrupted.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- typescript
- Domain
- backend, networking
- Issue type
- Bug
- Difficulty
- 4/5
- Estimated time
- 3-5 days
- Activity status
- Active
- Clarity
- Needs clarification
- Newbie friendliness
- 35/100