Web UI sends `shutdown` on tab close instead of `restart`
Nobody has claimed this yet.
Assessment
- Difficulty
- 2/5
- Estimated time
- 1-3 hours
- Newbie friendliness
- 68/100
Research direction
Start at destroyPlayer() in the serve-mode web UI and inspect how client/goodbye.reason is assigned on tab close versus the explicit user-stop button. Change the unexplained graceful-disconnect default to restart while preserving user_request for explicit stops, then verify both goodbye reasons are sent as intended.
Written by the indexing model from the issue text.
Description
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.
- Dominant language
- Python
- Stars
- 190
- Forks
- 36
- Avg merge
- 11d 19h
- Merged PRs (30d)
- 2
Contributor guide
No contributing guide indexed for this repository
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
More from Sendspin/sendspin-python-cli
-
Difficulty 2/5 1-3 hours Newbie friendliness 82/100
Sendspin/sendspin-python-cli#280 ·
-
Difficulty 2/5 1-3 hours Newbie friendliness 74/100
Sendspin/sendspin-python-cli#278 · 2 comments · 5 reactions ·
-
Difficulty 2/5 1-3 hours Newbie friendliness 75/100
Sendspin/sendspin-python-cli#257 ·
-
Difficulty 2/5 1-3 hours Newbie friendliness 68/100
Sendspin/sendspin-python-cli#113 · 10 comments ·
-
Difficulty 4/5 3-5 days Newbie friendliness 52/100
Sendspin/sendspin-python-cli#274 · 1 comment ·
All issues in Sendspin/sendspin-python-cli
Similar issues
-
area/auth bug comp/agent P3 platform/discord type/security
Difficulty 2/5 1-3 hours Newbie friendliness 88/100
NousResearch/hermes-agent#117848 ·
-
Difficulty 2/5 1-3 hours Newbie friendliness 74/100
bancolombia/sentinel#23 ·
-
test md OpenCI
Difficulty 2/5 1-3 hours Newbie friendliness 74/100
-
integration:quickjs org:external priority:backlog topic:code-interpreter topic:middleware type:feature
Difficulty 2/5 1-3 hours Newbie friendliness 74/100
langchain-ai/deepagents#6450 ·
-
bug client
Difficulty 2/5 1-3 hours Newbie friendliness 88/100