Files
cc-web/.planning/2026-10-10-ended-turn-steer-retry/progress.md
shiyue 69b6db0f5b 修复完整会话历史与长气泡交互并更新 CentOS 7 发布包
提交当前工作区全部源码、回归脚本、任务记录及重新构建的 Bun baseline 发布包。发布单文件 MCP 初始化及前端资源一致性验证通过。
2026-10-10 23:40:16 +08:00

15 lines
1.5 KiB
Markdown
Raw Blame History

This file contains ambiguous Unicode characters

This file contains Unicode characters that might be confused with other characters. If you think that this is intentional, you can safely ignore this warning. Use the Escape button to reveal them.

# 进度记录
## 2026-10-10
- 已确认 codebase-memory 项目 `home-cc-web` 索引可用。
- 已定位前端 `retryCodexAppSteerMessage` 的结束会话拦截,以及后端 `handleCodexAppSteerMessage` 的 ready 超时失败分支。
- 工作区包含其他未提交的会话历史改动,本任务将只修改插入/重试相关代码和回归测试。
- 基线定向回归和语法检查均通过;现有前端单测中的“turn 已结束时不能重试”断言与用户需求相反,下一步先改为新 turn 重试回归。
- 已修复无活动 turn 文案识别、完成先到后的旧输出顺序和自动续发,增加对应 mock、表单答案与竞态回归。
- 最新定向回归:`timeout 60s node scripts/regression.js --target codexapp-stale-running` 通过。
- 正在完善前端重试回执、普通消息合并及失败后的再次重试;此前乐观提交不应作为最终成功依据。
- 已完成 `waitForSteerReady` 的 replaced/timeout 分支、entry 已清理时的直接重分发、完成先到竞态的历史重排,以及前端重试按新 turn 发送与 sent 回执提交。
- 已复核关键差异:`reorderStaleCodexAppTurnMessages` 的 messageIndex 推送、`completeCodexAppSteerMessage` 的索引提交、`updateCodexAppSteerMessage` 返回值调用方,均符合预期。
- 部署状态:重启前检查到除当前对话外仍有 2 个 running 会话(`826deaa0`、`2f1134fe`),按 AGENTS.md 暂缓重启,等其结束后再执行 `pm2 restart ccweb --update-env`。