command: ["node", "--test", "/home/jwoltje/.t3/worktrees/mosaic-stack/magica-row329/packages/bus/tests/grant-migration.test.mjs"]
TMPDIR: /mnt/storage/scratch/tmp/oEntjx
launch nice: 19
✔ 3i copy migrates to 3j: every row kept, and sqlite_master gains only the two tables, their keys and the guard (88.711531ms)
✔ a 3i→3j step that fails partway leaves the store at 3i with every row and the schema intact (95.241037ms)
✔ the 3i engine refuses a migrated store, migrating or not, and leaves it as it was (88.785742ms)
✔ A22b, sage-1703: a session-written grant.* row from before the step survives it, and the grant readers ignore it (84.26533ms)
✔ the guard: a grant.* action or operation on action.allowed needs the (NULL, grant) actor (16.050945ms)
✔ hosts: one record per business and host, a ready host has its installer and check, grants need the host (12.776631ms)
ℹ tests 6
ℹ suites 0
ℹ pass 6
ℹ fail 0
ℹ cancelled 0
ℹ skipped 0
ℹ todo 0
ℹ duration_ms 481.267969
