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]>
73 lines
3.4 KiB
Plaintext
73 lines
3.4 KiB
Plaintext
✔ agents: a held role with nothing on the bus is idle; a role session gets the claim rows unchanged (14.749974ms)
|
||
✔ agents: working counts what the holder received and has not read; routed alone is not working (12.712908ms)
|
||
✔ agents: input needed is the role's open decisions routed to the human, gated first, then oldest (21.523376ms)
|
||
✔ agents: working wins over waiting, and Input needed still shows (8.772902ms)
|
||
✔ agents: a new holder doesn't inherit what the last one left unread; decisions stay with the role (10.237821ms)
|
||
✔ agents: state reads only its own business, even for a run name both use (10.496983ms)
|
||
✖ agents: a message the holder released unread is stranded; the next holder gets nothing and cannot read it (10.98424ms)
|
||
✔ agents: a message the holder read is not stranded; one the current holder has not read is not listed (12.496498ms)
|
||
✖ agents: stranded is oldest first and capped at 50 for a role (59.486742ms)
|
||
✔ agents: stranded is per role and per business (20.480728ms)
|
||
✔ agents: a message routed to a held role and not yet received is not stranded (8.046688ms)
|
||
ℹ tests 11
|
||
ℹ suites 0
|
||
ℹ pass 9
|
||
ℹ fail 2
|
||
ℹ cancelled 0
|
||
ℹ skipped 0
|
||
ℹ todo 0
|
||
ℹ duration_ms 241.88664
|
||
|
||
✖ failing tests:
|
||
|
||
test at tests/agents.test.mjs:164:1
|
||
✖ agents: a message the holder released unread is stranded; the next holder gets nothing and cannot read it (10.98424ms)
|
||
AssertionError [ERR_ASSERTION]: Expected values to be strictly deep-equal:
|
||
+ actual - expected
|
||
|
||
[
|
||
{
|
||
at: '2026-10-13T15:54:56.162Z',
|
||
+ from: undefined,
|
||
- from: 'human',
|
||
id: '1d17a7d6-ed07-49ce-ad5d-4eb58027e704',
|
||
run: 'pm-one'
|
||
}
|
||
]
|
||
|
||
at TestContext.<anonymous> (file:///mnt/storage/scratch/researcher/q80-r2/packages/bus/tests/agents.test.mjs:174: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: [ { id: '1d17a7d6-ed07-49ce-ad5d-4eb58027e704', from: undefined, run: 'pm-one', at: '2026-10-13T15:54:56.162Z' } ],
|
||
expected: [ { id: '1d17a7d6-ed07-49ce-ad5d-4eb58027e704', from: 'human', run: 'pm-one', at: '2026-10-13T15:54:56.162Z' } ],
|
||
operator: 'deepStrictEqual',
|
||
diff: 'simple'
|
||
}
|
||
|
||
test at tests/agents.test.mjs:195:1
|
||
✖ agents: stranded is oldest first and capped at 50 for a role (59.486742ms)
|
||
AssertionError [ERR_ASSERTION]: The expression evaluated to a falsy value:
|
||
|
||
assert.ok(stranded.every((m) => m.run === 'pm-one' && m.from === 'human'))
|
||
|
||
at TestContext.<anonymous> (file:///mnt/storage/scratch/researcher/q80-r2/packages/bus/tests/agents.test.mjs:205: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: false,
|
||
expected: true,
|
||
operator: '==',
|
||
diff: 'simple'
|
||
}
|