Feat: TrezorHostProtocol #9191
Triggered via pull request
December 12, 2024 15:10
Status
Failure
Total duration
10m 39s
Artifacts
–
check-code-validation.yml
on: pull_request
Setup and Cache Dependencies
2m 52s
Type Checking
1m 52s
Linting and formatting
3m 3s
Unit Tests
7m 28s
Build libs for publishing
2m 56s
Other Checks
2m 8s
Releases revision Checks
1m 33s
Annotations
31 errors and 17 warnings
Type Checking
Could not find a declaration file for module 'minimist'. '/home/runner/work/trezor-suite/trezor-suite/node_modules/minimist/index.js' implicitly has an 'any' type.
|
Type Checking
Object literal may only specify known properties, and '_signal' does not exist in type 'AbstractTransportParams'.
|
Type Checking
Object literal may only specify known properties, and '_signal' does not exist in type 'AbstractTransportParams'.
|
Type Checking
Property 'stopped' is protected and only accessible within class 'AbstractTransport' and its subclasses.
|
Type Checking
'init' is declared but its value is never read.
|
Type Checking
Parameter 'channel' implicitly has an 'any' type.
|
Type Checking
Property 'previous' is missing in type 'Descriptor' but required in type 'AcquireInput'.
|
Type Checking
'value' is declared but its value is never read.
|
Type Checking
Property 'payload' does not exist on type 'Success<Session> | ErrorGeneric<"unexpected error" | "Aborted by timeout" | "Aborted by signal" | "device not found" | "Unable to open device" | "LIBUSB_ERROR_ACCESS"> | { success: false; error: "descriptor not found" | "wrong previous session"; message: string | undefined; } | { success: false; error: NonNullable<"device disconnected during action" | "Aborted by timeout" | "Aborted by signal" | "wrong previous session">; message: string | undefined; } | { success: false; error: "unexpected error"; message: string; }'.
|
Type Checking
Argument of type 'Descriptor' is not assignable to parameter of type 'ReleaseInput & AbortableParam'.
|
Build libs for publishing
Could not find a declaration file for module 'minimist'. '/home/runner/work/trezor-suite/trezor-suite/node_modules/minimist/index.js' implicitly has an 'any' type.
|
Build libs for publishing
Object literal may only specify known properties, and '_signal' does not exist in type 'AbstractTransportParams'.
|
Build libs for publishing
Object literal may only specify known properties, and '_signal' does not exist in type 'AbstractTransportParams'.
|
Build libs for publishing
Property 'stopped' is protected and only accessible within class 'AbstractTransport' and its subclasses.
|
Build libs for publishing
'init' is declared but its value is never read.
|
Build libs for publishing
Parameter 'channel' implicitly has an 'any' type.
|
Build libs for publishing
Property 'previous' is missing in type 'Descriptor' but required in type 'AcquireInput'.
|
Build libs for publishing
'value' is declared but its value is never read.
|
Build libs for publishing
Property 'payload' does not exist on type 'Success<Session> | ErrorGeneric<"unexpected error" | "Aborted by timeout" | "Aborted by signal" | "device not found" | "Unable to open device" | "LIBUSB_ERROR_ACCESS"> | { success: false; error: "descriptor not found" | "wrong previous session"; message: string | undefined; } | { success: false; error: NonNullable<"device disconnected during action" | "Aborted by timeout" | "Aborted by signal" | "wrong previous session">; message: string | undefined; } | { success: false; error: "unexpected error"; message: string; }'.
|
Build libs for publishing
Argument of type 'Descriptor' is not assignable to parameter of type 'ReleaseInput & AbortableParam'.
|
Linting and formatting:
packages/connect/e2e/tests/device/thpPairing.test.ts#L54
'device' is already declared in the upper scope on line 52 column 15
|
Linting and formatting:
packages/connect/e2e/tests/device/thpPairing.test.ts#L77
'device' is already declared in the upper scope on line 75 column 15
|
Linting and formatting:
packages/connect/e2e/tests/device/thpPairing.test.ts#L97
'device' is already declared in the upper scope on line 95 column 15
|
Linting and formatting:
packages/connect/test-e2e.ts#L22
'init' is assigned a value but never used. Allowed unused vars must match /^_/u
|
Linting and formatting:
packages/connect/test-e2e.ts#L38
'value' is assigned a value but never used. Allowed unused vars must match /^_/u
|
Linting and formatting:
packages/connect/test-e2e.ts#L130
'testStart' is assigned a value but never used. Allowed unused vars must match /^_/u
|
Linting and formatting:
packages/protobuf/src/load-definitions.ts#L16
Empty block statement
|
Linting and formatting:
packages/protobuf/src/load-definitions.ts#L22
Empty block statement
|
Linting and formatting:
packages/protobuf/src/load-definitions.ts#L31
Empty block statement
|
Linting and formatting:
packages/protocol/src/protocol-thp/crypto/curve25519.ts#L56
'byteArray' is never reassigned. Use 'const' instead
|
Unit Tests
Process completed with exit code 1.
|
Setup and Cache Dependencies
ubuntu-latest pipelines will use ubuntu-24.04 soon. For more details, see https://github.com/actions/runner-images/issues/10636
|
Releases revision Checks
ubuntu-latest pipelines will use ubuntu-24.04 soon. For more details, see https://github.com/actions/runner-images/issues/10636
|
Type Checking
ubuntu-latest pipelines will use ubuntu-24.04 soon. For more details, see https://github.com/actions/runner-images/issues/10636
|
Other Checks
ubuntu-latest pipelines will use ubuntu-24.04 soon. For more details, see https://github.com/actions/runner-images/issues/10636
|
Build libs for publishing
ubuntu-latest pipelines will use ubuntu-24.04 soon. For more details, see https://github.com/actions/runner-images/issues/10636
|
Linting and formatting
ubuntu-latest pipelines will use ubuntu-24.04 soon. For more details, see https://github.com/actions/runner-images/issues/10636
|
Linting and formatting:
packages/connect/src/api/resetDevice.ts#L48
Unexpected console statement
|
Linting and formatting:
packages/connect/src/api/resetDevice.ts#L73
Unexpected console statement
|
Linting and formatting:
packages/connect/src/core/index.ts#L913
Unexpected console statement
|
Linting and formatting:
packages/connect/src/core/index.ts#L916
Unexpected console statement
|
Linting and formatting:
packages/connect/src/device/Device.ts#L326
Unexpected console statement
|
Linting and formatting:
packages/connect/src/device/Device.ts#L355
Unexpected console statement
|
Linting and formatting:
packages/connect/src/device/Device.ts#L571
Unexpected console statement
|
Linting and formatting:
packages/connect/src/device/Device.ts#L576
Unexpected console statement
|
Linting and formatting:
packages/connect/src/device/Device.ts#L710
Unexpected console statement
|
Linting and formatting:
packages/connect/src/device/Device.ts#L805
Unexpected console statement
|
Unit Tests
ubuntu-latest pipelines will use ubuntu-24.04 soon. For more details, see https://github.com/actions/runner-images/issues/10636
|