Base da6f1166, r1 patch applied clean with --index, +/- and context lines identical.
Bus suite 127/127, mutants 15 of 15 killed.
Co-Authored-By: Claude Sonnet 5.5 <[email protected]>
47 lines
2.3 KiB
Plaintext
47 lines
2.3 KiB
Plaintext
✔ agents: a held role with nothing on the bus is idle; a role session gets the claim rows unchanged (13.888453ms)
|
||
✔ agents: working counts what the holder received and has not read; routed alone is not working (13.65915ms)
|
||
✔ agents: input needed is the role's open decisions routed to the human, gated first, then oldest (22.26238ms)
|
||
✔ agents: working wins over waiting, and Input needed still shows (8.987118ms)
|
||
✔ agents: a new holder doesn't inherit what the last one left unread; decisions stay with the role (11.506964ms)
|
||
✔ agents: state reads only its own business, even for a run name both use (10.166438ms)
|
||
✔ agents: a message the holder released unread is stranded; the next holder gets nothing and cannot read it (11.526489ms)
|
||
✖ agents: a message the holder read is not stranded; one the current holder has not read is not listed (11.724248ms)
|
||
✔ agents: stranded is oldest first and capped at 50 for a role (55.948507ms)
|
||
✔ agents: stranded is per role and per business (20.512801ms)
|
||
✔ agents: a message routed to a held role and not yet received is not stranded (7.099627ms)
|
||
ℹ tests 11
|
||
ℹ suites 0
|
||
ℹ pass 10
|
||
ℹ fail 1
|
||
ℹ cancelled 0
|
||
ℹ skipped 0
|
||
ℹ todo 0
|
||
ℹ duration_ms 236.733094
|
||
|
||
✖ failing tests:
|
||
|
||
test at tests/agents.test.mjs:182:1
|
||
✖ agents: a message the holder read is not stranded; one the current holder has not read is not listed (11.724248ms)
|
||
AssertionError [ERR_ASSERTION]: Expected values to be strictly deep-equal:
|
||
+ actual - expected
|
||
|
||
[
|
||
+ '0a5efc06-e6a8-472b-9f55-fc6f9fb482a5',
|
||
'9a1ffff2-368c-4d5e-9eda-6fd8f72b69ed'
|
||
]
|
||
|
||
at TestContext.<anonymous> (file:///mnt/storage/scratch/researcher/q80-r2/packages/bus/tests/agents.test.mjs:192:10)
|
||
at Test.runInAsyncScope (node:async_hooks:226:14)
|
||
at Test.run (node:internal/test_runner/test:1402:25)
|
||
at Test.processPendingSubtests (node:internal/test_runner/test:974:18)
|
||
at Test.postRun (node:internal/test_runner/test:1542:19)
|
||
at Test.run (node:internal/test_runner/test:1467:12)
|
||
at async Test.processPendingSubtests (node:internal/test_runner/test:974:7) {
|
||
generatedMessage: true,
|
||
code: 'ERR_ASSERTION',
|
||
actual: [ '0a5efc06-e6a8-472b-9f55-fc6f9fb482a5', '9a1ffff2-368c-4d5e-9eda-6fd8f72b69ed' ],
|
||
expected: [ '9a1ffff2-368c-4d5e-9eda-6fd8f72b69ed' ],
|
||
operator: 'deepStrictEqual',
|
||
diff: 'simple'
|
||
}
|