piker/tests
Gud Boi 72d0bdad5e Back out cached IB quote ownership
Reverse the quote-owner code and mocked-cache test from the
landing replay below. Keep its historical prompt records and
restore the direct-owner `_quote_streams` implementation for #94.

With the pinned `tractor`, the cached owner turns quote restart
teardown into a normal bridge exit, then propagates its injected
`TrioTaskExited` into the consumer and kills the broker actor.
The evaluated downstream branch did not contain this cache patch.

LOCAL DIVERGENCE,
- This is a targeted backout, not a replacement broadcast design.
- Add a real infected-actor quote restart regression, including a
  second RPC on the same actor and subscription/task cleanup.
- Keep the strict callback-cleanliness case visibly red: actor
  survival does not establish clean asyncio completion callbacks.

Downstream replay,
Reintroducing the original cache patch requires qualifying its
owner teardown with the matching `tractor` fix. Do not interpret
this backout as rejecting lexical broadcast subscriptions or as
proving arbitrary concurrent direct-owner callers are safe.

Reverts-code-and-test: 635314c757
Original-equivalent: 4af885d90f
Source-author: goodboy <goodboy_foss@protonmail.com>
Prompt-IO: ai/prompt-io/opencode/20261022T212248Z_dc618229_ib_recovery_prompt_io.md

(this patch was generated in some part by `opencode` using
`gpt-6-astra` (`openai`))
2026-10-23 10:45:03 -04:00
..
_inputs Add first account cumsize test; known to fail Bo 2023-07-14 17:54:13 -04:00
conftest.py Normalize registrar addrs with `wrap_address()` 2026-10-07 03:10:41 -04:00
test_accounting.py Draft a gt-one-`.fqme`-in-txns/account-file test 2026-01-07 13:41:07 -05:00
test_cli.py Skip CLI tests due to questrade dependency for now 2021-05-22 15:12:12 -04:00
test_docker_services.py Skip marketstore docker tests, we're gonna drop it.. 2023-06-27 13:42:08 -04:00
test_ems.py Port service+tests to latest `tractor` APIs 2026-10-07 03:10:41 -04:00
test_feed_broadcast.py .data: isolate cached feed stream consumers 2026-10-21 20:50:38 -04:00
test_feeds.py Update feed test fqmes to use `.<venue>` format 2026-10-07 03:10:41 -04:00
test_ib_method_proxy.py Fix IB `MethodProxy` response routing 2026-10-21 20:50:38 -04:00
test_ib_quote_restart.py Back out cached IB quote ownership 2026-10-23 10:45:03 -04:00
test_logging.py Preserve exact `piker` logger namespaces 2026-10-07 03:10:41 -04:00
test_questrade.py Spurious first-draft of EG collapsing 2026-01-06 22:27:58 -05:00
test_services.py Fix endpoint config and daemon startup from PR94 review 2026-10-10 14:20:52 -04:00
test_startup.py Fix endpoint config and daemon startup from PR94 review 2026-10-10 14:20:52 -04:00
test_watchlists.py Capture the right logger 2019-02-10 17:29:08 -05:00