Propagate the authoritative `disconnectedEvent` as a `ConnectionError` so proxy callers and trade consumers fail loudly instead of waiting on a dead socket. Preserve the last `apiError` text as the reason without treating numeric farm/order errors as socket failures. Deats, - Disconnect the one-shot callback before sending the exception. - Raise when `recv_trade_updates()` loses its socket, and relay disconnect exceptions through both Trio-side consumers. - Exercise real `eventkit` error/disconnect callbacks and preserve the supplied commission fill while testing bridge termination. - Record the aborted integration stage as historical provenance; its test passes do not validate this post-abort boundary. Prompt-IO: ai/prompt-io/opencode/20260916_ib_connectivity_integration.md (this patch was generated in some part by `opencode` using `gpt-6-astra` (`openai`)) |
||
|---|---|---|
| .. | ||
| claude | ||
| codex | ||
| opencode | ||