A Binance Ping racing local socket closure makes trio-websocket's reader send a Pong while wsproto is LOCAL_CLOSING. That reader nursery error escapes proxy_msgs(), then tears down brokerd and pikerd instead of restoring quote delivery. Classify NoBsWs.recon_errors around the entire websocket context, with collapse_eg() outside it so a singleton reader exit group reaches the reconnect handler. Invalidate the stale connected event and socket reference before retrying. Keep retry sleep unshielded so parent cancellation stops recovery promptly. Deats, - Add real loopback websocket coverage: TCP, handshake, Ping, reader dispatch and wsproto's actual Pong validation. - Control only the first client Ping's protocol-state ordering, withholding its Close frame to prevent a peer response racing the deterministic LOCAL_CLOSING reproducer. - Require fresh data on a replacement connection, plus exactly one connection when cancelling at the reader or retry boundary. - Use RuntimeError for the unexpected-failure control: LocalProtocolError is now a recoverable connection failure. - Preserve the original unexpected exception with bare raise, and assert its identity in the test. Log recoverable errors with the websocket URL and the underlying traceback. This is a local follow-up, not another downstream cherry-pick. The earlier wrapper suppressed escaped communication failures; |
||
|---|---|---|
| .. | ||
| claude | ||
| opencode | ||
| 20261007T165453Z_bde2457b_prompt_io.md | ||
| 20261007T165453Z_bde2457b_prompt_io.raw.md | ||
| 20261010T232852Z_1fa45dfa_prompt_io.md | ||
| 20261010T232852Z_1fa45dfa_prompt_io.raw.md | ||
| 20261106T185628Z_495c0915_215e9b_prompt_io.md | ||
| 20261106T185628Z_495c0915_215e9b_prompt_io.raw.md | ||
| 20261106T201746Z_495c0915_612dfc_prompt_io.md | ||
| 20261106T201746Z_495c0915_612dfc_prompt_io.raw.md | ||
| README.md | ||
README.md
AI Prompt I/O Log
This directory records substantive AI-assisted changes, prompts, original harness identity, and unedited outputs. Human contributors remain accountable for code decisions.
Records follow the NLNet generative AI policy. Each structured entry links its immutable .raw.md partner. Code output uses Git diff references to avoid duplication.