Commit Graph

1 Commits (3289c26030b829fdd0b513683b6f050679ef6295)

Author SHA1 Message Date
Gud Boi cd1235128d Fix IB metadata lookup without a supplied proxy
`get_mkt_info()` assigned the `open_data_client` factory rather
than calling it when no `MethodProxy` was supplied. Entering that
function with `async with` raised `TypeError`; callers supplying
a proxy took the working `nullcontext()` branch instead.

Instantiate a fresh client context on uncached owned lookups and
retain borrowed-proxy ownership. Document native-name qualification
and annotate the resolver's context/metadata bindings.

Add standalone coverage through the actual decorated resolver,
replacing only client I/O. Check fresh context entry/exit, borrowed
proxy calls, canonical endpoint identity, contract registration and
same-spelling cache hits without further details queries. Unique
request names avoid process-cache collisions between tests.

Keep this backend-path repair independent of feed allocation,
SHM lifetime and alias-registry changes.

(this patch was generated in some part by `opencode` using
`openai/gpt-6-astra` (`openai`))
2026-11-27 10:37:18 -05:00