piker/tests
Gud Boi f65df6a138 Own gap overlays in chart-local `GapOverlayMngr`
Detect positive timestamp gaps from chart OHLCV SHM with one
vectorized pass. Route local UI and remote callers through one
`GapOverlayMngr` renderer, and key each layer by owner, chart,
FQME and timeframe so remote ctx teardown cannot remove local
graphics.

Deats,
- add tagged `SetGapOverlay` requests and typed
  `GapOverlay` responses;
- keep `remote_annotate()` intact and serve its typed dialog from
  a dedicated `remote_gap_overlays()` Tractor ctx;
- admit `SetGapOverlay`, `GapOverlay`, `list[str]` and `None` in
  the Tractor payload spec, then strictly narrow requests to
  `SetGapOverlay` and replies to `GapOverlay`;
- serialize shared-stream dialogs and correlate request IDs so
  stale replies cannot skew later exchanges;
- rename `AnnotCtl` / `open_annot_ctl()` to `AnnotClient` /
  `open_annot_client()` across storage and annotation callers;
- enable 60s history overlays at startup and toggle the focused
  1s or 60s chart directly with `Ctrl+G`;
- guard redraws by chart, FQME and timeframe; tolerate empty
  arrays and out-of-range lookups; update rect and arrow geometry;
- cover detector geometry, msgpack roundtrips, schema rejection,
  typed stale-FQME errors and renamed storage seams;
- document ownership, refresh, stack landing and live
  qualification.

Prompt-IO: ai/prompt-io/opencode/20260814T032716Z_2aa66c2c_prompt_io.md

(this patch was generated in some part by `opencode` using `gpt-5.6-sol` (`openai`))
2026-08-14 19:03:11 -04:00
..
_inputs Add first account cumsize test; known to fail Bo 2023-07-14 17:54:13 -04:00
conftest.py Clean test-owned SHM leaks in `pytest` 2026-07-27 18:09:03 -04:00
test_accounting.py Draft a gt-one-`.fqme`-in-txns/account-file test 2026-01-07 13:41:07 -05:00
test_backfill_audit_snippet.py Add `xonsh` backfill qualification workflow 2026-07-28 19:41:55 -04: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-03-17 21:15:19 -04:00
test_ems.py Port service+tests to latest `tractor` APIs 2026-06-10 13:11:05 -04:00
test_feeds.py Update feed test fqmes to use `.<venue>` format 2026-03-24 20:21:29 -04:00
test_gap_overlays.py Own gap overlays in chart-local `GapOverlayMngr` 2026-08-14 19:03:11 -04:00
test_history_backfill.py Fix sparse IB history prepends in `ShmArray` 2026-08-05 19:40:07 -04:00
test_ib_history.py Repair IB startup gaps in `ShmArray` 2026-07-29 16:46:52 -04:00
test_ib_method_proxy.py Fix IB `MethodProxy` response routing 2026-08-11 18:46:23 -04:00
test_ldshm.py Own gap overlays in chart-local `GapOverlayMngr` 2026-08-14 19:03:11 -04: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-06-10 13:13:44 -04:00
test_shm_cleanup.py Clean test-owned SHM leaks in `pytest` 2026-07-27 18:09:03 -04:00
test_storage_audit.py Repair first-slot OHLC sentinels in `NativeDB` 2026-07-29 13:30:51 -04:00
test_storage_nativedb.py Expose storage state through `piker store` 2026-07-31 17:26:11 -04:00
test_store_cli.py Simplify `store` series and SHM discovery 2026-08-01 00:34:55 -04:00
test_tsp_analysis.py .tsp: report non-positive timestamp steps 2026-07-24 18:33:06 -04:00
test_watchlists.py Capture the right logger 2019-02-10 17:29:08 -05:00