command: ["node", "--test", "/home/jwoltje/.t3/worktrees/mosaic-stack/magica-row329/packages/bus/tests/fire-revokes-grants.test.mjs"]
TMPDIR: /mnt/storage/scratch/tmp/oEntjx
launch nice: 19
✔ row 281 T2: a fire with host grants on two hosts and a Gitea grant answers with a job, then revokes all three (276.445299ms)
✔ row 281 T3 (sage-2575): a delete with grants takes two requests: the first starts the job, the next completes (257.607628ms)
✔ row 281 T3b (Q2): a delete whose job refuses on host B; the retry refuses grant-revoke-failed and revokes only B and Gitea (255.578943ms)
✔ row 281 T3b: B cleared by hand with hosts.revoke; the next delete starts a job for Gitea and the leftover line only (234.76404ms)
✔ row 281 T3c (sage-2575 condition 4): a delete of an instance with no grant completes in one request (66.588821ms)
✔ row 281 T4: host B unreachable in a fire: the job refuses, A stays revoked, B and Gitea untouched; a repeat completes (230.096179ms)
✔ row 281 T4b (Q1): a line a manual hosts.revoke left on C is removed by the fire, with its close (104.619417ms)
✔ row 281 T4b (Q1): with C unreachable, the fire completes and names the line in grantsLeft (104.701275ms)
✔ row 281 T5: Gitea's admin token can't be checked: the job refuses with the Gitea grant intact (204.441401ms)
✔ row 281 T5b (N1): a failed token DELETE refuses gitea-left; the repeat retries only this agent's entries (350.705899ms)
✔ row 281 T6 (sage-2574): a host decision approved before the fire and run after it ends revoked, with nothing applied (72.617176ms)
✔ row 281 T6b (sage-2574): a Gitea decision approved before the fire and run after it ends revoked before any Gitea write (91.236721ms)
✔ row 281 T6c: a host executor in flight aborts and ends revoked; a Gitea executor in flight is awaited and leaves no token (271.277812ms)
✔ row 281 T6d (B1): undecided host and Gitea decisions are in the set, and approved after the fire both end revoked (103.044896ms)
✔ row 281 T6e (B1): a grant raise refuses instance-fired while firing and after the fire, goes through after a rehire, and refuses grant-revoke-running during a delete job (120.748921ms)
✔ row 281 T7: an instance with no grant fires as today, synchronously, with the same events (64.160348ms)
✔ row 281 T9 (B3): one step G per agent; the manual verbs refuse while it runs, and sweep names it running (234.753132ms)
✔ row 281 T10 (B2): the fire and the delete answer while their jobs are held, and the broker answers other verbs (228.236439ms)
✔ row 281 T11 (C1): a fire's job completes after the chief's run ends and processing halts (106.75032ms)
✔ row 281 T12 (C1, N7): a step B refusal in the job is fire.failed, and the repeat runs B and C synchronously (82.443815ms)
✔ row 281 T13 (N4): a restart records each held job interrupted once, with one message each; an ended job gets none (157.436021ms)
✔ row 281 T14 (N1, sage-2653): a host removed under an undecided decision stops the fire on host-unknown; the human's no closes it, and the repeat fire has no job (69.402176ms)
✔ row 239 T4: a refusal after the writer's revoke is named -revoked, in the job's fire.failed and notice, a synchronous fire and a delete (103.872625ms)
✔ row 239 T4b: an unmarked step B refusal keeps its code, and the notice says nothing of the tokens (90.666822ms)
ℹ tests 24
ℹ suites 0
ℹ pass 24
ℹ fail 0
ℹ cancelled 0
ℹ skipped 0
ℹ todo 0
ℹ duration_ms 3991.719131
