mirror of
https://relay.ngit.dev/npub15qydau2hjma6ngxkl2cyar74wzyjshvl65za5k5rl69264ar2exs5cyejr/ngit-grasp.git
synced 2026-10-05 23:18:24 +00:00
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>