Bug: 对话中断后任务进度停留在 2/4,未反映实际结束状态
- Dominant language
- TypeScript
- Stars
- 2.7k
- Forks
- 401
- Avg merge
- 21h 48m
- Merged PRs (30d)
- 776
Description
**提交人**: suimingjun
**客户端版本**: 0.1.33
---
## 现象
上一轮对话被中断后,Cindy 客户端偶尔仍显示任务进度为 2/4,界面看起来像任务仍在继续;但实际任务已经完成或已经停止。客户端的进度显示没有及时更新,也没有明确显示任务已完成或已中断。
## 复现步骤
1. 在 Cindy 中启动一个包含多个步骤的任务。
2. 任务执行过程中,对话或上一轮会话发生中断。
3. 返回该会话或重新查看客户端界面。
4. 偶尔会看到进度仍停留在 2/4。
该问题目前是偶发的,具体触发中断的条件不稳定,暂时无法保证每次复现。
## 期望行为
- 如果任务已经完成,进度应自动更新到 4/4,并显示明确的完成状态。
- 如果任务被中断或停止,应显示“已中断”或“已停止”等明确状态,并停止继续执行的视觉提示。
- 用户重新打开会话或刷新界面时,客户端应重新同步实际任务状态,避免显示过期进度。
## 实际行为
- 任务已经完成或停止,但界面仍停留在 2/4。
- 界面状态看起来像任务还在执行,用户无法判断 AI 当前实际执行到哪一步。
## 影响
用户无法准确判断任务是否仍在运行,可能导致不必要的等待、重复操作,或误以为任务仍会继续执行。
---
**版本区域**: CN
**OS**: win32 x64 (10.0.26200)
**界面语言**: zh-CN
Contributor guide
Research direction
No files, tests, or entry points are named. Start by tracing the client task-progress state and the session reload or refresh synchronization path, then reproduce an interrupted multi-step task and compare the displayed state with its actual completion or stop status.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- typescript
- Domain
- frontend
- Issue type
- Bug
- Difficulty
- 4/5
- Estimated time
- 3-5 days
- Activity status
- Quiet
- Clarity
- Mostly clear
- Newbie friendliness
- 45/100