command: ["node", "--test", "/home/jwoltje/.t3/worktrees/mosaic-stack/magica-row329/packages/bus/tests/land.test.mjs"]
TMPDIR: /mnt/storage/scratch/tmp/oEntjx
launch nice: 19
✔ REQ-DEC-2: a merge-gate raise its arbiter resolved lands through the host op: checkLand answers the facts and a ticket, records nothing, and recordLand spends the decision once (42.116778ms)
✔ checkLand refuses on the decision and the review (39.192806ms)
✔ REQ-LAND-1: a gated merge decision refuses not-authorized, cited and approved by the arbiter or uncited and approved by the human (97.041865ms)
✔ REQ-LAND-1: a within-role merge grant refuses not-authorized at the land (25.783942ms)
✔ a cross-role merge that routes to the human, because merge-gate is its own arbiter, lands on the human's CLI answer (26.348951ms)
✔ a merge option with no first line refuses no-subject, as land-work does (24.292282ms)
✔ checkLand refuses with land-work's codes past the authority check, and a decision raised for refactor never lands (65.77898ms)
✔ a ticket outlives the run that asked, and recordLand checks the task again (30.468791ms)
✔ two tickets on one decision: the first recordLand lands, the second refuses decision-consumed and records nothing (31.8988ms)
✔ landRefused files the code on the task, tells the role only with notify, and ends the ticket (34.281789ms)
✔ landHeld is true only for an approved, unspent cross-role merge decision this role raised for a task in this thread (42.003595ms)
✔ landHolders lists a merge decision exactly while landHeld is true for its non-thread instance, in decision order (47.122026ms)
✔ landHolders leaves out a thread instance's decision, even one raised before its role became one (26.839884ms)
✔ landRelease releases the holding run by land-relaunch once it has asked message.receive and nothing delivered to it is unread, and waiting messages go to the next holder (42.731787ms)
✔ a landing run started after the resolution passes checkLand for its held decision before any message.receive, and lands it (31.505683ms)
✔ the bus process answers landHolders and landRelease from their own lines, not as credentialStatus (170.382821ms)
✔ usage.begin with a decision id needs it held for the run's instance, usage.end needs the begin, and the limit checks see the landing turn (35.573784ms)
✔ no run may write the action.allowed for git.merge.protected itself (17.825151ms)
ℹ tests 18
ℹ suites 0
ℹ pass 18
ℹ fail 0
ℹ cancelled 0
ℹ skipped 0
ℹ todo 0
ℹ duration_ms 923.100321
