piker/tests
Gud Boi a4d83e2a36 Restore shared IB quote ownership on the landing pin
Two consumers of one IB contract can race for the same tick
when the first owns the raw quote channel. Restore the
symbol-keyed channel from piker 4af885d9 (INUSE eb0514c3).
The feed hunk has the same patch ID as the original.

Deats,
- Keep one upstream subscription until the last caller exits.
  Each caller gets its own child from `chan.subscribe()`.
- Restore the original broadcast test under `tests/providers/`.
  Its contents match the original blob byte for byte.

Why revisit the backout,
- Piker 635314c7 first replayed the patch. Piker 72d0bdad
  backed it out after quote restart could kill the actor on
  Tractor b64c89f0. Retain that commit's restart regression.
- Piker cb5e81d4 advanced the lock to Tractor 8fe574c1.
  The feed-reuse slice already uses that revision.

Original-piker-commit: 4af885d90f
Prompt-IO: ai/prompt-io/opencode/20260813T230744Z_ddac3553_prompt_io.md

(this original patch was generated in some part by `opencode`
using `gpt-5.6-sol` (`openai`))
(this commit msg was generated in some part by `Codex` using
`GPT-6` (`OpenAI`))
2026-12-02 15:40:42 -05:00
..
_inputs Add first account cumsize test; known to fail Bo 2023-07-14 17:54:13 -04:00
providers Restore shared IB quote ownership on the landing pin 2026-12-02 15:40:42 -05:00
conftest.py Clean test-owned SHM leaks in `pytest` 2026-11-11 11:24:45 -05:00
test_accounting.py Fix `SymbologyCache.search()` key matching 2026-11-27 08:53:47 -05:00
test_backfill_audit_snippet.py Add `xonsh` backfill qualification workflow 2026-11-11 11:36:45 -05:00
test_binance.py Harden Binance USD-M feed startup 2026-11-06 15:40:58 -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_dpi_font.py fixed spacing 2026-11-14 15:41:51 -05:00
test_ems.py Port service+tests to latest `tractor` APIs 2026-10-07 03:10:41 -04:00
test_ems_broadcast.py .clearing: backport owned dark quote subscriptions 2026-10-23 11:36:02 -04:00
test_ems_trade_events.py Preserve IB order state through notices and late fills 2026-11-27 09:21:25 -05:00
test_feed_actor_e2e.py Test persistent feed reuse across IPC subscriptions 2026-11-27 10:37:36 -05:00
test_feed_aliases.py Test persistent feed reuse across IPC subscriptions 2026-11-27 10:37:36 -05: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_fsp_momo.py Formalize `FspStream` and fix builtin call contracts 2026-11-14 17:18:37 -05:00
test_fsp_sync.py Skip unchanged realtime FSP redraws 2026-11-14 17:18:37 -05:00
test_gap_overlays.py Test gap dialogs through a real `tractor` actor 2026-11-14 16:04:10 -05:00
test_history_backfill.py Factor and bound synthetic SHM null repair 2026-11-13 17:29:30 -05:00
test_ib_broker.py Fix string errors in `.ib.broker` relay 2026-11-13 17:13:23 -05:00
test_ib_history.py Use IB UTC syntax for history `endDateTime` 2026-11-11 18:04:05 -05:00
test_ib_method_proxy.py Raise on IB socket disconnects in proxy and trades 2026-11-13 17:17:58 -05:00
test_ib_quote_restart.py .ib.feed: backport no-data request boundaries 2026-10-23 11:35:31 -04:00
test_ib_symbols.py Fix IB metadata lookup without a supplied proxy 2026-11-27 10:37:18 -05:00
test_ib_trade_events.py Preserve IB order state through notices and late fills 2026-11-27 09:21:25 -05:00
test_ldshm.py Own gap overlays in chart-local `GapOverlayMngr` 2026-11-14 16:04:10 -05:00
test_logging.py .data: expose websocket reconnect progress at INFO 2026-11-06 15:40:58 -05:00
test_questrade.py Spurious first-draft of EG collapsing 2026-01-06 22:27:58 -05:00
test_services.py .data: cut feed layer over to `datad` actors 2026-11-09 17:05:43 -05:00
test_shm_cleanup.py Clean test-owned SHM leaks in `pytest` 2026-11-11 11:24:45 -05:00
test_startup.py Fix endpoint config and daemon startup from PR94 review 2026-10-10 14:20:52 -04:00
test_storage_audit.py Repair first-slot OHLC sentinels in `NativeDB` 2026-11-11 18:04:16 -05:00
test_storage_nativedb.py Expose storage state through `piker store` 2026-11-12 09:48:06 -05:00
test_store_cli.py Simplify `store` series and SHM discovery 2026-11-12 09:48:09 -05:00
test_tsp_analysis.py .tsp: report non-positive timestamp steps 2026-11-10 14:32:23 -05:00
test_watchlists.py Capture the right logger 2019-02-10 17:29:08 -05:00
test_websocket.py Distinguish websocket receive and relay timeouts 2026-11-06 15:40:58 -05:00