piker/piker/brokers
Gud Boi 47a7cf5502 Port service+tests to latest `tractor` APIs
Continue the `repair_tests`-branch mission (already merged
in this stack's ancestry, see f4c4f1e2 which ported
`conftest.py`) by fixing the remaining drift breakage vs.
`tractor` git `main`; without these NOTHING boots since the
`tractor.Address` port in 604e5fcf.

Deats,
- normalize reg addrs via `wrap_address()` in
  `open_pikerd()` before `.unwrap()`-ing; entries may be
  raw `tuple`s when passed in from (test) client code.
- port `check_for_service()` to `query_actor(regaddr=)`
  (was `arbiter_sockaddr=`) incl. its 2-tuple yield and
  the now-required `open_registry(addrs=)` arg.
- `wait_for_actor(registry_addr=)` + `.chan.raddr.unwrap()`
  raw-tuple compares in `test_runtime_boot` and
  `ensure_service()`.
- update `run_test_w_cancel_method()` for modern `tractor`
  cancel semantics: self-requested sub-service cancels are
  absorbed (no `ContextCancelled` raised to the opener) and
  single-exc groups collapse to a bare KBI.
- `RemoteActorError.boxed_type` (was `.type`) and
  `Position.cumsize` (was `.size`) renames in tests.
- bump the paper-EMS startup budget 9 -> 19s; it includes
  a live (kraken) symbology fetch so needs net headroom.
- woops, add the missing comma in `.deribit.api`'s
  `tractor.trionics` import tuple..

(this patch was generated in some part by [`claude-code`][claude-code-gh])
[claude-code-gh]: https://github.com/anthropics/claude-code

Co-Authored-By: Claude Fable 5 <noreply@anthropic.com>
2026-06-09 17:25:09 -04:00
..
binance Move `reg_err_types` imports to module-level 2026-03-30 13:25:41 -04:00
deribit Port service+tests to latest `tractor` APIs 2026-06-09 17:25:09 -04:00
ib ib: attempt to REPL closed connection events 2026-06-09 14:03:41 -04:00
kraken Clean up `TooFastEdit` remnants and ws-token flow 2026-04-16 13:30:00 -04:00
__init__.py Add `MarketNotFound` exc and improve binance fqme error 2026-03-24 20:21:29 -04:00
_daemon.py Drop info-level `.pause()`-es used while devving 2026-02-23 13:26:46 -05:00
_util.py Add `MarketNotFound` exc and improve binance fqme error 2026-03-24 20:21:29 -04:00
cli.py Pass `loglevel` down through `.data` callstack 2026-02-23 12:22:48 -05:00
core.py Use `__name__` for loggers across most sub-mods 2026-02-23 12:22:48 -05:00
data.py Update `tractor` private-API refs across codebase 2026-03-24 20:21:29 -04:00
kucoin.py Update to latest `KucoinMktPair` spec 2025-02-12 18:08:40 -05:00
questrade.py Register all custom excs with `tractor` IPC 2026-03-24 20:21:29 -04:00
robinhood.py Use `__name__` for loggers across most sub-mods 2026-02-23 12:22:48 -05:00