command: ["node", "--test", "/home/jwoltje/.t3/worktrees/mosaic-stack/magica-row329/packages/bus/tests/gitea-migration.test.mjs"]
TMPDIR: /mnt/storage/scratch/tmp/oEntjx
launch nice: 19
✔ 3j copy migrates to 3k: every row kept, and sqlite_master gains only the two tables and their keys (93.571039ms)
✔ a 3j→3k step that fails partway leaves the store at 3j with every row and the schema intact (111.532457ms)
✔ the 3j engine refuses a migrated store, migrating or not, and leaves it as it was (91.980477ms)
✔ gitea_users: one user per business and agent, an id above 0, a 16-hex nonce and a real decision (11.362717ms)
✔ gitea_grants: one grant per agent, a projects array, a token id above 0, and only for a recorded user (12.796298ms)
ℹ tests 5
ℹ suites 0
ℹ pass 5
ℹ fail 0
ℹ cancelled 0
ℹ skipped 0
ℹ todo 0
ℹ duration_ms 406.14076
