Bug:迁移到 Cindy 的 Goal 持续显示 active 并在后续运行中卡死
- Dominant language
- TypeScript
- Stars
- 2.7k
- Forks
- 395
- Avg merge
- 21h 48m
- Merged PRs (30d)
- 776
Description
**提交人**: xinchaochen
**客户端版本**: 0.1.33
---
## 现象
将一个原本在 Codex 中创建的 Goal 迁移到 Cindy 后,Goal 长时间显示 active;后续运行过程中出现卡住且没有任何回复的情况。
## 复现步骤
1. 在 Codex 中创建一个 Goal。
2. 将 Goal 迁移到 Cindy,并绑定 Scheduler。
3. 设置固定检查点运行(例如每日多个时间点)。
4. 在非检查点时间观察线程,或等待调度器后续运行。
## 实际行为
- 空闲期间反复显示 active 状态,产生大量无效提示。
- 没有新结果时仍可能持续续接线程。
- 调度器会话异常(例如 session instance mismatch)后,线程可能卡死且不结束。
- 用户难以判断任务是否仍在运行、是否已经完成或失败。
## 期望行为
- 默认静默空闲状态,只发送实际执行、跳过、失败或需要用户关注的结果。
- 每轮 Goal 运行应有明确的结束状态。
- 发生异常时应 fail-closed,给出一次清晰错误并结束本轮,不让线程持续 active 或卡死。
## 影响
造成通知噪音和资源消耗,并使用户无法可靠判断自动化任务的真实状态。
---
**版本区域**: CN
**OS**: win32 x64 (10.0.26200)
**界面语言**: zh-CN
Contributor guide
Research direction
Trace the Goal migration from Codex to Cindy, the Scheduler binding, and the session lifecycle after each scheduled run. Reproduce the fixed-checkpoint scenario and inspect how idle rounds, session instance mismatch errors, and thread termination are represented. Done means idle periods stay quiet, each run ends with a clear status, and failures emit one understandable error without leaving the thread active.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- typescript
- Domain
- backend
- Issue type
- Bug
- Difficulty
- 4/5
- Estimated time
- 3-5 days
- Activity status
- Quiet
- Clarity
- Mostly clear
- Newbie friendliness
- 45/100