mirror of
https://relay.ngit.dev/npub15qydau2hjma6ngxkl2cyar74wzyjshvl65za5k5rl69264ar2exs5cyejr/ngit-grasp.git
synced 2026-10-05 15:08:24 +00:00
The standalone receive-pack streaming test expected synchronous directory removal and omitted the server's maintenance worker. Deferred staging cleanup therefore left the fixture waiting forever even though the production server starts that worker. Start the real worker with the handler's lock map and wait with a bounded deadline for empty-view removal. Also assert that the staging registry is empty. The fake Git writes no objects, so let its repack and prune commands complete as no-ops. Preserve the assertion that receive-pack streams progress while the repository remains available and the subprocess is still running. This changes test infrastructure only, not production cleanup or timeouts. Validation: all four streaming tests and the full ngit-grasp suite pass (3621 tests); formatting and diff checks pass. CI on the production parent identified the original immediate-removal assertion as its failing test. Assisted-by: GPT-6