command: ["timeout", "-k", "10", "1800", "node", "--test", "/home/jwoltje/.t3/worktrees/mosaic-stack/magica-row329/packages/cli/tests/instances.test.mjs"]
TMPDIR: /mnt/storage/scratch/tmp/bcheNJ
begin: {"utc": "2026-10-24T21:38:24.095+00:00", "load1": "1.96"}
launch nice: 19
organization: {"event":"reload-needs-restart","business":"acme"}
organization: {"event":"reload-needs-restart","business":"acme"}
✔ row 165 CLI: instance add puts an instance in the file, validate exits 0, the log names the human, and the instance binds with no restart (row 194, T1) (177.836128ms)
✔ row 194 CLI: a bus whose boot credential references differ from the file answers restart needed, and doesn't bind the instance (D3 item 3) (86.922953ms)
✔ row 165 CLI: instance set passes the vars file and --no-launch, and a vars-only change needs no restart (145.9191ms)
✔ row 165 CLI: a refusal names its code and why, exits 2 and keeps the bytes (77.969735ms)
✔ row 165 CLI: usage errors exit 4 before any bus call, and an agent session is refused (63.093369ms)
✔ row 165: scripts/mosaic sends business instances, instance and (row 194) veto to packages/cli, and validate still to packages/business (213.295396ms)
✔ row 194 CLI V6: veto keep, unkeep, nohire and hire write through veto.set, the read shows kept and noHire, and a no-op refuses (120.074984ms)
✔ row 194 CLI: the read lists each instance's running run from the bus claims (68.882112ms)
✔ row 194 CLI D1.1 item 5: launch and regenerate poll instance.request and print the run; a done with a refusal exits 3 with its code and the request id (77.007345ms)
✔ row 194 CLI D1.1 item 5: an open request at --wait exits 3 with its id, and a taken one with no done is outcome-unknown (1131.515163ms)
✔ row 194 CLI: a request cancelled by a terminate exits 3 request-cancelled (68.286641ms)
✔ row 194 CLI V3: terminate prints the runs, the cancelled and the taken requests, and nothing held refuses not-held (69.196446ms)
✔ row 194 CLI V5: delete polls to the transaction and the read lists the name retired; workspace-rename-failed names the transaction (115.585844ms)
✔ row 239 T5 CLI: a delete closed -revoked says the tokens may already be revoked; a plain revision-conflict doesn't (89.065508ms)
✔ row 194 CLI: lifecycle and veto usage errors exit 4 before any bus call (60.228449ms)
ℹ tests 15
ℹ suites 0
ℹ pass 15
ℹ fail 0
ℹ cancelled 0
ℹ skipped 0
ℹ todo 0
ℹ duration_ms 2711.934247
