Files
stack/agents/magica/work/queue-329/gate/cli-git-socket.test.txt

37 lines
2.9 KiB
Plaintext
Raw Permalink Blame History

This file contains ambiguous Unicode characters
This file contains Unicode characters that might be confused with other characters. If you think that this is intentional, you can safely ignore this warning. Use the Escape button to reveal them.
command: ["node", "--test", "/home/jwoltje/.t3/worktrees/mosaic-stack/magica-row329/packages/cli/tests/git-socket.test.mjs"]
TMPDIR: /mnt/storage/scratch/tmp/BOsUKY
begin: {"utc": "2026-10-24T20:19:37.101+00:00", "load1": "4.53"}
launch nice: 19
✔ the review loop: the coder pushes and asks, the reviewer fetches and approves, and the task's trail holds each step (930.438933ms)
✔ refusals: no action, non-fast-forward, an unknown commit or request, and a push for another task moves only that task's ref (909.060527ms)
✔ the size cap refuses a push before any byte (270.093301ms)
✔ a fetch over the cap refuses before any byte reaches the reviewer (924.603975ms)
✔ the socket refuses a request with no capability, an unknown one, and a bad request line (369.186969ms)
✔ a rigged clone runs nothing: hooks, fsmonitor, a filter, a gitlink and a symlinked .git/config leave no marker (710.278183ms)
✔ an identity with no role, or of another business, refuses not-a-role and moves no ref (483.429318ms)
✔ a review of a project the business no longer has refuses unknown-project (463.057312ms)
✔ past maxActive connections the socket refuses git-busy, and a hung-up connection frees its slot (237.860725ms)
✔ close() answers host-closing to a connection still sending its request line (235.045189ms)
✔ a bundle that trickles in refuses body-timeout at its deadline and frees its slot (669.70846ms)
✔ a reviewer gone before its bundle was sent is filed fetch-aborted, not as the host's fault (771.134247ms)
✔ a reviewer that hangs up the moment it has the whole bundle was served, not aborted (1595.510274ms)
✔ send: a close after every byte left is served; one that fails a queued write is fetch-aborted (41.658631ms)
✔ a bundle with no bytes for bodyIdle refuses body-timeout long before its deadline (566.154965ms)
✔ send: a close once the loop is past its last chunk is served, and a failed write there is fetch-aborted (24.680637ms)
✔ letGo waits for an answer to leave for at most its cap, then destroys the socket (302.146133ms)
✔ a record that fails and can't be undone refuses rollback-failed, which the host logs (594.637808ms)
✔ land: the squash runs the gate in its own worktree, then main moves and the broker records it (755.415937ms)
✔ land: an arbiter-resolved landing's squash says the arbiter resolved it through the broker (738.752981ms)
✔ land: refusals before the gate answer the role at once and leave main and no worktree (806.550504ms)
✔ land: a failed gate is refused gate-failed with its step, told to the role, and main stays (713.410677ms)
✔ land: a record the broker refuses moves main back, and the landing is refused with the broker's code (729.26011ms)
✔ land: a second landing while one runs refuses land-busy, and close() stops the gate and refuses host-closing (708.235946ms)
ℹ tests 24
ℹ suites 0
ℹ pass 24
ℹ fail 0
ℹ cancelled 0
ℹ skipped 0
ℹ todo 0
ℹ duration_ms 14674.773658