Migrate tooling to pnpm, biome, lefthook and vitest #8
ci.yaml
on: pull_request
check
16s
test-client-vms
1m 17s
Annotations
4 errors
tests/client.test.ts > VmClient > compute > can upload program:
client-vms/tests/helpers.ts#L40
Error: ENOENT: no such file or directory, open '/home/runner/work/client-ts/client-ts/client-vms/tests/tests-nada-programs/dist/addition_division.nada.bin'
❯ Module.loadProgram tests/helpers.ts:40:28
❯ tests/client.test.ts:148:23
⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯
Serialized Error: { errno: -2, code: 'ENOENT', syscall: 'open', path: '/home/runner/work/client-ts/client-ts/client-vms/tests/tests-nada-programs/dist/addition_division.nada.bin' }
|
tests/client.test.ts > VmClient > compute > can invoke compute:
client-vms/src/vm/operation/invoke-compute.ts#L153
ZodError: [
{
"code": "invalid_type",
"expected": "string",
"received": "undefined",
"path": [
"programId"
],
"message": "Required"
}
]
❯ Object.get error [as error] ../node_modules/.pnpm/[email protected]/node_modules/zod/lib/index.mjs:587:31
❯ ZodObject.parse ../node_modules/.pnpm/[email protected]/node_modules/zod/lib/index.mjs:692:22
❯ InvokeComputeBuilder.build src/vm/operation/invoke-compute.ts:153:40
❯ tests/client.test.ts:168:10
⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯
Serialized Error: { issues: [ { code: 'invalid_type', expected: 'string', received: 'undefined', path: [ 'programId' ], message: 'Required' } ], addIssue: 'Function<anonymous>', addIssues: 'Function<anonymous>', errors: [ { code: 'invalid_type', expected: 'string', received: 'undefined', path: [ 'programId' ], message: 'Required' } ], format: 'Function<format>', isEmpty: false, flatten: 'Function<flatten>', formErrors: { formErrors: [], fieldErrors: { programId: [ 'Required' ] } } }
|
tests/client.test.ts > VmClient > compute > can retrieve compute result:
client-vms/src/vm/operation/retrieve-compute-result.ts#L76
ZodError: [
{
"code": "invalid_type",
"expected": "string",
"received": "undefined",
"path": [
"id"
],
"message": "Required"
}
]
❯ Object.get error [as error] ../node_modules/.pnpm/[email protected]/node_modules/zod/lib/index.mjs:587:31
❯ ZodObject.parse ../node_modules/.pnpm/[email protected]/node_modules/zod/lib/index.mjs:692:22
❯ RetrieveComputeResultBuilder.build src/vm/operation/retrieve-compute-result.ts:76:48
❯ tests/client.test.ts:178:10
⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯
Serialized Error: { issues: [ { code: 'invalid_type', expected: 'string', received: 'undefined', path: [ 'id' ], message: 'Required' } ], addIssue: 'Function<anonymous>', addIssues: 'Function<anonymous>', errors: [ { code: 'invalid_type', expected: 'string', received: 'undefined', path: [ 'id' ], message: 'Required' } ], format: 'Function<format>', isEmpty: false, flatten: 'Function<flatten>', formErrors: { formErrors: [], fieldErrors: { id: [ 'Required' ] } } }
|
test-client-vms
Process completed with exit code 1.
|