makecindy / makecindy/cindy

长任务运行中偶发无法插话:输入无响应且无任何提示(超长会话 1200+ 条消息)

Open
#2,281 1 comment 0 reactions 0 assignees View on GitHub
bug
Dominant language
TypeScript
Stars
2.7k
Forks
395
Avg merge
21h 48m
Merged PRs (30d)
776

Description

**提交人**: 大佬
**客户端版本**: 0.1.38

---

## 现象

一个正在运行长任务的会话中,用户尝试插话(steering),消息发不出去:界面无响应,没有任何错误提示或反馈,本地数据库中也没有留下任何发送记录(userSendAt 未更新,无 user 消息落库),说明消息在 UI 层就被拦住了。约 1–2 分钟后自行恢复,同一会话插话成功(消息以 delivery: steer 正常注入运行中的任务)。

## 发生时的会话状态

- 会话已累计约 1249 条消息
- 当前轮次已连续运行约 2 小时 13 分钟(单轮累计 token 约 1200 万,含大量并行子任务/subagent)
- agent:Claude Code(claude-fable-5),主轮次恰好处于收尾/等待后台子任务回收的切换阶段
- 平台:macOS (Darwin 25.5.0),Cindy 桌面端

## 推测

两个可能方向(未能确认根因):
1. 超长会话(1200+ 条消息)渲染卡顿,导致输入框/发送短暂无响应
2. 轮次切换瞬间(turn 收尾、等待 subagent 回收的窗口期)插话通道短暂不可用

## 期望行为

- 运行中插话始终可用;若某些瞬间确实无法接收,应给用户明确提示(如「正在处理,消息已排队」)或自动排队重试,而不是静默失败——静默失败会让用户以为线程坏了
- 超长会话建议做消息列表虚拟化/分页,避免渲染拖垮输入链路
---
**OS**: darwin arm64 (25.5.0)
**界面语言**: zh-CN

Contributor guide

Open the contributing guide

Research direction

The issue names no files or tests. Start by tracing the steering message path in the desktop UI and its behavior during turn completion and subagent cleanup, then reproduce with a 1200+ message session. Done means steering no longer fails silently: the message is sent or queued, and an explicit status or error is shown when delivery is temporarily unavailable.

Written by the indexing model from the issue text.

Assessment

Tech stack
electron, typescript
Domain
desktop, frontend
Issue type
Bug
Difficulty
4/5
Estimated time
3-5 days
Activity status
Quiet
Clarity
Mostly clear
Newbie friendliness
45/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.