修复 ccweb MCP 启动与重载并重新打包
This commit is contained in:
13
.planning/2026-09-12-ccweb-mcp-create-failure/progress.md
Normal file
13
.planning/2026-09-12-ccweb-mcp-create-failure/progress.md
Normal file
@@ -0,0 +1,13 @@
|
||||
# 调查进度
|
||||
|
||||
## 记录
|
||||
|
||||
- 2026-09-12:建立本轮 scoped 排查计划;确认 codebase-memory 项目 `home-cc-web` 索引状态为 ready。
|
||||
- 2026-09-12:截图现象先记录为“当前会话 MCP 工具未注入/不可见”,待与创建和重载链路对照。
|
||||
- 2026-09-12:确认 `buildCcwebMcpRuntimeConfig()` 两条传输路径均固定 `startup_timeout_sec=10`;历史会话持久化了 ccweb 10 秒超时。
|
||||
- 2026-09-12:确认 `createMcpConversation()` 的首条消息通过 `handleCodexAppMessage()` 异步启动,接口返回不等待目标线程/MCP ready。
|
||||
- 2026-09-12:确认 reload 仅等待 1200ms,状态通知按 threadId 严格关联;历史日志出现请求线程与上报线程不一致、`targetSessions=0`,导致会话持久化为 `starting/pending`。
|
||||
- 2026-09-12:用户确认进入修复实施;已将 ccweb MCP 启动超时、工具超时、reload 等待窗口改为可配置,默认分别为 30 秒、60 秒、35 秒。
|
||||
- 2026-09-12:已修正 reload 的跨 threadId 全局状态关联,并在等待窗口超时后持久化 `failed` 状态和可重试提示。
|
||||
- 2026-09-12:创建对话结果补充 Codex App MCP 状态;首条消息投递失败保留会话 ID、creationStatus 和 retryable 元数据。
|
||||
- 2026-09-12:mock + 完整 regression 已通过;未重启服务,待收尾清理临时清单。
|
||||
Reference in New Issue
Block a user