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]>
162 lines
6.9 KiB
Plaintext
162 lines
6.9 KiB
Plaintext
✖ agents: a held role with nothing on the bus is idle; a role session gets the claim rows unchanged (13.873899ms)
|
||
✔ agents: working counts what the holder received and has not read; routed alone is not working (12.107001ms)
|
||
✔ agents: input needed is the role's open decisions routed to the human, gated first, then oldest (21.840592ms)
|
||
✔ agents: working wins over waiting, and Input needed still shows (8.829779ms)
|
||
✔ agents: a new holder doesn't inherit what the last one left unread; decisions stay with the role (10.687187ms)
|
||
✔ agents: state reads only its own business, even for a run name both use (10.972897ms)
|
||
✖ agents: a message the holder released unread is stranded; the next holder gets nothing and cannot read it (10.820835ms)
|
||
✖ agents: a message the holder read is not stranded; one the current holder has not read is not listed (9.309512ms)
|
||
✖ agents: stranded is oldest first and capped at 50 for a role (65.325186ms)
|
||
✖ agents: stranded is per role and per business (17.974378ms)
|
||
✖ agents: a message routed to a held role and not yet received is not stranded (8.761726ms)
|
||
ℹ tests 11
|
||
ℹ suites 0
|
||
ℹ pass 5
|
||
ℹ fail 6
|
||
ℹ cancelled 0
|
||
ℹ skipped 0
|
||
ℹ todo 0
|
||
ℹ duration_ms 243.88499
|
||
|
||
✖ failing tests:
|
||
|
||
test at tests/agents.test.mjs:49:1
|
||
✖ agents: a held role with nothing on the bus is idle; a role session gets the claim rows unchanged (13.873899ms)
|
||
AssertionError [ERR_ASSERTION]: Expected values to be strictly deep-equal:
|
||
+ actual - expected
|
||
... Skipped lines
|
||
|
||
[
|
||
'seq',
|
||
'at',
|
||
'business',
|
||
'role',
|
||
...
|
||
'inputNeeded',
|
||
- 'stranded'
|
||
]
|
||
|
||
at TestContext.<anonymous> (file:///mnt/storage/scratch/researcher/q80-r2/packages/bus/tests/agents.test.mjs:58:32)
|
||
at Test.runInAsyncScope (node:async_hooks:226:14)
|
||
at Test.run (node:internal/test_runner/test:1402:25)
|
||
at Test.start (node:internal/test_runner/test:1262:17)
|
||
at startSubtestAfterBootstrap (node:internal/test_runner/harness:387:17) {
|
||
generatedMessage: true,
|
||
code: 'ERR_ASSERTION',
|
||
actual: [
|
||
'seq', 'at',
|
||
'business', 'role',
|
||
'op', 'holder_run',
|
||
'harness', 'address',
|
||
'by', 'reason',
|
||
'decision', 'state',
|
||
'working', 'inputNeeded'
|
||
],
|
||
expected: [
|
||
'seq', 'at',
|
||
'business', 'role',
|
||
'op', 'holder_run',
|
||
'harness', 'address',
|
||
'by', 'reason',
|
||
'decision', 'state',
|
||
'working', 'inputNeeded',
|
||
'stranded'
|
||
],
|
||
operator: 'deepStrictEqual',
|
||
diff: 'simple'
|
||
}
|
||
|
||
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.820835ms)
|
||
AssertionError [ERR_ASSERTION]: Expected values to be strictly deep-equal:
|
||
+ actual - expected
|
||
|
||
+ undefined
|
||
- [
|
||
- {
|
||
- at: '2026-10-13T15:54:56.794Z',
|
||
- from: 'human',
|
||
- id: '8fb72196-1a2e-423e-8ee0-ebec5987d3b6',
|
||
- 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: undefined,
|
||
expected: [ { id: '8fb72196-1a2e-423e-8ee0-ebec5987d3b6', from: 'human', run: 'pm-one', at: '2026-10-13T15:54:56.794Z' } ],
|
||
operator: 'deepStrictEqual',
|
||
diff: 'simple'
|
||
}
|
||
|
||
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 (9.309512ms)
|
||
AssertionError [ERR_ASSERTION]: the current holder still holds the unread one
|
||
|
||
undefined !== []
|
||
|
||
at TestContext.<anonymous> (file:///mnt/storage/scratch/researcher/q80-r2/packages/bus/tests/agents.test.mjs:189: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: false,
|
||
code: 'ERR_ASSERTION',
|
||
actual: undefined,
|
||
expected: [],
|
||
operator: 'deepStrictEqual',
|
||
diff: 'simple'
|
||
}
|
||
|
||
test at tests/agents.test.mjs:195:1
|
||
✖ agents: stranded is oldest first and capped at 50 for a role (65.325186ms)
|
||
TypeError: Cannot read properties of undefined (reading 'length')
|
||
at TestContext.<anonymous> (file:///mnt/storage/scratch/researcher/q80-r2/packages/bus/tests/agents.test.mjs:203:25)
|
||
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)
|
||
|
||
test at tests/agents.test.mjs:208:1
|
||
✖ agents: stranded is per role and per business (17.974378ms)
|
||
TypeError: Cannot read properties of undefined (reading 'map')
|
||
at TestContext.<anonymous> (file:///mnt/storage/scratch/researcher/q80-r2/packages/bus/tests/agents.test.mjs:221:38)
|
||
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)
|
||
|
||
test at tests/agents.test.mjs:235:1
|
||
✖ agents: a message routed to a held role and not yet received is not stranded (8.761726ms)
|
||
AssertionError [ERR_ASSERTION]: Expected values to be strictly deep-equal:
|
||
|
||
undefined !== []
|
||
|
||
at TestContext.<anonymous> (file:///mnt/storage/scratch/researcher/q80-r2/packages/bus/tests/agents.test.mjs:239: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: undefined,
|
||
expected: [],
|
||
operator: 'deepStrictEqual',
|
||
diff: 'simple'
|
||
}
|