command: ["timeout", "-k", "10", "1800", "node", "--test", "/home/jwoltje/.t3/worktrees/mosaic-stack/magica-row329/packages/cli/tests/session-clear.test.mjs"]
TMPDIR: /mnt/storage/scratch/tmp/QUDudM
begin: {"utc": "2026-10-24T21:39:19.445+00:00", "load1": "2.36"}
launch nice: 19
usage: {"event":"usage-unknown","business":"acme","run":"rf40e0bed7a1f","instance":"assistant","turn":"2a01c9a2-b954-4d57-9728-6cb49e49e57f","source":"@none","code":"baseline-unknown"}
usage: {"event":"usage-unknown","business":"acme","run":"r44eece72cd0b","instance":"assistant","turn":"1e75ddde-7d81-411d-8ce7-dac11243658c","source":"@none","code":"baseline-unknown"}
✔ REQ-THREAD-2 T4 D7 D8 N6: a clear of a running session stops its drained run once, retires it on the run's end, and starts the successor fresh in its own namespace (1240.957627ms)
usage: {"event":"usage-unknown","business":"acme","run":"r506f47cf8837","instance":"assistant","turn":"7f836b32-4e75-4f84-bcbf-5cb2a956dd8c","source":"@none","code":"baseline-unknown"}
✔ REQ-THREAD-2 T4 D8: a successor start refused capacity-full is held, reported and logged once, and starts when capacity frees (4699.260393ms)
✔ REQ-THREAD-2 T4 D7 Q2: after a restart, a live survivor of the cleared run holds the clear at drained with no signal, and its exit lets it retire (629.595923ms)
usage: {"event":"usage-unknown","business":"acme","run":"r75f4f3fdcec8","instance":"assistant","turn":"34e13213-fc0e-450d-b337-06dd317052cb","source":"@none","code":"baseline-unknown"}
✔ REQ-THREAD-2 T4 D7: a drained run that outlives the stop timeout makes the clear uncertain once, with one signal, and it retires on the run's end (1968.457272ms)
usage: {"event":"usage-unknown","business":"acme","run":"r783f574b1532","instance":"assistant","turn":"7700a535-5487-4098-9a44-a9fd3001f6e7","source":"@none","code":"baseline-unknown"}
✔ REQ-THREAD-2 T4 T6: a bus unavailable at the exit proof and then at retirement holds the clear with no retirement, successor or launch, and it resumes when the bus is back (3148.053889ms)
ℹ tests 5
ℹ suites 0
ℹ pass 5
ℹ fail 0
ℹ cancelled 0
ℹ skipped 0
ℹ todo 0
ℹ duration_ms 11875.165117
