Files
ngit-grasp/tests/common
DanConwayDev 550d2dd5dc test(lifecycle): bound each observable wait including its query
The merged wait helper checked elapsed time only after awaiting its
condition, so a stuck query could defeat the advertised deadline.
Apply Tokio's timeout to the whole polling future while keeping the
existing condition, polling interval and diagnostic message.

Add a paused-time regression with a permanently pending condition and
an outer guard. It fails if the helper lacks its own deadline, without
requiring wall-clock sleeps or hanging the test runner. Production
relay behavior and existing test assertions are unchanged.

Validation: the targeted regression, formatting and all-target Clippy
pass. Three complete workspace runs follow this commit.

Assisted-by: Codex (GPT-6)
2026-09-21 08:31:12 +00:00
..