Files
stack/agents/magica/work/queue-329/gate/bus-threads.test.txt

32 lines
2.3 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/bus/tests/threads.test.mjs"]
TMPDIR: /mnt/storage/scratch/tmp/oEntjx
launch nice: 19
✔ REQ-ROLE-2 REQ-THREAD-1: one holder per thread, through the broker and the trigger (46.868866ms)
✔ REQ-ROLE-2 REQ-THREAD-1: the 3e triggers refuse writes that skip the broker (67.828964ms)
✔ REQ-MSG-1: a message to or from the assistant names its thread, or is refused (33.882495ms)
✔ REQ-MSG-1: the chief of staff's reply comes back to the thread that sent the work (634.441987ms)
✔ REQ-MSG-1: a reply can't carry one thread instance's thread to another thread instance (24.523741ms)
✔ REQ-THREAD-1 REQ-USER-2: one thread's messages never reach another thread's holder (31.47301ms)
✔ REQ-LAUNCH-1: a message to a thread with no holder waits, and the next holder gets it (33.403708ms)
✔ REQ-THREAD-2 REQ-LAUNCH-1: threadIdle releases only a thread with nothing waiting, and only for its holder (34.276814ms)
✔ REQ-THREAD-2 REQ-LAUNCH-1: a message delivered to a run that ended unread doesn't hold up the next holder (29.449871ms)
✔ REQ-ROLE-2 REQ-THREAD-1 Q169: a role.revoke the human approved ends every thread run of the assistant (26.488677ms)
✔ Q169 REQ-USER-2: assistant.stop ends the human's own assistant thread runs, and only the human's (43.338206ms)
✔ REQ-USER-2: the human verbs refuse another owner's thread (29.293624ms)
✔ REQ-THREAD-1: thread.create refuses when the business has no thread instance or more than one (23.534151ms)
✔ REQ-ORG-2: projects and threads are named once, and the repo names a business project (27.64076ms)
✔ REQ-THREAD-2: thread.messages returns the thread's history in pages and writes nothing (95.061368ms)
✔ project.create refuses a repository name without its matching repo before any write (19.000076ms)
✔ project.create keeps unrelated names with and without a repository (13.082013ms)
✔ C2-09a: explicit creative instances bind independent threads, default sessions and holders (48.897298ms)
✔ C2-09a: explicit missing, non-thread and malformed selectors create no thread or session (20.515547ms)
✔ C2-09a: creative bindLaunch without a thread refuses thread-required (10.265636ms)
ℹ tests 20
ℹ suites 0
ℹ pass 20
ℹ fail 0
ℹ cancelled 0
ℹ skipped 0
ℹ todo 0
ℹ duration_ms 1382.073299