- Guard the status parse in test_sampling's wait_for_vector_sync with
try/except (AttributeError, IndexError, ValueError) -> {} and read status
fields via .get() with safe defaults (pending defaults to 1 = "not done"), so
a transient empty/error status response keeps polling instead of raising and
an empty dict never triggers a false break.
- Document the idle-signal else branch: idle + pending==0 is also the initial
empty state, so prefer passing search_term.
Co-Authored-By: Claude Opus 4.8 (1M context) <noreply@anthropic.com>