Files
ngit-grasp/tests/lifecycle
DanConwayDevandClaude Fable 5.1 625dfa71c2 test(nip09): wait on served state through the recovery suite
The recovery suite paused 300-900 ms after each deletion, re-announcement
and Git push before inspecting served events, holding records and the
restored repository. Deletions and archive recovery run inside the write
policy before the relay replies `OK`; promotion after a Git push
completes in a spawned task.

Drop the pauses that followed an awaited send whose reply already covers
the assertion, and wait on the served state with `wait_until_served`
and `wait_until_not_served` where a deletion, recovery or push changes
it. The restored-repository check waits on the directory itself. The
assertions that follow are unchanged.

Validation: measured against master with the same binaries, 20 unloaded
runs and 30 samples as three concurrent instances under CPU spinners;
see the pull request description.

Assisted-by: Claude Fable 5.1
Co-Authored-By: Claude Fable 5.1 <noreply@anthropic.com>
2026-09-18 14:29:28 +00:00
..