35 lines
1.3 KiB
Markdown
35 lines
1.3 KiB
Markdown
---
|
|
created_at: 2026-10-28T18:08:56Z
|
|
generated_by:
|
|
harness: opencode
|
|
provider: openai
|
|
model: openai/gpt-6.1-sol
|
|
git_ref: 032580bf
|
|
diff_cmd: git diff HEAD~1..HEAD
|
|
---
|
|
|
|
Added distinct timeout diagnostics for websocket receive starvation
|
|
versus local relay backpressure, preserving the existing timeout,
|
|
counter and reconnect threshold policy.
|
|
|
|
> `git diff HEAD~1..HEAD -- piker/data/_web_bs.py`
|
|
|
|
Track whether proxy_msgs() is awaiting ws.get_message() or
|
|
snd.send(). Report that phase, URL, configured deadline, timeout
|
|
count and reset threshold for every timeout, before the existing
|
|
threshold/reset diagnostic. Capture the configured deadline once
|
|
per operation so the report matches the deadline that elapsed.
|
|
|
|
> `git diff HEAD~1..HEAD -- tests/test_websocket.py`
|
|
|
|
Two real loopback variants use a silent server versus one payload
|
|
and an unconsumed zero-capacity Trio relay. Require the appropriate
|
|
phase and URL on the actual first timeout. All 15 selected
|
|
Binance/websocket cases pass. No live provider was contacted.
|
|
|
|
Read-only tracing found a permissive invalid-venue path: get_mkt_info
|
|
accepts USDM via its usd substring check and preserves that venue
|
|
in MktPair, whereas Client.bars() indexes canonical USDTM pair keys.
|
|
This identifies a potential late failed-startup path, not proof of
|
|
the corrected-chart stall or of leaked producer ownership.
|