Replace assert with warn for no-gaps in `.storage.cli`

Change `assert aids` to a warning log when no history gaps are found
during `ldshm` gap detection; it is the **ideal case** OBVI. This avoids
crashing the CLI when gap detection finds no issues, which is actually
good news!

Bp

(this commit msg was generated in some part by [`claude-code`][claude-code-gh])
[claude-code-gh]: https://github.com/anthropics/claude-code
Gud Boi 2026-02-14 16:55:27 -05:00
parent 959d04024b
commit f1b27e9696
1 changed files with 7 additions and 1 deletions

View File

@ -447,7 +447,13 @@ def ldshm(
)
# last chance manual overwrites in REPL
# await tractor.pause()
assert aids
if not aids:
log.warning(
f'No gaps were found !?\n'
f'fqme: {fqme!r}\n'
f'timeframe: {period_s!r}\n'
f"WELL THAT'S GOOD NOOZ!\n"
)
tf2aids[period_s] = aids
else: