piker/piker
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
..
accounting Fix `pytest` config-dir isolation in subactors 2026-10-07 03:10:41 -04:00
brokers Adjust to `trio>=0.34.0` invalid `Event` truthy checks 2026-11-06 13:10:50 -05:00
clearing .clearing: backport owned dark quote subscriptions 2026-10-23 11:36:02 -04:00
cli Fix endpoint config and daemon startup from PR94 review 2026-10-10 14:20:52 -04:00
data Adjust to `trio>=0.34.0` invalid `Event` truthy checks 2026-11-06 13:10:50 -05:00
fsp Use `tractor.ipc._shm` types directly across codebase 2026-03-17 18:00:29 -04:00
service Always re-raise in `maybe_spawn_daemon()` handler 2026-10-21 20:50:38 -04:00
storage Update `tractor` private-API refs across codebase 2026-10-07 03:10:41 -04:00
testing Pass a config `tmp_dir: Path` to the runtime when testing 2023-03-09 15:37:43 -05:00
toolz Delegate `.toolz.open_crash_handler()` to `tractor.devx` 2024-01-16 10:26:38 -05:00
tsp Contain provider failures during SHM gap repair 2026-11-06 15:20:58 -05:00
ui Guard `brokerd_msg` set in order-mode dialog loop 2026-11-06 13:46:36 -05:00
watchlists Add license headers to pertinent files 2020-11-06 12:23:14 -05:00
__init__.py Start `piker.service` sub-package 2023-03-09 15:37:42 -05:00
_cacheables.py Move `._cacheables.open_cached_client()` into `.brokers` pkg mod 2023-06-27 13:41:47 -04:00
calc.py Lul, adhere to returning `str`s in `humanize()` 2022-01-25 07:57:01 -05:00
config.py Fix `pytest` config-dir isolation in subactors 2026-10-07 03:10:41 -04:00
log.py Preserve exact `piker` logger namespaces 2026-10-07 03:10:41 -04:00
types.py Point `.types.Struct` to `tractor.msg.pretty_struct` 2026-02-22 16:07:53 -05:00