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]>
128 lines
5.4 KiB
Plaintext
128 lines
5.4 KiB
Plaintext
✔ agents: a held role with nothing on the bus is idle; a role session gets the claim rows unchanged (13.603583ms)
|
||
✔ agents: working counts what the holder received and has not read; routed alone is not working (12.768598ms)
|
||
✔ agents: input needed is the role's open decisions routed to the human, gated first, then oldest (21.695439ms)
|
||
✔ agents: working wins over waiting, and Input needed still shows (9.135384ms)
|
||
✔ agents: a new holder doesn't inherit what the last one left unread; decisions stay with the role (11.090242ms)
|
||
✔ agents: state reads only its own business, even for a run name both use (10.834505ms)
|
||
✖ agents: a message the holder released unread is stranded; the next holder gets nothing and cannot read it (11.201218ms)
|
||
✖ agents: a message the holder read is not stranded; one the current holder has not read is not listed (9.425631ms)
|
||
✖ agents: stranded is oldest first and capped at 50 for a role (53.893519ms)
|
||
✖ agents: stranded is per role and per business (14.252833ms)
|
||
✔ agents: a message routed to a held role and not yet received is not stranded (8.036001ms)
|
||
ℹ tests 11
|
||
ℹ suites 0
|
||
ℹ pass 7
|
||
ℹ fail 4
|
||
ℹ cancelled 0
|
||
ℹ skipped 0
|
||
ℹ todo 0
|
||
ℹ duration_ms 228.950329
|
||
|
||
✖ 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 (11.201218ms)
|
||
AssertionError [ERR_ASSERTION]: Expected values to be strictly deep-equal:
|
||
+ actual - expected
|
||
|
||
+ []
|
||
- [
|
||
- {
|
||
- at: '2026-10-13T15:54:54.788Z',
|
||
- from: 'human',
|
||
- id: '35c01e7d-5a6f-49c7-8a37-e26a05590a9e',
|
||
- 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: [],
|
||
expected: [ { id: '35c01e7d-5a6f-49c7-8a37-e26a05590a9e', from: 'human', run: 'pm-one', at: '2026-10-13T15:54:54.788Z' } ],
|
||
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.425631ms)
|
||
AssertionError [ERR_ASSERTION]: the current holder still holds the unread one
|
||
+ actual - expected
|
||
|
||
+ [
|
||
+ {
|
||
+ at: '2026-10-13T15:54:54.803Z',
|
||
+ from: 'human',
|
||
+ id: 'b218866b-1f08-464e-b9f8-9d9b18c5f232',
|
||
+ run: 'pm-one'
|
||
+ }
|
||
+ ]
|
||
- []
|
||
|
||
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: [ { id: 'b218866b-1f08-464e-b9f8-9d9b18c5f232', from: 'human', run: 'pm-one', at: '2026-10-13T15:54:54.803Z' } ],
|
||
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 (53.893519ms)
|
||
AssertionError [ERR_ASSERTION]: Expected values to be strictly equal:
|
||
|
||
0 !== 50
|
||
|
||
at TestContext.<anonymous> (file:///mnt/storage/scratch/researcher/q80-r2/packages/bus/tests/agents.test.mjs:203: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: 0,
|
||
expected: 50,
|
||
operator: 'strictEqual',
|
||
diff: 'simple'
|
||
}
|
||
|
||
test at tests/agents.test.mjs:208:1
|
||
✖ agents: stranded is per role and per business (14.252833ms)
|
||
AssertionError [ERR_ASSERTION]: Expected values to be strictly deep-equal:
|
||
+ actual - expected
|
||
|
||
+ []
|
||
- [
|
||
- '48a7749f-aab3-45ce-8653-509af8229b12'
|
||
- ]
|
||
|
||
at TestContext.<anonymous> (file:///mnt/storage/scratch/researcher/q80-r2/packages/bus/tests/agents.test.mjs:221: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: [],
|
||
expected: [ '48a7749f-aab3-45ce-8653-509af8229b12' ],
|
||
operator: 'deepStrictEqual',
|
||
diff: 'simple'
|
||
}
|