piker/piker
Gud Boi 78e7a91a6e Fix IB `MethodProxy` response routing
`open_client_proxy()` broadcast its one-slot linked channel to an
always-running status relay and an idle method receiver. Status
traffic advanced only the relay, so the first lazy contract lookup
for an uncached order raised `Lagged` before receiving its
response.

Give `relay_client_proxy_messages()` sole receive ownership. Route
tagged responses from concurrent caller tasks into their per-`mid`
slots while each proxy context retains its own channel and relay.

Deats,
- log stale responses with their original method name;
- warn when unresolved-request metadata exceeds its bounded limit;
- drop late responses after caller cancellation;
- preserve the reconnect design note and message-case rationale;
- accept clean channel EOF during proxy teardown;
- cover idle status, concurrency, cancellation and EOF paths.

Prompt-IO: ai/prompt-io/opencode/20260811T205826Z_06d5ea5d_prompt_io.md

(this patch was generated in some part by `opencode` using `gpt-5.6-sol` (`openai`))
2026-10-11 00:44:55 -04:00
..
accounting Fix `pytest` config-dir isolation in subactors 2026-10-07 03:10:41 -04:00
brokers Fix IB `MethodProxy` response routing 2026-10-11 00:44:55 -04:00
clearing Preserve exact `piker` logger namespaces 2026-10-07 03:10:41 -04:00
cli Fix endpoint config and daemon startup from PR94 review 2026-10-10 14:20:52 -04:00
data Update `tractor` private-API refs across codebase 2026-10-07 03:10:41 -04:00
fsp Use `tractor.ipc._shm` types directly across codebase 2026-03-17 18:00:29 -04:00
service Fix endpoint config and daemon startup from PR94 review 2026-10-10 14:20:52 -04:00
storage Update `tractor` private-API refs across codebase 2026-10-07 03:10:41 -04:00
testing Pass a config `tmp_dir: Path` to the runtime when testing 2023-03-09 15:37:43 -05:00
toolz Delegate `.toolz.open_crash_handler()` to `tractor.devx` 2024-01-16 10:26:38 -05:00
tsp Update `tractor` private-API refs across codebase 2026-10-07 03:10:41 -04:00
ui Fix endpoint config and daemon startup from PR94 review 2026-10-10 14:20:52 -04:00
watchlists Add license headers to pertinent files 2020-11-06 12:23:14 -05:00
__init__.py Start `piker.service` sub-package 2023-03-09 15:37:42 -05:00
_cacheables.py Move `._cacheables.open_cached_client()` into `.brokers` pkg mod 2023-06-27 13:41:47 -04:00
calc.py Lul, adhere to returning `str`s in `humanize()` 2022-01-25 07:57:01 -05:00
config.py Fix `pytest` config-dir isolation in subactors 2026-10-07 03:10:41 -04:00
log.py Preserve exact `piker` logger namespaces 2026-10-07 03:10:41 -04:00
types.py Point `.types.Struct` to `tractor.msg.pretty_struct` 2026-02-22 16:07:53 -05:00