停止生成首按即冲洗等待中的排队与插话消息 #4832
wangbingyizx
started this conversation in
Ideas
Replies: 2 comments
|
参考实现已备好(带完整测试, 新增 commands-cancel-flush.host.spec.ts 覆盖 running 冲洗顺序与 idle 普通停止):
相关提案: #4831 |
0 replies
|
这个问题在 alpha.1 官方测试里有非常明确的当前契约,可以把“保留”和“送达”分开:
所以当前症状更准确地说是 消息被保留但没有 delivery wake,不是物理删除;但对用户而言,气泡永久不被回答,确实等价于静默丢失。 建议修复时额外守住几个边界:
如果实现采用 当前版本的安全人工恢复是:先等 完整的当前行为表、操作恢复和十项产品契约:https://github.com/sandbaseai/deepseek-harness-handbook/blob/main/docs/en/troubleshooting/stuck-turn-stop-and-retry.md#stop-preserves-queued-input-but-may-not-deliver-it |
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
停止生成中断运行中的轮次时,把仍在等待的排队与插话消息立即转为下一轮发出,而不是滞留在收件箱失效。
验收与细节
SessionCommandController.cancel以keepInbox: true取消后,未被认领的 next-step 插话与 next-turn 排队消息被"停放"——没有任何唤醒,用户看到自己的插话气泡永远不被回答,等价于静默丢失(agent-loop/tests/cancel.spec.ts的 "parks queued work after an active turn aborts" 即此行为)。cancel(keepInbox)后逐条inbox.remove + followup(aborted phase 中 send 会闩住唤醒,driver 退出即重放)。commands-cancel-flush.host.spec.ts覆盖 running 冲洗顺序(queued 先、steering 后、context 停放)与 idle 普通停止。All reactions