refactor: replace xstate
with a simple built-in state machine
#16597
test-and-release.yml
on: pull_request
Matrix: build
Matrix: lint-zwave
Matrix: lint
Matrix: test-transformers
Matrix: unit-tests
Matrix: Update toLogEntry overview
Matrix: Update CC implementation status
Matrix: test-packages
Matrix: deploy
Annotations
24 errors and 8 warnings
packages/zwave-js/src/lib/test/driver/s0EncapsulationTwoNodes.test.ts > Security S0 Nonce Get is answered while waiting for a reply from another node:
packages/zwave-js/src/lib/test/driver/s0EncapsulationTwoNodes.test.ts#L264
AssertionError: expected +0 to be 2 // Object.is equality
- Expected
+ Received
- 2
+ 0
❯ testBody packages/zwave-js/src/lib/test/driver/s0EncapsulationTwoNodes.test.ts:264:45
❯ packages/zwave-js/src/lib/test/integrationTestSuiteMulti.ts:179:3
❯ node_modules/.store/@vitest-runner-npm-2.1.4-cd730c89a2/package/dist/index.js:533:5
❯ runTest node_modules/.store/@vitest-runner-npm-2.1.4-cd730c89a2/package/dist/index.js:1048:11
❯ runSuite node_modules/.store/@vitest-runner-npm-2.1.4-cd730c89a2/package/dist/index.js:1204:15
❯ runFiles node_modules/.store/@vitest-runner-npm-2.1.4-cd730c89a2/package/dist/index.js:1261:5
❯ startTests node_modules/.store/@vitest-runner-npm-2.1.4-cd730c89a2/package/dist/index.js:1270:3
❯ node_modules/.store/vitest-virtual-fd14c17f22/package/dist/chunks/runBaseTests.Dm-659zB.js:126:11
❯ withEnv node_modules/.store/vitest-virtual-fd14c17f22/package/dist/chunks/runBaseTests.Dm-659zB.js:90:5
❯ run node_modules/.store/vitest-virtual-fd14c17f22/package/dist/chunks/runBaseTests.Dm-659zB.js:112:3
|
Unit tests: ubuntu-latest, Node.js 18 (part 3/4)
Process completed with exit code 1.
|
Unit tests: ubuntu-latest, Node.js 18 (part 2/4)
The job was canceled because "_18_ubuntu-latest_3_4" failed.
|
packages/zwave-js/src/lib/test/driver/sendDataAbortAfterTimeout.test.ts > Abort transmission if the Send Data callback hasn't been received after the sendDataAbort timeout elapses:
packages/zwave-js/src/lib/test/driver/sendDataAbortAfterTimeout.test.ts#L137
AssertionError: expected true to be false // Object.is equality
- Expected
+ Received
- false
+ true
❯ testBody packages/zwave-js/src/lib/test/driver/sendDataAbortAfterTimeout.test.ts:137:32
❯ packages/zwave-js/src/lib/test/integrationTestSuite.ts:177:3
❯ node_modules/.store/@vitest-runner-npm-2.1.4-cd730c89a2/package/dist/index.js:533:5
❯ runTest node_modules/.store/@vitest-runner-npm-2.1.4-cd730c89a2/package/dist/index.js:1048:11
❯ runSuite node_modules/.store/@vitest-runner-npm-2.1.4-cd730c89a2/package/dist/index.js:1204:15
❯ runFiles node_modules/.store/@vitest-runner-npm-2.1.4-cd730c89a2/package/dist/index.js:1261:5
❯ startTests node_modules/.store/@vitest-runner-npm-2.1.4-cd730c89a2/package/dist/index.js:1270:3
❯ node_modules/.store/vitest-virtual-fd14c17f22/package/dist/chunks/runBaseTests.Dm-659zB.js:126:11
❯ withEnv node_modules/.store/vitest-virtual-fd14c17f22/package/dist/chunks/runBaseTests.Dm-659zB.js:90:5
|
Unit tests: ubuntu-latest, Node.js 18 (part 2/4)
Process completed with exit code 1.
|
Unit tests: ubuntu-latest, Node.js 20 (part 2/4)
The job was canceled because "_18_ubuntu-latest_3_4" failed.
|
packages/zwave-js/src/lib/test/driver/sendDataAbortAfterTimeout.test.ts > Abort transmission if the Send Data callback hasn't been received after the sendDataAbort timeout elapses:
packages/zwave-js/src/lib/test/driver/sendDataAbortAfterTimeout.test.ts#L137
AssertionError: expected true to be false // Object.is equality
- Expected
+ Received
- false
+ true
❯ testBody packages/zwave-js/src/lib/test/driver/sendDataAbortAfterTimeout.test.ts:137:32
❯ packages/zwave-js/src/lib/test/integrationTestSuite.ts:177:3
❯ node_modules/.store/@vitest-runner-npm-2.1.4-cd730c89a2/package/dist/index.js:533:5
❯ runTest node_modules/.store/@vitest-runner-npm-2.1.4-cd730c89a2/package/dist/index.js:1048:11
❯ runSuite node_modules/.store/@vitest-runner-npm-2.1.4-cd730c89a2/package/dist/index.js:1204:15
❯ runFiles node_modules/.store/@vitest-runner-npm-2.1.4-cd730c89a2/package/dist/index.js:1261:5
❯ startTests node_modules/.store/@vitest-runner-npm-2.1.4-cd730c89a2/package/dist/index.js:1270:3
❯ node_modules/.store/vitest-virtual-fd14c17f22/package/dist/chunks/runBaseTests.Dm-659zB.js:126:11
❯ withEnv node_modules/.store/vitest-virtual-fd14c17f22/package/dist/chunks/runBaseTests.Dm-659zB.js:90:5
|
Unit tests: ubuntu-latest, Node.js 20 (part 2/4)
Process completed with exit code 1.
|
Unit tests: ubuntu-latest, Node.js 18 (part 1/4)
The job was canceled because "_18_ubuntu-latest_3_4" failed.
|
Unit tests: ubuntu-latest, Node.js 18 (part 1/4)
The operation was canceled.
|
Unit tests: ubuntu-latest, Node.js 20 (part 3/4)
The job was canceled because "_18_ubuntu-latest_3_4" failed.
|
packages/zwave-js/src/lib/test/driver/s0EncapsulationTwoNodes.test.ts > Security S0 Nonce Get is answered while waiting for a reply from another node:
packages/zwave-js/src/lib/test/driver/s0EncapsulationTwoNodes.test.ts#L264
AssertionError: expected +0 to be 2 // Object.is equality
- Expected
+ Received
- 2
+ 0
❯ testBody packages/zwave-js/src/lib/test/driver/s0EncapsulationTwoNodes.test.ts:264:45
❯ packages/zwave-js/src/lib/test/integrationTestSuiteMulti.ts:179:3
❯ node_modules/.store/@vitest-runner-npm-2.1.4-cd730c89a2/package/dist/index.js:533:5
❯ runTest node_modules/.store/@vitest-runner-npm-2.1.4-cd730c89a2/package/dist/index.js:1048:11
❯ runSuite node_modules/.store/@vitest-runner-npm-2.1.4-cd730c89a2/package/dist/index.js:1204:15
❯ runFiles node_modules/.store/@vitest-runner-npm-2.1.4-cd730c89a2/package/dist/index.js:1261:5
❯ startTests node_modules/.store/@vitest-runner-npm-2.1.4-cd730c89a2/package/dist/index.js:1270:3
❯ node_modules/.store/vitest-virtual-fd14c17f22/package/dist/chunks/runBaseTests.Dm-659zB.js:126:11
❯ withEnv node_modules/.store/vitest-virtual-fd14c17f22/package/dist/chunks/runBaseTests.Dm-659zB.js:90:5
❯ run node_modules/.store/vitest-virtual-fd14c17f22/package/dist/chunks/runBaseTests.Dm-659zB.js:112:3
|
Unit tests: ubuntu-latest, Node.js 20 (part 3/4)
Process completed with exit code 1.
|
Unit tests: ubuntu-latest, Node.js 20 (part 4/4)
The job was canceled because "_18_ubuntu-latest_3_4" failed.
|
packages/zwave-js/src/lib/test/compliance/secureNodeSecureEndpoint.test.ts > Security S2: Communicate with endpoints of secure nodes securely, even if the endpoint does not list S2 as supported:
packages/testing/src/MockNode.ts#L417
Error: Node 2 did not receive a Z-Wave frame matching the predicate! Expected communication with endpoint 1 to be secure
❯ MockNode.assertReceivedControllerFrame packages/testing/src/MockNode.ts:417:10
❯ testBody packages/zwave-js/src/lib/test/compliance/secureNodeSecureEndpoint.test.ts:294:13
❯ packages/zwave-js/src/lib/test/integrationTestSuite.ts:177:9
❯ node_modules/.store/@vitest-runner-npm-2.1.4-cd730c89a2/package/dist/index.js:533:5
❯ runTest node_modules/.store/@vitest-runner-npm-2.1.4-cd730c89a2/package/dist/index.js:1048:11
❯ runSuite node_modules/.store/@vitest-runner-npm-2.1.4-cd730c89a2/package/dist/index.js:1204:15
❯ runFiles node_modules/.store/@vitest-runner-npm-2.1.4-cd730c89a2/package/dist/index.js:1261:5
❯ startTests node_modules/.store/@vitest-runner-npm-2.1.4-cd730c89a2/package/dist/index.js:1270:3
❯ node_modules/.store/vitest-virtual-fd14c17f22/package/dist/chunks/runBaseTests.Dm-659zB.js:126:11
|
packages/zwave-js/src/lib/test/driver/s0Encapsulation.test.ts > Communication via Security S0 works:
packages/zwave-js/src/lib/test/driver/s0Encapsulation.test.ts#L191
AssertionError: expected +0 to be 2 // Object.is equality
- Expected
+ Received
- 2
+ 0
❯ testBody packages/zwave-js/src/lib/test/driver/s0Encapsulation.test.ts:191:34
❯ packages/zwave-js/src/lib/test/integrationTestSuite.ts:177:3
❯ node_modules/.store/@vitest-runner-npm-2.1.4-cd730c89a2/package/dist/index.js:533:5
❯ runTest node_modules/.store/@vitest-runner-npm-2.1.4-cd730c89a2/package/dist/index.js:1048:11
❯ runSuite node_modules/.store/@vitest-runner-npm-2.1.4-cd730c89a2/package/dist/index.js:1204:15
❯ runFiles node_modules/.store/@vitest-runner-npm-2.1.4-cd730c89a2/package/dist/index.js:1261:5
❯ startTests node_modules/.store/@vitest-runner-npm-2.1.4-cd730c89a2/package/dist/index.js:1270:3
❯ node_modules/.store/vitest-virtual-fd14c17f22/package/dist/chunks/runBaseTests.Dm-659zB.js:126:11
❯ withEnv node_modules/.store/vitest-virtual-fd14c17f22/package/dist/chunks/runBaseTests.Dm-659zB.js:90:5
|
packages/zwave-js/src/lib/test/driver/sendDataMissingCallbackAbort.test.ts > Retry transmissions if the controller is reset by the watchdog while waiting for the callback:
packages/zwave-js/src/lib/test/driver/sendDataMissingCallbackAbort.test.ts#L852
AssertionError: expected [Function] to throw an error
❯ Proxy.<anonymous> node_modules/.store/@vitest-expect-npm-2.1.4-df2b34c2a5/package/dist/index.js:1468:21
❯ Proxy.<anonymous> node_modules/.store/@vitest-expect-npm-2.1.4-df2b34c2a5/package/dist/index.js:931:17
❯ Proxy.methodWrapper node_modules/.store/chai-npm-5.1.2-6b92587dbf/package/chai.js:1610:25
❯ testBody packages/zwave-js/src/lib/test/driver/sendDataMissingCallbackAbort.test.ts:852:6
❯ packages/zwave-js/src/lib/test/integrationTestSuite.ts:177:3
❯ node_modules/.store/@vitest-runner-npm-2.1.4-cd730c89a2/package/dist/index.js:533:5
❯ runTest node_modules/.store/@vitest-runner-npm-2.1.4-cd730c89a2/package/dist/index.js:1048:11
❯ runSuite node_modules/.store/@vitest-runner-npm-2.1.4-cd730c89a2/package/dist/index.js:1204:15
❯ runFiles node_modules/.store/@vitest-runner-npm-2.1.4-cd730c89a2/package/dist/index.js:1261:5
|
Unit tests: ubuntu-latest, Node.js 20 (part 4/4)
The operation was canceled.
|
Unit tests: ubuntu-latest, Node.js 18 (part 4/4)
The job was canceled because "_18_ubuntu-latest_3_4" failed.
|
packages/zwave-js/src/lib/test/compliance/secureNodeSecureEndpoint.test.ts > Security S2: Communicate with endpoints of secure nodes securely, even if the endpoint does not list S2 as supported:
packages/testing/src/MockNode.ts#L417
Error: Node 2 did not receive a Z-Wave frame matching the predicate! Expected communication with endpoint 1 to be secure
❯ MockNode.assertReceivedControllerFrame packages/testing/src/MockNode.ts:417:10
❯ testBody packages/zwave-js/src/lib/test/compliance/secureNodeSecureEndpoint.test.ts:294:13
❯ packages/zwave-js/src/lib/test/integrationTestSuite.ts:177:9
❯ node_modules/.store/@vitest-runner-npm-2.1.4-cd730c89a2/package/dist/index.js:533:5
❯ runTest node_modules/.store/@vitest-runner-npm-2.1.4-cd730c89a2/package/dist/index.js:1048:11
❯ runSuite node_modules/.store/@vitest-runner-npm-2.1.4-cd730c89a2/package/dist/index.js:1204:15
❯ runFiles node_modules/.store/@vitest-runner-npm-2.1.4-cd730c89a2/package/dist/index.js:1261:5
❯ startTests node_modules/.store/@vitest-runner-npm-2.1.4-cd730c89a2/package/dist/index.js:1270:3
❯ node_modules/.store/vitest-virtual-fd14c17f22/package/dist/chunks/runBaseTests.Dm-659zB.js:126:11
|
packages/zwave-js/src/lib/test/driver/s0Encapsulation.test.ts > Communication via Security S0 works:
packages/zwave-js/src/lib/test/driver/s0Encapsulation.test.ts#L191
AssertionError: expected +0 to be 2 // Object.is equality
- Expected
+ Received
- 2
+ 0
❯ testBody packages/zwave-js/src/lib/test/driver/s0Encapsulation.test.ts:191:34
❯ packages/zwave-js/src/lib/test/integrationTestSuite.ts:177:3
❯ node_modules/.store/@vitest-runner-npm-2.1.4-cd730c89a2/package/dist/index.js:533:5
❯ runTest node_modules/.store/@vitest-runner-npm-2.1.4-cd730c89a2/package/dist/index.js:1048:11
❯ runSuite node_modules/.store/@vitest-runner-npm-2.1.4-cd730c89a2/package/dist/index.js:1204:15
❯ runFiles node_modules/.store/@vitest-runner-npm-2.1.4-cd730c89a2/package/dist/index.js:1261:5
❯ startTests node_modules/.store/@vitest-runner-npm-2.1.4-cd730c89a2/package/dist/index.js:1270:3
❯ node_modules/.store/vitest-virtual-fd14c17f22/package/dist/chunks/runBaseTests.Dm-659zB.js:126:11
❯ withEnv node_modules/.store/vitest-virtual-fd14c17f22/package/dist/chunks/runBaseTests.Dm-659zB.js:90:5
|
packages/zwave-js/src/lib/test/driver/sendDataMissingCallbackAbort.test.ts > Retry transmissions if the controller is reset by the watchdog while waiting for the callback:
packages/zwave-js/src/lib/test/driver/sendDataMissingCallbackAbort.test.ts#L852
AssertionError: expected [Function] to throw an error
❯ Proxy.<anonymous> node_modules/.store/@vitest-expect-npm-2.1.4-df2b34c2a5/package/dist/index.js:1468:21
❯ Proxy.<anonymous> node_modules/.store/@vitest-expect-npm-2.1.4-df2b34c2a5/package/dist/index.js:931:17
❯ Proxy.methodWrapper node_modules/.store/chai-npm-5.1.2-6b92587dbf/package/chai.js:1610:25
❯ testBody packages/zwave-js/src/lib/test/driver/sendDataMissingCallbackAbort.test.ts:852:6
❯ packages/zwave-js/src/lib/test/integrationTestSuite.ts:177:3
❯ node_modules/.store/@vitest-runner-npm-2.1.4-cd730c89a2/package/dist/index.js:533:5
❯ runTest node_modules/.store/@vitest-runner-npm-2.1.4-cd730c89a2/package/dist/index.js:1048:11
❯ runSuite node_modules/.store/@vitest-runner-npm-2.1.4-cd730c89a2/package/dist/index.js:1204:15
❯ runFiles node_modules/.store/@vitest-runner-npm-2.1.4-cd730c89a2/package/dist/index.js:1261:5
|
Unit tests: ubuntu-latest, Node.js 18 (part 4/4)
The operation was canceled.
|
test-packages (18)
Process completed with exit code 1.
|
test-transformers (18, ubuntu-latest)
ubuntu-latest pipelines will use ubuntu-24.04 soon. For more details, see https://github.com/actions/runner-images/issues/10636
|
test-transformers (20, ubuntu-latest)
ubuntu-latest pipelines will use ubuntu-24.04 soon. For more details, see https://github.com/actions/runner-images/issues/10636
|
lint-zwave (18)
ubuntu-latest pipelines will use ubuntu-24.04 soon. For more details, see https://github.com/actions/runner-images/issues/10636
|
Unit tests: ubuntu-latest, Node.js 20 (part 1/4)
ubuntu-latest pipelines will use ubuntu-24.04 soon. For more details, see https://github.com/actions/runner-images/issues/10636
|
Unit tests: ubuntu-latest, Node.js 18 (part 3/4)
ubuntu-latest pipelines will use ubuntu-24.04 soon. For more details, see https://github.com/actions/runner-images/issues/10636
|
build (18)
ubuntu-latest pipelines will use ubuntu-24.04 soon. For more details, see https://github.com/actions/runner-images/issues/10636
|
lint (18)
ubuntu-latest pipelines will use ubuntu-24.04 soon. For more details, see https://github.com/actions/runner-images/issues/10636
|
test-packages (18)
ubuntu-latest pipelines will use ubuntu-24.04 soon. For more details, see https://github.com/actions/runner-images/issues/10636
|
Artifacts
Produced during runtime
Name | Size | |
---|---|---|
0f72fe556778087f
|
263 Bytes |
|
17ec79595f58e597
|
792 Bytes |
|
5d8ebb3684d4ebf3
|
263 Bytes |
|
6d60f1f99214798b
|
261 Bytes |
|
6e8513eb46c08540
|
4.02 MB |
|
729157c7264166eb
|
266 Bytes |
|
732a4bec8d95533b
|
258 Bytes |
|
81004e9b613dde81
|
268 Bytes |
|
8e2328b046761e5c
|
264 Bytes |
|
9a4f54ebf427a801
|
266 Bytes |
|
b903129cca9c7c1d
|
259 Bytes |
|
bda7ab207aea5455
|
262 Bytes |
|
dc96f8ef31a45be9
|
268 Bytes |
|
e541453765306843
|
262 Bytes |
|
ea537f453fcc867f
|
262 Bytes |
|
turbo-cache
Expired
|
4.02 MB |
|