command: ["node", "--test", "/home/jwoltje/.t3/worktrees/mosaic-stack/magica-row329/packages/bus/tests/access-revoke.test.mjs"]
TMPDIR: /mnt/storage/scratch/tmp/oEntjx
launch nice: 19
✔ R4: the timer sweep after a hand edit ends only the lost user's run; its next call refuses thread-revoked (41.380152ms)
✔ R4: an expiry with no write and no request ends the run at the next timer sweep (31.645712ms)
✔ R4: a downgrade to viewer is a loss (27.86252ms)
✔ R4: another user's request after a hand edit ends the lost user's run, and its own run stays (27.857996ms)
✔ R4: a request reads the access file only when its stamp changed, once per change (26.541593ms)
✔ R4: access.reload ends the lost runs at once for the human; the tester, a reader, an agent and a user are refused (31.147796ms)
✔ R4: threadsState marks revoked: true on the lost user's thread only, a pending message included (21.870168ms)
✔ R4: threadsState after an expiry with no write and no sweep ends the claim before it marks the row revoked (26.348758ms)
✔ R4: a new run of a revoked thread refuses thread-revoked at bind and at claim; a rebind is allowed (21.621371ms)
✔ R4 runtime: a hand edit ends the run at the first timer period, intervalMs is checked, and close stops the timer (66.086813ms)
ℹ tests 10
ℹ suites 0
ℹ pass 10
ℹ fail 0
ℹ cancelled 0
ℹ skipped 0
ℹ todo 0
ℹ duration_ms 486.559171
