Files
stack/agents/magica/work/queue-329/gate/cli-session-cli.test.txt

27 lines
1.7 KiB
Plaintext
Raw Permalink Blame History

This file contains ambiguous Unicode characters
This file contains Unicode characters that might be confused with other characters. If you think that this is intentional, you can safely ignore this warning. Use the Escape button to reveal them.
command: ["node", "--test", "/home/jwoltje/.t3/worktrees/mosaic-stack/magica-row329/packages/cli/tests/session-cli.test.mjs"]
TMPDIR: /mnt/storage/scratch/tmp/t0MVDb
begin: {"utc": "2026-10-24T20:21:15.548+00:00", "load1": "5.86"}
launch nice: 19
✔ session list/show/open select one session without changing the saved default (4.81808ms)
✔ create requires a reusable operation key and returns the broker identity (1.654326ms)
✔ invalid/foreign session selection never falls back to the default or opens a session (1.847599ms)
✔ unsupported clear refuses with a reason and never opens or creates a replacement (0.658044ms)
✔ clear waits by operation reads only, keeps revision, then reports pending at 30s (0.843864ms)
✔ count output distinguishes exact zero, lower bounds and unavailable collection (0.175076ms)
✔ session CLI real broker: create/list/open keeps default and selectors isolated (26.086361ms)
✔ explicit --session on thread reads, opens and talk never drops the selected id (2.764042ms)
✔ repeating clear with a recorded operation queries it and never sends a new revision (0.395844ms)
✔ new CLI surface refuses forged agent identity before reaching transport (0.326606ms)
✔ cancel requires confirmation, uses the clear op and accepts cancelled before or after retirement (0.795911ms)
✔ cancelled operation is terminal: clear polling stops without another write (0.355425ms)
✔ routed message cancellation prints its stored receipt and never waits for a reply (1.158879ms)
✔ 272 N2: reusing another session clear key gives a precise refusal without a write (0.342004ms)
ℹ tests 14
ℹ suites 0
ℹ pass 14
ℹ fail 0
ℹ cancelled 0
ℹ skipped 0
ℹ todo 0
ℹ duration_ms 172.154649