piker/piker/ui
Gud Boi cefbc74671 .data: cut feed layer over to `datad` actors
The topology flip: all data-feed consumers now route to the
new `datad.<broker>` sibling daemon; `brokerd` becomes
trading-only and is ONLY ever booted lazily by `emsd`'s
`open_brokerd_dialog()` (see prior commit). Chart-only and
paper sessions run with zero (live, credentialed) `brokerd`
procs B)

Deats,
- `open_feed()` -> `maybe_spawn_datad()` (NB: imported
  relative-direct from `._daemon` to dodge a partial-init
  cycle via `piker.service`); flip the `open_feed_bus()`
  actor-name assert to `'datad'`; comment sweep.
- slim `_setup_persistent_brokerd()` to a trading-only
  fixture: console logging + pinned-open ctx; the feed-bus
  alloc moves to `_setup_persistent_datad()` and backend
  `open_trade_dialog()` ctxs own their own task trees.
  (the `piker ledger` ad-hoc actor enters this same slimmed
  fixture - exactly what it needs.)
- repoint data-flavoured spawn sites to `maybe_spawn_datad`:
  `.ui._app` symbol-search (+ rename
  `install_brokerd_search` -> `install_datad_search`),
  `.brokers.core.symbol_search()`, `.brokers.cli`
  `brokercheck`/`record`, legacy kivy `.ui.cli` +
  `option_chain`'s `wait_for_actor()`.
- invert `tests.test_services` expectations: feed/EMS-paper
  flows must spawn `datad.kraken` and `paperboi.kraken`
  with an explicit negative assert that NO `brokerd.kraken`
  service task exists.

(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
..
kivy .data: cut feed layer over to `datad` actors 2026-06-09 17:25:09 -04:00
quantdom Drop quantdum legend item 2021-05-24 12:23:02 -04:00
__init__.py Port all `.ui*` submods to new `.ui.qt` imports 2024-05-01 14:33:10 -04:00
_anchors.py Port all `.ui*` submods to new `.ui.qt` imports 2024-05-01 14:33:10 -04:00
_annotate.py Add a `GapAnnotations` path-renderer 2026-03-17 21:15:31 -04:00
_app.py .data: cut feed layer over to `datad` actors 2026-06-09 17:25:09 -04:00
_axes.py Gate `size_to_values()` on macOS in `_axes.py` 2026-03-24 20:21:29 -04:00
_chart.py Use `tractor.ipc._shm` types directly across codebase 2026-03-17 18:00:29 -04:00
_cursor.py Add order-cancel debugging and multiline kbd logs 2026-02-23 12:22:48 -05:00
_curve.py Rm unused import in `.ui._curve` 2026-02-22 16:05:52 -05:00
_dataviz.py Use `tractor.ipc._shm` types directly across codebase 2026-03-17 18:00:29 -04:00
_display.py Use `tn` for nursery vars in UI modules 2026-04-01 14:05:08 -04:00
_editors.py .ui._editors: log multiline styling and re-leveling 2026-03-17 21:15:31 -04:00
_event.py Adjust to `trio`'s strict eg nurseries throughout! 2026-01-06 22:27:58 -05:00
_exec.py Add global UI font-size zoom scaling (from @dnks) 2026-03-17 21:15:19 -04:00
_feedstatus.py Adjust feed status fields/display-pane to new actor-ID 2026-01-06 22:27:58 -05:00
_forms.py Add global UI font-size zoom scaling (from @dnks) 2026-03-17 21:15:19 -04:00
_fsp.py Use `tractor.ipc._shm` types directly across codebase 2026-03-17 18:00:29 -04:00
_icons.py Port all `.ui*` submods to new `.ui.qt` imports 2024-05-01 14:33:10 -04:00
_interaction.py Add order-cancel debugging and multiline kbd logs 2026-02-23 12:22:48 -05:00
_l1.py Fix `Qt6` types for new sub-namespaces 2026-02-22 16:03:19 -05:00
_label.py Add global UI font-size zoom scaling (from @dnks) 2026-03-17 21:15:19 -04:00
_lines.py .ui._lines: drop unused graphics-item import 2026-03-17 21:15:31 -04:00
_notify.py ARRG, disable `dunst` notifications for now in order mode 2023-05-09 14:49:26 -04:00
_ohlc.py Port all `.ui*` submods to new `.ui.qt` imports 2024-05-01 14:33:10 -04:00
_orm.py Adjust `.ui` modules to new set-style "optional" annots 2023-03-10 18:20:22 -05:00
_overlay.py Facepalm, align overlay plot view exactly to parent 2023-03-10 18:20:22 -05:00
_pg_overrides.py Fix `._pg_overrides` import cycle caused by our `Axis` override 2023-12-22 12:05:18 -05:00
_position.py Add global UI font-size zoom scaling (from @dnks) 2026-03-17 21:15:19 -04:00
_remote_ctl.py Add batch-submit API for gap annotations 2026-03-17 21:15:31 -04:00
_render.py Port all `.ui*` submods to new `.ui.qt` imports 2024-05-01 14:33:10 -04:00
_search.py improve ui zoom defaults 2026-03-17 21:15:19 -04:00
_signalling.py Change over the UI layer to use `MktPair` 2023-05-24 15:30:17 -04:00
_style.py Improve styling and logging for UI font-size zoom 2026-03-17 21:15:19 -04:00
_widget.py Pass `loglevel` down through `.ui` graphics tasks 2026-02-23 12:22:48 -05:00
_window.py Use walrus `getattr()` over `hasattr()` in `_window` 2026-04-16 13:31:09 -04:00
cli.py .data: cut feed layer over to `datad` actors 2026-06-09 17:25:09 -04:00
order_mode.py Guard `brokerd_msg` set in order-mode dialog loop 2026-04-15 18:54:33 -04:00
qt.py Add global UI font-size zoom scaling (from @dnks) 2026-03-17 21:15:19 -04:00
view_mode.py Adjust all `.tsp` imports to use new sub-pkg 2023-12-18 11:54:28 -05:00