piker/tests/providers
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
..
__init__.py Fix IB idle timer arithmetic for packet nanoseconds 2026-11-13 17:17:58 -05:00
test_history_reservations.py Use IB schedules to reserve missing SHM history 2026-11-13 17:30:24 -05:00
test_ib_broadcast.py Restore shared IB quote ownership on the landing pin 2026-12-02 15:40:42 -05:00
test_ib_schedule.py Retry incomplete IB schedule coverage 2026-11-13 17:30:25 -05:00
test_ib_wrapper_timeout.py Fix IB idle timer arithmetic for packet nanoseconds 2026-11-13 17:17:58 -05:00