Skip to content

Web UI sends shutdown on tab close instead of restart #256

Description

@balloob

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.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions