Document safe fallback for malformed websocket error payloads
Co-authored-by: Theo Browne <[email protected]>
This commit is contained in:
1 parent
ec402cfb24
commit
1382c944ad
1 file changed
+1
-1
@@ -82,7 +82,7 @@ Runtime command semantics:
|
||||
- In-flight renderer requests now surface unauthorized/replacement disconnect causes explicitly.
|
||||
- Renderer also fails in-flight requests immediately on websocket `error` events (without waiting for close) for faster feedback.
|
||||
- After reconnect, renderer ignores stale events from prior sockets (including provider and agent streams) to avoid cross-connection state corruption.
|
||||
- Initial websocket connect failures now include detailed diagnostics from socket/open and constructor failures (including nested or string error payload messages when present).
|
||||
- Initial websocket connect failures now include detailed diagnostics from socket/open and constructor failures (including nested or string error payload messages, with safe fallback for malformed/cyclic payloads).
|
||||
- Subsequent requests automatically reconnect after close/error disconnects, including idle (no pending request) error scenarios.
|
||||
- Renderer now proactively resets the websocket after request send failures, rejects any in-flight requests, and reconnects cleanly on later requests.
|
||||
- Send-failure request errors now include non-Error payload details when available (for clearer diagnostics).
|
||||
|
||||
Reference in new issue
Block a user