Commit Graph

1 Commits (1cc15352c656da14dbbd7c90390963a9ce62b6c1)

Author SHA1 Message Date
Gud Boi 1cc15352c6 Test shared IB quote restart after both consumers exit
Piker 72d0bdad tested quote restart in a real actor, and
piker 4af885d9 tested two callers against a stubbed channel
cache. Exercise both lifetimes together on Tractor 8fe574c1,
pinned by piker cb5e81d4. Tractor 4dfcf6f6 fixed teardown
when the asyncio producer echoes the bridge's expected
`TrioTaskExited` signal.

Deats,
- Give both consumers the same marked quote through one IB
  subscription. Close each consumer first in turn and send a
  second quote to the survivor.
- Check the final close releases the ticker callback and
  producer. Reopen the subscription, receive a fresh quote,
  then ask the same Tractor actor for its process ID. A
  matching ID confirms the actor still answers after teardown.
- Capture unhandled asyncio completion-callback errors
  separately from exceptions that fail the restart call.
  Run the real bridge with an offline IB market-data source.

(this patch was generated in some part by `Codex` using
`GPT-6` (`OpenAI`))
2026-12-02 17:23:29 -05:00