piker/piker/tsp
Gud Boi 51795a4e07 Contain provider failures during SHM gap repair
Partially backport only the `get_hist()` exception catch from
0846cbd4a4, authored by goodboy
<goodboy_foss@protonmail.com>. Keep the existing gap fallback.

A timed-out IB query raises `NoData` from null-segment repair.
Letting it escape cancels sibling history and live quote tasks
while `pikerd` can remain alive. Catch `NoData` and
`DataUnavailable` locally and stop querying this repair pass.

Add a regression using real null detection and a waiting sibling
in the same nursery. Both provider failures must return without
canceling the sibling. The two cases failed before this catch;
the focused history files passed 17 tests with it.

Partial-backport-of: 0846cbd4a4
Prompt-IO: ai/prompt-io/20261106T185628Z_495c0915_215e9b_prompt_io.md

(this patch was generated in some part by `codex` (`openai`))
2026-11-06 15:20:58 -05:00
..
__init__.py Mv `markup_gaps()` to new `.tsp._annotate` mod 2026-02-22 22:08:34 -05:00
_anal.py .tsp: drop the single-null debugger stop 2026-10-23 11:36:11 -04:00
_annotate.py Update `tractor` private-API refs across codebase 2026-10-07 03:10:41 -04:00
_dedupe_smart.py Add vlm-based "smart" OHLCV de-duping & bar validation 2026-02-22 22:08:34 -05:00
_history.py Contain provider failures during SHM gap repair 2026-11-06 15:20:58 -05:00