Bug: 已结束的历史对话偶发被标记为 Claude Code 进程退出错误
- Dominant language
- TypeScript
- Stars
- 2.7k
- Forks
- 395
- Avg merge
- 21h 48m
- Merged PRs (30d)
- 776
Description
## 现象
部分已经结束一段时间的历史对话,重新打开后会偶发显示红色错误提示,同时左侧侧边栏对应会话也出现红色错误标记。
截图中错误为:
> Error: Claude Code process exited with code 1073807364
点击错误栏右侧会显示“重试”。
## 期望行为
已结束的历史对话应保持已完成状态;重新打开或浏览时不应意外拉起 Claude Code 进程,也不应将旧会话标记为失败。
## 实际行为
旧会话偶发被显示为失败,并在编辑区底部出现进程退出错误;侧边栏也会出现红色提醒。
## 复现情况
- 发生对象:已结束一段时间的历史对话
- 频率:概率性出现,暂未稳定复现
- 操作:打开/查看历史对话时观察到
## 附件
截图已随本反馈提供:旧对话底部出现 `Claude Code process exited with code 1073807364`,侧边栏有红色错误点。
## 影响
会让用户误以为历史会话仍在运行或执行失败,也可能触发不必要的“重试”。
Contributor guide
Research direction
Start by reproducing the issue while opening a completed historical conversation, then trace the historical-conversation opening path and the handling of the reported Claude Code process exit error. Check why browsing an old session can trigger a process or failure indicator. Done means completed sessions remain completed, no process is started during viewing, and neither the editor nor sidebar shows a failure state.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- electron, typescript
- Domain
- desktop
- Issue type
- Bug
- Difficulty
- 4/5
- Estimated time
- 3-5 days
- Activity status
- Quiet
- Clarity
- Mostly clear
- Newbie friendliness
- 48/100