Candidate on 56639c99b: waiting gains launchable, and a message to a role
outside launch.instances gets a notice saying the launch is refused and a
talk line saying launch.by can't launch it. Mutants 8/8 killed; gate green
(bus, cli, business, webui and every scripts/test-*.sh).
Co-Authored-By: Claude Opus 5.5 <[email protected]>
77 lines
3.4 KiB
Plaintext
77 lines
3.4 KiB
Plaintext
✔ a message to a stopped role sends launch.by one notice, and the result says so (88.661715ms)
|
||
✖ a message to a role outside launch.instances says so in its result and in the notice (51.142699ms)
|
||
✔ a message to a running role sends no notice and its result is unchanged (56.07053ms)
|
||
✔ a re-route at a claim, a release and claim, and a broker restart send no second notice (101.922194ms)
|
||
✔ a run launched but not yet claimed counts as no holder (51.026354ms)
|
||
✖ no notice for a message to launch.by, from it, from a tester, to the human, or in a thread to a thread instance (45.514785ms)
|
||
✔ a business with no launch block tells nobody and says there is no launcher (43.784101ms)
|
||
✔ the notice sender stays internal: no role is named _bus and no caller can send as it or to it (151.114019ms)
|
||
ℹ tests 8
|
||
ℹ suites 0
|
||
ℹ pass 6
|
||
ℹ fail 2
|
||
ℹ cancelled 0
|
||
ℹ skipped 0
|
||
ℹ todo 0
|
||
ℹ duration_ms 645.823856
|
||
|
||
✖ failing tests:
|
||
|
||
test at tests/launch-notice.test.mjs:112:1
|
||
✖ a message to a role outside launch.instances says so in its result and in the notice (51.142699ms)
|
||
AssertionError [ERR_ASSERTION]: Expected values to be strictly deep-equal:
|
||
+ actual - expected
|
||
|
||
{
|
||
+ launchable: true,
|
||
- launchable: false,
|
||
launcher: 'chief',
|
||
launcherRunning: false,
|
||
role: 'coder',
|
||
told: true
|
||
}
|
||
|
||
at TestContext.<anonymous> (file:///home/jwoltje/dewey-scratch/r152/wt/packages/bus/tests/launch-notice.test.mjs:115: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 startSubtestAfterBootstrap (node:internal/test_runner/harness:387:3) {
|
||
generatedMessage: true,
|
||
code: 'ERR_ASSERTION',
|
||
actual: { role: 'coder', launcher: 'chief', told: true, launcherRunning: false, launchable: true },
|
||
expected: { role: 'coder', launcher: 'chief', told: true, launcherRunning: false, launchable: false },
|
||
operator: 'deepStrictEqual',
|
||
diff: 'simple'
|
||
}
|
||
|
||
test at tests/launch-notice.test.mjs:170:1
|
||
✖ no notice for a message to launch.by, from it, from a tester, to the human, or in a thread to a thread instance (45.514785ms)
|
||
AssertionError [ERR_ASSERTION]: Expected values to be strictly deep-equal:
|
||
+ actual - expected
|
||
|
||
{
|
||
+ launchable: true,
|
||
- launchable: false,
|
||
launcher: 'chief',
|
||
launcherRunning: false,
|
||
role: 'chief',
|
||
told: false
|
||
}
|
||
|
||
at TestContext.<anonymous> (file:///home/jwoltje/dewey-scratch/r152/wt/packages/bus/tests/launch-notice.test.mjs:173: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: { role: 'chief', launcher: 'chief', told: false, launcherRunning: false, launchable: true },
|
||
expected: { role: 'chief', launcher: 'chief', told: false, launcherRunning: false, launchable: false },
|
||
operator: 'deepStrictEqual',
|
||
diff: 'simple'
|
||
}
|