Files
ngit-grasp/tests/sync
DanConwayDev b58691301b test(sync): make dependency batching regression deterministic
Sequential acceptance publications can cross maintenance ticks and retain
independent retry deadlines, so the Darwin test can fail despite correct
per-pass batching. Replace that timer-dependent integration assertion with
a manager test that seeds both cold dependencies before explicit maintenance.

Observe the actual WebSocket REQ and require both IDs in one filter with the
correct limit. Bound fixture waits and own its task through an abort guard.
Keep existing admission and recovery integration coverage; production sync
behavior and timer settings are unchanged. Document the batching precondition.

Validation: full workspace suite passed (3,566 passed, 16 ignored), batching
regression passed 20 repetitions, and formatting/whitespace checks passed.
Independent review found no blockers. Darwin packaging validation is pending.

Assisted-by: Codex (GPT-6)
2026-09-21 15:01:27 +00:00
..