piker/ai/prompt-io/opencode
Gud Boi 7952eb0634 Distinguish websocket receive and relay timeouts
The `proxy_msgs()` deadline covers both `ws.get_message()` and
`snd.send()`. Repeated socket-ready reports with no first relay
could therefore mean either a silent source or a blocked local
consumer; the old generic reset log could not distinguish them.

Track the currently awaited operation and report its phase, URL,
deadline, accumulated timeout count and reset threshold on each
timeout. Snapshot `NoBsWs._timeout` once per iteration so the log
reflects the deadline that actually elapsed. Keep the existing
shared deadline, counter behavior and reconnect policy intact.

Add two real loopback regressions: a silent websocket server and
one payload blocked on an unconsumed zero-capacity Trio relay.
Require the matching timeout phase and URL before the reset budget
is exhausted. The 15 selected Binance/websocket cases pass.

The human observes this after invalid `.usdm.` startup followed
by corrected `.usdtm.` input. Metadata accepts the typo but later
history lookup expects canonical keys. Record that investigation
as context; this diagnostic patch does not fix FQME validation,
failed-startup cleanup or prove the cause of corrected-feed stalls.

Prompt-IO: ai/prompt-io/opencode/20261028T180856Z_032580bf_timeout_phase.md

(this patch was generated in some part by `opencode` using
`gpt-6.1-sol` (`openai`))
2026-10-28 14:35:57 -04:00
..
20260811T205826Z_06d5ea5d_prompt_io.md Fix IB `MethodProxy` response routing 2026-10-21 20:50:38 -04:00
20260811T205826Z_06d5ea5d_prompt_io.raw.md Fix IB `MethodProxy` response routing 2026-10-21 20:50:38 -04:00
20260813T202402Z_12b0d66e_prompt_io.md .data: isolate cached feed stream consumers 2026-10-21 20:50:38 -04:00
20260813T202402Z_12b0d66e_prompt_io.raw.md .data: isolate cached feed stream consumers 2026-10-21 20:50:38 -04:00
20260813T230744Z_ddac3553_prompt_io.md .ib.feed: cache quote channel contexts 2026-10-21 20:50:38 -04:00
20260813T230744Z_ddac3553_prompt_io.raw.md .ib.feed: cache quote channel contexts 2026-10-21 20:50:38 -04:00
20260820T163519Z_5f631e19_prompt_io.md Normalize registrar addrs with `wrap_address()` 2026-10-07 03:10:41 -04:00
20260820T163519Z_5f631e19_prompt_io.raw.md Normalize registrar addrs with `wrap_address()` 2026-10-07 03:10:41 -04:00
20260821T042058Z_b7aca4c0_prompt_io.md Preserve exact `piker` logger namespaces 2026-10-07 03:10:41 -04:00
20260821T042058Z_b7aca4c0_prompt_io.raw.md Preserve exact `piker` logger namespaces 2026-10-07 03:10:41 -04:00
20260826T222600Z_5f631e19_prompt_io.md Fix Binance USD-M websocket routing 2026-10-28 10:45:47 -04:00
20260826T222600Z_5f631e19_prompt_io.raw.md Fix Binance USD-M websocket routing 2026-10-28 10:45:47 -04:00
20260828T200352Z_dd676857_prompt_io.md Bump `xonsh` to 0.24.2 2026-10-07 03:10:41 -04:00
20260828T200352Z_dd676857_prompt_io.raw.md Bump `xonsh` to 0.24.2 2026-10-07 03:10:41 -04:00
20260829T175542Z_e09e306a_prompt_io.md Harden Binance USD-M feed startup 2026-10-28 10:45:47 -04:00
20260829T175542Z_e09e306a_prompt_io.raw.md Harden Binance USD-M feed startup 2026-10-28 10:45:47 -04:00
20260901T024235Z_e09e306a_prompt_io.md Fix reconnect startup in `_web_bs` 2026-10-28 10:45:47 -04:00
20260901T024235Z_e09e306a_prompt_io.raw.md Fix reconnect startup in `_web_bs` 2026-10-28 10:45:47 -04:00
20260901T230043Z_e91f41a6_prompt_io.md Bump `tractor` and `msgspec` for Python 3.13 2026-10-07 03:10:41 -04:00
20260901T230043Z_e91f41a6_prompt_io.raw.md Bump `tractor` and `msgspec` for Python 3.13 2026-10-07 03:10:41 -04:00
20260907T214000Z_9115d24_prompt_io.md Add neutral `.ai` workflow config 2026-09-07 19:07:00 -04:00
20260907T214000Z_9115d24_prompt_io.raw.md Add neutral `.ai` workflow config 2026-09-07 19:07:00 -04:00
20260908T043134Z_f148fbcc_prompt_io.md Move Piker skills to `.agents` discovery 2026-09-08 00:35:01 -04:00
20260908T043134Z_f148fbcc_prompt_io.raw.md Move Piker skills to `.agents` discovery 2026-09-08 00:35:01 -04:00
20261021T224421Z_507c75c6_piker_pin_prompt_io.md Select `piker_pin` and keep `polars` below 2.0 2026-10-21 19:16:14 -04:00
20261021T224421Z_507c75c6_piker_pin_prompt_io.raw.md Select `piker_pin` and keep `polars` below 2.0 2026-10-21 19:16:14 -04:00
20261022T212248Z_dc618229_ib_recovery_prompt_io.md Document bounded IB recovery and downstream replay 2026-10-23 11:36:29 -04:00
20261022T212248Z_dc618229_ib_recovery_prompt_io.raw.md Document bounded IB recovery and downstream replay 2026-10-23 11:36:29 -04:00
20261028T160846Z_7242dcb9_websocket_close.md .data: reconnect after websocket reader close errors 2026-10-28 12:48:06 -04:00
20261028T160846Z_7242dcb9_websocket_close.raw.md .data: reconnect after websocket reader close errors 2026-10-28 12:48:06 -04:00
20261028T165638Z_b95e7c79_reconnect_logging.md .data: expose websocket reconnect progress at INFO 2026-10-28 13:13:26 -04:00
20261028T165638Z_b95e7c79_reconnect_logging.raw.md .data: expose websocket reconnect progress at INFO 2026-10-28 13:13:26 -04:00
20261028T180856Z_032580bf_timeout_phase.md Distinguish websocket receive and relay timeouts 2026-10-28 14:35:57 -04:00
20261028T180856Z_032580bf_timeout_phase.raw.md Distinguish websocket receive and relay timeouts 2026-10-28 14:35:57 -04:00