Web UI sends `shutdown` on tab close instead of `restart`
还没有人认领这个 Issue。
评估
调研方向
从 serve-mode Web UI 中的 destroyPlayer() 开始,检查关闭标签页与点击显式的 user-stop 按钮时 client/goodbye.reason 的赋值方式。将未作说明的 graceful-disconnect 默认值改为 restart,同时保留显式停止时使用的 user_request,然后验证两个 goodbye 原因都按预期发送。
由索引模型根据 Issue 内容生成。
描述
Severity: 🟠 high
destroyPlayer() in the serve-mode web UI defaults to client/goodbye.reason = 'shutdown'; only the explicit user-stop button sends user_request. A user who simply closes the browser tab is therefore reported to the server as having "shut down permanently", which (per the spec) suppresses server-side auto-reconnect. The spec implies the default for an unexplained graceful disconnect should be restart.
Source: docs/goodbye-and-operational-state.md §divergence
Full audit branch: claude/stream-sync-correction-sdks-AWoNC
Per-SDK digest: sdk-issues digest
Filed from a cross-SDK conformance audit; see digest for the full per-SDK punch list.
- 主要语言
- Python
- 星标
- 190
- 派生
- 36
- 平均合并
- 11 天 19 小时
- 30 天内合并 PR
- 2
贡献指南
这个仓库没有索引到贡献指南
从这里开始
- 先读完整个 Issue,再读项目的贡献指南。
- 在 Issue 下留言说明你要接手 —— 这能避免两个人做同样的事。
- Fork 仓库,在一个分支上完成修改。
- 提交 Pull Request,并在描述里引用这个 Issue 编号。
Sendspin/sendspin-python-cli 的其他 Issue
-
难度 2/5 1-3 小时 新手友好度 82/100
Sendspin/sendspin-python-cli#280 ·
-
难度 2/5 1-3 小时 新手友好度 74/100
Sendspin/sendspin-python-cli#278 · 2 条评论 · 5 个 reaction ·
-
难度 2/5 1-3 小时 新手友好度 75/100
Sendspin/sendspin-python-cli#257 ·
-
难度 2/5 1-3 小时 新手友好度 68/100
Sendspin/sendspin-python-cli#113 · 10 条评论 ·
-
难度 4/5 3-5 天 新手友好度 52/100
Sendspin/sendspin-python-cli#274 · 1 条评论 ·
查看 Sendspin/sendspin-python-cli 的全部 Issue
相似的 Issue
-
难度 1/5 1 小时以内 新手友好度 90/100
-
bug
难度 2/5 1-3 小时 新手友好度 86/100
zostera/django-bootstrap4#894 ·
-
难度 2/5 1-3 小时 新手友好度 78/100
use-agent-os/agent-os#3276 ·
-
难度 2/5 1-3 小时 新手友好度 88/100
zephyrproject-rtos/zephyr#119726 ·
-
area/auth bug comp/agent P3 platform/discord type/security
难度 2/5 1-3 小时 新手友好度 88/100
NousResearch/hermes-agent#117848 ·