Skip to content

Divorce JSON and KCL #1107

Divorce JSON and KCL

Divorce JSON and KCL #1107

Triggered via pull request November 8, 2024 03:22
Status Failure
Total duration 6h 0m 39s
Artifacts

static-analysis.yml

on: pull_request
Fit to window
Zoom out
Zoom in

Annotations

22 errors and 1 warning
yarn-tsc: src/components/AvailableVarsHelpers.tsx#L148
Type '"UserVal"' is not assignable to type '"TagDeclarator" | "KclNone" | "TagIdentifier" | "Sketch" | "Solid" | "Uuid" | "Bool" | "Number" | "Int" | "String" | "Array" | "Object" | "Plane" | "Face" | "Sketches" | "Solids" | "ImportedGeometry"'.
yarn-tsc: src/components/AvailableVarsHelpers.tsx#L169
Property 'value' does not exist on type 'KclValue'.
yarn-tsc: src/components/ModelingSidebar/ModelingPanes/MemoryPane.tsx#L92
This comparison appears to be unintentional because the types '"TagDeclarator" | "KclNone" | "TagIdentifier" | "Sketch" | "Solid" | "Uuid" | "Bool" | "Number" | "Int" | "String" | "Array" | "Object" | "Plane" | "Face" | "Sketches" | "Solids" | "ImportedGeometry"' and '"UserVal"' have no overlap.
yarn-tsc: src/components/ModelingSidebar/ModelingPanes/MemoryPane.tsx#L92
Property 'value' does not exist on type 'never'.
yarn-tsc: src/components/ModelingSidebar/ModelingPanes/MemoryPane.tsx#L106
Property 'value' does not exist on type '{ type: "Uuid"; value: string; meta: Metadata[]; } | { type: "Bool"; value: boolean; meta: Metadata[]; } | { type: "Number"; value: number; meta: Metadata[]; } | { type: "Int"; value: bigint; meta: Metadata[]; } | ... 11 more ... | { ...; }'.
yarn-tsc: src/components/ModelingSidebar/ModelingPanes/MemoryPane.tsx#L114
Property 'value' does not exist on type 'never'.
yarn-tsc: src/lang/executor.test.ts#L22
Property 'value' does not exist on type 'KclValue'.
yarn-tsc: src/lang/executor.test.ts#L23
Property 'value' does not exist on type 'KclValue'.
yarn-tsc: src/lang/executor.test.ts#L28
Property 'value' does not exist on type 'KclValue'.
yarn-tsc: src/lang/executor.test.ts#L36
Property 'value' does not exist on type 'KclValue'.
src/lang/executor.test.ts > test executor > test assigning two variables, the second summing with the first: src/lang/wasm.ts#L437
{ stack: 'Error: \n' + ' at Module._executor (/home/runner/work/modeling-app/modeling-app/src/lang/wasm.ts:437:22)\n' + ' at processTicksAndRejections (node:internal/process/task_queues:95:5)\n' + ' at Module.enginelessExecutor (/home/runner/work/modeling-app/modeling-app/src/lib/testHelpers.ts:101:21)\n' + ' at exe (/home/runner/work/modeling-app/modeling-app/src/lang/executor.test.ts:443:21)\n' + ' at /home/runner/work/modeling-app/modeling-app/src/lang/executor.test.ts:21:17\n' + ' at runTest (file:///home/runner/work/modeling-app/modeling-app/node_modules/@vitest/runner/dist/index.js:781:11)\n' + ' at runSuite (file:///home/runner/work/modeling-app/modeling-app/node_modules/@vitest/runner/dist/index.js:909:15)\n' + ' at runSuite (file:///home/runner/work/modeling-app/modeling-app/node_modules/@vitest/runner/dist/index.js:909:15)\n' + ' at runFiles (file:///home/runner/work/modeling-app/modeling-app/node_modules/@vitest/runner/dist/index.js:958:5)\n' + ' at startTests (file:///home/runner/work/modeling-app/modeling-app/node_modules/@vitest/runner/dist/index.js:967:3)', kind: 'syntax', sourceRanges: [ [ 31, 36, 0 ] ], msg: 'Invalid number: integer', stackStr: 'Error: \n' + ' at Module._executor (/home/runner/work/modeling-app/modeling-app/src/lang/wasm.ts:437:22)\n' + ' at processTicksAndRejections (node:internal/process/task_queues:95:5)\n' + ' at Module.enginelessExecutor (/home/runner/work/modeling-app/modeling-app/src/lib/testHelpers.ts:101:21)\n' + ' at exe (/home/runner/work/modeling-app/modeling-app/src/lang/executor.test.ts:443:21)\n' + ' at /home/runner/work/modeling-app/modeling-app/src/lang/executor.test.ts:21:17\n' + ' at runTest (file:///home/runner/work/modeling-app/modeling-app/node_modules/@vitest/runner/dist/index.js:781:11)\n' + ' at runSuite (file:///home/runner/work/modeling-app/modeling-app/node_modules/@vitest/runner/dist/index.js:909:15)\n' + ' at runSuite (file:///home/runner/work/modeling-app/modeling-app/node_modules/@vitest/runner/dist/index.js:909:15)\n' + ' at runFiles (file:///home/runner/work/modeling-app/modeling-app/node_modules/@vitest/runner/dist/index.js:958:5)\n' + ' at startTests (file:///home/runner/work/modeling-app/modeling-app/node_modules/@vitest/runner/dist/index.js:967:3)', nameStr: 'Error', expected: 'undefined', actual: 'undefined', message: '', constructor: 'Function<KCLError>', name: 'Error', toString: 'Function<toString>', stacks: [ { method: 'Module._executor', file: '/home/runner/work/modeling-app/modeling-app/src/lang/wasm.ts', line: 437, column: 22 }, { method: 'Module.enginelessExecutor', file: '/home/runner/work/modeling-app/modeling-app/src/lib/testHelpers.ts', line: 101, column: 21 }, { method: 'exe', file: '/home/runner/work/modeling-app/modeling-app/src/lang/executor.test.ts', line: 443, column: 21 }, { method: '', file: '/home/runner/work/modeling-app/modeling-app/src/lang/executor.test.ts', line: 21, column: 17 } ] } ❯ Module._executor src/lang/wasm.ts:437:22 ❯ Module.enginelessExecutor src/lib/testHelpers.ts:101:21 ❯ exe src/lang/executor.test.ts:443:21 ❯ src/lang/executor.test.ts:21:17 ⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯ Serialized Error: { kind: 'syntax', sourceRanges: [ [ 31, 36, +0 ] ], msg: 'Invalid number: integer' }
src/lang/executor.test.ts > test executor > fn funcN = () => {} execute: src/lang/wasm.ts#L437
{ stack: 'Error: \n' + ' at Module._executor (/home/runner/work/modeling-app/modeling-app/src/lang/wasm.ts:437:22)\n' + ' at processTicksAndRejections (node:internal/process/task_queues:95:5)\n' + ' at Module.enginelessExecutor (/home/runner/work/modeling-app/modeling-app/src/lib/testHelpers.ts:101:21)\n' + ' at exe (/home/runner/work/modeling-app/modeling-app/src/lang/executor.test.ts:443:21)\n' + ' at /home/runner/work/modeling-app/modeling-app/src/lang/executor.test.ts:39:17\n' + ' at runTest (file:///home/runner/work/modeling-app/modeling-app/node_modules/@vitest/runner/dist/index.js:781:11)\n' + ' at runSuite (file:///home/runner/work/modeling-app/modeling-app/node_modules/@vitest/runner/dist/index.js:909:15)\n' + ' at runSuite (file:///home/runner/work/modeling-app/modeling-app/node_modules/@vitest/runner/dist/index.js:909:15)\n' + ' at runFiles (file:///home/runner/work/modeling-app/modeling-app/node_modules/@vitest/runner/dist/index.js:958:5)\n' + ' at startTests (file:///home/runner/work/modeling-app/modeling-app/node_modules/@vitest/runner/dist/index.js:967:3)', kind: 'syntax', sourceRanges: [ [ 32, 33, 0 ], [ 75, 91, 0 ] ], msg: 'Invalid number: integer', stackStr: 'Error: \n' + ' at Module._executor (/home/runner/work/modeling-app/modeling-app/src/lang/wasm.ts:437:22)\n' + ' at processTicksAndRejections (node:internal/process/task_queues:95:5)\n' + ' at Module.enginelessExecutor (/home/runner/work/modeling-app/modeling-app/src/lib/testHelpers.ts:101:21)\n' + ' at exe (/home/runner/work/modeling-app/modeling-app/src/lang/executor.test.ts:443:21)\n' + ' at /home/runner/work/modeling-app/modeling-app/src/lang/executor.test.ts:39:17\n' + ' at runTest (file:///home/runner/work/modeling-app/modeling-app/node_modules/@vitest/runner/dist/index.js:781:11)\n' + ' at runSuite (file:///home/runner/work/modeling-app/modeling-app/node_modules/@vitest/runner/dist/index.js:909:15)\n' + ' at runSuite (file:///home/runner/work/modeling-app/modeling-app/node_modules/@vitest/runner/dist/index.js:909:15)\n' + ' at runFiles (file:///home/runner/work/modeling-app/modeling-app/node_modules/@vitest/runner/dist/index.js:958:5)\n' + ' at startTests (file:///home/runner/work/modeling-app/modeling-app/node_modules/@vitest/runner/dist/index.js:967:3)', nameStr: 'Error', expected: 'undefined', actual: 'undefined', message: '', constructor: 'Function<KCLError>', name: 'Error', toString: 'Function<toString>', stacks: [ { method: 'Module._executor', file: '/home/runner/work/modeling-app/modeling-app/src/lang/wasm.ts', line: 437, column: 22 }, { method: 'Module.enginelessExecutor', file: '/home/runner/work/modeling-app/modeling-app/src/lib/testHelpers.ts', line: 101, column: 21 }, { method: 'exe', file: '/home/runner/work/modeling-app/modeling-app/src/lang/executor.test.ts', line: 443, column: 21 }, { method: '', file: '/home/runner/work/modeling-app/modeling-app/src/lang/executor.test.ts', line: 39, column: 17 } ] } ❯ Module._executor src/lang/wasm.ts:437:22 ❯ Module.enginelessExecutor src/lib/testHelpers.ts:101:21 ❯ exe src/lang/executor.test.ts:443:21 ❯ src/lang/executor.test.ts:39:17 ⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯ Serialized Error: { kind: 'syntax', sourceRanges: [ [ 32, 33, +0 ], [ 75, 91, +0 ] ], msg: 'Invalid number: integer' }
src/lang/executor.test.ts > test executor > pipe binary expression into call expression: src/lang/wasm.ts#L437
{ stack: 'Error: \n' + ' at Module._executor (/home/runner/work/modeling-app/modeling-app/src/lang/wasm.ts:437:22)\n' + ' at Module.enginelessExecutor (/home/runner/work/modeling-app/modeling-app/src/lib/testHelpers.ts:101:21)\n' + ' at exe (/home/runner/work/modeling-app/modeling-app/src/lang/executor.test.ts:443:21)\n' + ' at /home/runner/work/modeling-app/modeling-app/src/lang/executor.test.ts:111:17\n' + ' at runTest (file:///home/runner/work/modeling-app/modeling-app/node_modules/@vitest/runner/dist/index.js:781:11)\n' + ' at runSuite (file:///home/runner/work/modeling-app/modeling-app/node_modules/@vitest/runner/dist/index.js:909:15)\n' + ' at runSuite (file:///home/runner/work/modeling-app/modeling-app/node_modules/@vitest/runner/dist/index.js:909:15)\n' + ' at runFiles (file:///home/runner/work/modeling-app/modeling-app/node_modules/@vitest/runner/dist/index.js:958:5)\n' + ' at startTests (file:///home/runner/work/modeling-app/modeling-app/node_modules/@vitest/runner/dist/index.js:967:3)\n' + ' at file:///home/runner/work/modeling-app/modeling-app/node_modules/vitest/dist/chunks/runtime-runBaseTests.oAvMKtQC.js:116:7', kind: 'syntax', sourceRanges: [ [ 48, 49, 0 ] ], msg: 'Invalid number: integer', stackStr: 'Error: \n' + ' at Module._executor (/home/runner/work/modeling-app/modeling-app/src/lang/wasm.ts:437:22)\n' + ' at Module.enginelessExecutor (/home/runner/work/modeling-app/modeling-app/src/lib/testHelpers.ts:101:21)\n' + ' at exe (/home/runner/work/modeling-app/modeling-app/src/lang/executor.test.ts:443:21)\n' + ' at /home/runner/work/modeling-app/modeling-app/src/lang/executor.test.ts:111:17\n' + ' at runTest (file:///home/runner/work/modeling-app/modeling-app/node_modules/@vitest/runner/dist/index.js:781:11)\n' + ' at runSuite (file:///home/runner/work/modeling-app/modeling-app/node_modules/@vitest/runner/dist/index.js:909:15)\n' + ' at runSuite (file:///home/runner/work/modeling-app/modeling-app/node_modules/@vitest/runner/dist/index.js:909:15)\n' + ' at runFiles (file:///home/runner/work/modeling-app/modeling-app/node_modules/@vitest/runner/dist/index.js:958:5)\n' + ' at startTests (file:///home/runner/work/modeling-app/modeling-app/node_modules/@vitest/runner/dist/index.js:967:3)\n' + ' at file:///home/runner/work/modeling-app/modeling-app/node_modules/vitest/dist/chunks/runtime-runBaseTests.oAvMKtQC.js:116:7', nameStr: 'Error', expected: 'undefined', actual: 'undefined', message: '', constructor: 'Function<KCLError>', name: 'Error', toString: 'Function<toString>', stacks: [ { method: 'Module._executor', file: '/home/runner/work/modeling-app/modeling-app/src/lang/wasm.ts', line: 437, column: 22 }, { method: 'Module.enginelessExecutor', file: '/home/runner/work/modeling-app/modeling-app/src/lib/testHelpers.ts', line: 101, column: 21 }, { method: 'exe', file: '/home/runner/work/modeling-app/modeling-app/src/lang/executor.test.ts', line: 443, column: 21 }, { method: '', file: '/home/runner/work/modeling-app/modeling-app/src/lang/executor.test.ts', line: 111, column: 17 } ] } ❯ Module._executor src/lang/wasm.ts:437:22 ❯ Module.enginelessExecutor src/lib/testHelpers.ts:101:21 ❯ exe src/lang/executor.test.ts:443:21 ❯ src/lang/executor.test.ts:111:17 ⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯ Serialized Error: { kind: 'syntax', sourceRanges: [ [ 48, 49, +0 ] ], msg: 'Invalid number: integer' }
src/lang/executor.test.ts > test executor > execute array expression: src/lang/wasm.ts#L437
{ stack: 'Error: \n' + ' at Module._executor (/home/runner/work/modeling-app/modeling-app/src/lang/wasm.ts:437:22)\n' + ' at Module.enginelessExecutor (/home/runner/work/modeling-app/modeling-app/src/lib/testHelpers.ts:101:21)\n' + ' at exe (/home/runner/work/modeling-app/modeling-app/src/lang/executor.test.ts:443:21)\n' + ' at /home/runner/work/modeling-app/modeling-app/src/lang/executor.test.ts:225:17\n' + ' at runTest (file:///home/runner/work/modeling-app/modeling-app/node_modules/@vitest/runner/dist/index.js:781:11)\n' + ' at runSuite (file:///home/runner/work/modeling-app/modeling-app/node_modules/@vitest/runner/dist/index.js:909:15)\n' + ' at runSuite (file:///home/runner/work/modeling-app/modeling-app/node_modules/@vitest/runner/dist/index.js:909:15)\n' + ' at runFiles (file:///home/runner/work/modeling-app/modeling-app/node_modules/@vitest/runner/dist/index.js:958:5)\n' + ' at startTests (file:///home/runner/work/modeling-app/modeling-app/node_modules/@vitest/runner/dist/index.js:967:3)\n' + ' at file:///home/runner/work/modeling-app/modeling-app/node_modules/vitest/dist/chunks/runtime-runBaseTests.oAvMKtQC.js:116:7', kind: 'syntax', sourceRanges: [ [ 43, 44, 0 ] ], msg: 'Invalid number: integer', stackStr: 'Error: \n' + ' at Module._executor (/home/runner/work/modeling-app/modeling-app/src/lang/wasm.ts:437:22)\n' + ' at Module.enginelessExecutor (/home/runner/work/modeling-app/modeling-app/src/lib/testHelpers.ts:101:21)\n' + ' at exe (/home/runner/work/modeling-app/modeling-app/src/lang/executor.test.ts:443:21)\n' + ' at /home/runner/work/modeling-app/modeling-app/src/lang/executor.test.ts:225:17\n' + ' at runTest (file:///home/runner/work/modeling-app/modeling-app/node_modules/@vitest/runner/dist/index.js:781:11)\n' + ' at runSuite (file:///home/runner/work/modeling-app/modeling-app/node_modules/@vitest/runner/dist/index.js:909:15)\n' + ' at runSuite (file:///home/runner/work/modeling-app/modeling-app/node_modules/@vitest/runner/dist/index.js:909:15)\n' + ' at runFiles (file:///home/runner/work/modeling-app/modeling-app/node_modules/@vitest/runner/dist/index.js:958:5)\n' + ' at startTests (file:///home/runner/work/modeling-app/modeling-app/node_modules/@vitest/runner/dist/index.js:967:3)\n' + ' at file:///home/runner/work/modeling-app/modeling-app/node_modules/vitest/dist/chunks/runtime-runBaseTests.oAvMKtQC.js:116:7', nameStr: 'Error', expected: 'undefined', actual: 'undefined', message: '', constructor: 'Function<KCLError>', name: 'Error', toString: 'Function<toString>', stacks: [ { method: 'Module._executor', file: '/home/runner/work/modeling-app/modeling-app/src/lang/wasm.ts', line: 437, column: 22 }, { method: 'Module.enginelessExecutor', file: '/home/runner/work/modeling-app/modeling-app/src/lib/testHelpers.ts', line: 101, column: 21 }, { method: 'exe', file: '/home/runner/work/modeling-app/modeling-app/src/lang/executor.test.ts', line: 443, column: 21 }, { method: '', file: '/home/runner/work/modeling-app/modeling-app/src/lang/executor.test.ts', line: 225, column: 17 } ] } ❯ Module._executor src/lang/wasm.ts:437:22 ❯ Module.enginelessExecutor src/lib/testHelpers.ts:101:21 ❯ exe src/lang/executor.test.ts:443:21 ❯ src/lang/executor.test.ts:225:17 ⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯ Serialized Error: { kind: 'syntax', sourceRanges: [ [ 43, 44, +0 ] ], msg: 'Invalid number: integer' }
src/lang/executor.test.ts > test executor > execute object expression: src/lang/wasm.ts#L437
{ stack: 'Error: \n' + ' at Module._executor (/home/runner/work/modeling-app/modeling-app/src/lang/wasm.ts:437:22)\n' + ' at Module.enginelessExecutor (/home/runner/work/modeling-app/modeling-app/src/lib/testHelpers.ts:101:21)\n' + ' at exe (/home/runner/work/modeling-app/modeling-app/src/lang/executor.test.ts:443:21)\n' + ' at /home/runner/work/modeling-app/modeling-app/src/lang/executor.test.ts:254:17\n' + ' at runTest (file:///home/runner/work/modeling-app/modeling-app/node_modules/@vitest/runner/dist/index.js:781:11)\n' + ' at runSuite (file:///home/runner/work/modeling-app/modeling-app/node_modules/@vitest/runner/dist/index.js:909:15)\n' + ' at runSuite (file:///home/runner/work/modeling-app/modeling-app/node_modules/@vitest/runner/dist/index.js:909:15)\n' + ' at runFiles (file:///home/runner/work/modeling-app/modeling-app/node_modules/@vitest/runner/dist/index.js:958:5)\n' + ' at startTests (file:///home/runner/work/modeling-app/modeling-app/node_modules/@vitest/runner/dist/index.js:967:3)\n' + ' at file:///home/runner/work/modeling-app/modeling-app/node_modules/vitest/dist/chunks/runtime-runBaseTests.oAvMKtQC.js:116:7', kind: 'syntax', sourceRanges: [ [ 77, 78, 0 ] ], msg: 'Invalid number: integer', stackStr: 'Error: \n' + ' at Module._executor (/home/runner/work/modeling-app/modeling-app/src/lang/wasm.ts:437:22)\n' + ' at Module.enginelessExecutor (/home/runner/work/modeling-app/modeling-app/src/lib/testHelpers.ts:101:21)\n' + ' at exe (/home/runner/work/modeling-app/modeling-app/src/lang/executor.test.ts:443:21)\n' + ' at /home/runner/work/modeling-app/modeling-app/src/lang/executor.test.ts:254:17\n' + ' at runTest (file:///home/runner/work/modeling-app/modeling-app/node_modules/@vitest/runner/dist/index.js:781:11)\n' + ' at runSuite (file:///home/runner/work/modeling-app/modeling-app/node_modules/@vitest/runner/dist/index.js:909:15)\n' + ' at runSuite (file:///home/runner/work/modeling-app/modeling-app/node_modules/@vitest/runner/dist/index.js:909:15)\n' + ' at runFiles (file:///home/runner/work/modeling-app/modeling-app/node_modules/@vitest/runner/dist/index.js:958:5)\n' + ' at startTests (file:///home/runner/work/modeling-app/modeling-app/node_modules/@vitest/runner/dist/index.js:967:3)\n' + ' at file:///home/runner/work/modeling-app/modeling-app/node_modules/vitest/dist/chunks/runtime-runBaseTests.oAvMKtQC.js:116:7', nameStr: 'Error', expected: 'undefined', actual: 'undefined', message: '', constructor: 'Function<KCLError>', name: 'Error', toString: 'Function<toString>', stacks: [ { method: 'Module._executor', file: '/home/runner/work/modeling-app/modeling-app/src/lang/wasm.ts', line: 437, column: 22 }, { method: 'Module.enginelessExecutor', file: '/home/runner/work/modeling-app/modeling-app/src/lib/testHelpers.ts', line: 101, column: 21 }, { method: 'exe', file: '/home/runner/work/modeling-app/modeling-app/src/lang/executor.test.ts', line: 443, column: 21 }, { method: '', file: '/home/runner/work/modeling-app/modeling-app/src/lang/executor.test.ts', line: 254, column: 17 } ] } ❯ Module._executor src/lang/wasm.ts:437:22 ❯ Module.enginelessExecutor src/lib/testHelpers.ts:101:21 ❯ exe src/lang/executor.test.ts:443:21 ❯ src/lang/executor.test.ts:254:17 ⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯ Serialized Error: { kind: 'syntax', sourceRanges: [ [ 77, 78, +0 ] ], msg: 'Invalid number: integer' }
src/lang/executor.test.ts > test executor > execute memberExpression: src/lang/executor.test.ts#L270
AssertionError: expected { type: 'String', value: '123', …(1) } to deeply equal { type: 'UserVal', value: '123', …(1) } - Expected + Received Object { - "__meta": Array [ + "meta": Array [ Object { "sourceRange": Array [ - 41, - 50, + 19, + 24, 0, ], }, ], - "type": "UserVal", + "type": "String", "value": "123", } ❯ src/lang/executor.test.ts:270:30
src/lang/executor.test.ts > testing math operators > can sum: src/lang/wasm.ts#L437
{ stack: 'Error: \n' + ' at Module._executor (/home/runner/work/modeling-app/modeling-app/src/lang/wasm.ts:437:22)\n' + ' at Module.enginelessExecutor (/home/runner/work/modeling-app/modeling-app/src/lib/testHelpers.ts:101:21)\n' + ' at exe (/home/runner/work/modeling-app/modeling-app/src/lang/executor.test.ts:443:21)\n' + ' at /home/runner/work/modeling-app/modeling-app/src/lang/executor.test.ts:285:17\n' + ' at runTest (file:///home/runner/work/modeling-app/modeling-app/node_modules/@vitest/runner/dist/index.js:781:11)\n' + ' at runSuite (file:///home/runner/work/modeling-app/modeling-app/node_modules/@vitest/runner/dist/index.js:909:15)\n' + ' at runSuite (file:///home/runner/work/modeling-app/modeling-app/node_modules/@vitest/runner/dist/index.js:909:15)\n' + ' at runFiles (file:///home/runner/work/modeling-app/modeling-app/node_modules/@vitest/runner/dist/index.js:958:5)\n' + ' at startTests (file:///home/runner/work/modeling-app/modeling-app/node_modules/@vitest/runner/dist/index.js:967:3)\n' + ' at file:///home/runner/work/modeling-app/modeling-app/node_modules/vitest/dist/chunks/runtime-runBaseTests.oAvMKtQC.js:116:7', kind: 'syntax', sourceRanges: [ [ 14, 15, 0 ] ], msg: 'Invalid number: integer', stackStr: 'Error: \n' + ' at Module._executor (/home/runner/work/modeling-app/modeling-app/src/lang/wasm.ts:437:22)\n' + ' at Module.enginelessExecutor (/home/runner/work/modeling-app/modeling-app/src/lib/testHelpers.ts:101:21)\n' + ' at exe (/home/runner/work/modeling-app/modeling-app/src/lang/executor.test.ts:443:21)\n' + ' at /home/runner/work/modeling-app/modeling-app/src/lang/executor.test.ts:285:17\n' + ' at runTest (file:///home/runner/work/modeling-app/modeling-app/node_modules/@vitest/runner/dist/index.js:781:11)\n' + ' at runSuite (file:///home/runner/work/modeling-app/modeling-app/node_modules/@vitest/runner/dist/index.js:909:15)\n' + ' at runSuite (file:///home/runner/work/modeling-app/modeling-app/node_modules/@vitest/runner/dist/index.js:909:15)\n' + ' at runFiles (file:///home/runner/work/modeling-app/modeling-app/node_modules/@vitest/runner/dist/index.js:958:5)\n' + ' at startTests (file:///home/runner/work/modeling-app/modeling-app/node_modules/@vitest/runner/dist/index.js:967:3)\n' + ' at file:///home/runner/work/modeling-app/modeling-app/node_modules/vitest/dist/chunks/runtime-runBaseTests.oAvMKtQC.js:116:7', nameStr: 'Error', expected: 'undefined', actual: 'undefined', message: '', constructor: 'Function<KCLError>', name: 'Error', toString: 'Function<toString>', stacks: [ { method: 'Module._executor', file: '/home/runner/work/modeling-app/modeling-app/src/lang/wasm.ts', line: 437, column: 22 }, { method: 'Module.enginelessExecutor', file: '/home/runner/work/modeling-app/modeling-app/src/lib/testHelpers.ts', line: 101, column: 21 }, { method: 'exe', file: '/home/runner/work/modeling-app/modeling-app/src/lang/executor.test.ts', line: 443, column: 21 }, { method: '', file: '/home/runner/work/modeling-app/modeling-app/src/lang/executor.test.ts', line: 285, column: 17 } ] } ❯ Module._executor src/lang/wasm.ts:437:22 ❯ Module.enginelessExecutor src/lib/testHelpers.ts:101:21 ❯ exe src/lang/executor.test.ts:443:21 ❯ src/lang/executor.test.ts:285:17 ⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯ Serialized Error: { kind: 'syntax', sourceRanges: [ [ 14, 15, +0 ] ], msg: 'Invalid number: integer' }
src/lang/executor.test.ts > testing math operators > can subtract: src/lang/wasm.ts#L437
{ stack: 'Error: \n' + ' at Module._executor (/home/runner/work/modeling-app/modeling-app/src/lang/wasm.ts:437:22)\n' + ' at Module.enginelessExecutor (/home/runner/work/modeling-app/modeling-app/src/lib/testHelpers.ts:101:21)\n' + ' at exe (/home/runner/work/modeling-app/modeling-app/src/lang/executor.test.ts:443:21)\n' + ' at /home/runner/work/modeling-app/modeling-app/src/lang/executor.test.ts:290:17\n' + ' at runTest (file:///home/runner/work/modeling-app/modeling-app/node_modules/@vitest/runner/dist/index.js:781:11)\n' + ' at runSuite (file:///home/runner/work/modeling-app/modeling-app/node_modules/@vitest/runner/dist/index.js:909:15)\n' + ' at runSuite (file:///home/runner/work/modeling-app/modeling-app/node_modules/@vitest/runner/dist/index.js:909:15)\n' + ' at runFiles (file:///home/runner/work/modeling-app/modeling-app/node_modules/@vitest/runner/dist/index.js:958:5)\n' + ' at startTests (file:///home/runner/work/modeling-app/modeling-app/node_modules/@vitest/runner/dist/index.js:967:3)\n' + ' at file:///home/runner/work/modeling-app/modeling-app/node_modules/vitest/dist/chunks/runtime-runBaseTests.oAvMKtQC.js:116:7', kind: 'syntax', sourceRanges: [ [ 14, 15, 0 ] ], msg: 'Invalid number: integer', stackStr: 'Error: \n' + ' at Module._executor (/home/runner/work/modeling-app/modeling-app/src/lang/wasm.ts:437:22)\n' + ' at Module.enginelessExecutor (/home/runner/work/modeling-app/modeling-app/src/lib/testHelpers.ts:101:21)\n' + ' at exe (/home/runner/work/modeling-app/modeling-app/src/lang/executor.test.ts:443:21)\n' + ' at /home/runner/work/modeling-app/modeling-app/src/lang/executor.test.ts:290:17\n' + ' at runTest (file:///home/runner/work/modeling-app/modeling-app/node_modules/@vitest/runner/dist/index.js:781:11)\n' + ' at runSuite (file:///home/runner/work/modeling-app/modeling-app/node_modules/@vitest/runner/dist/index.js:909:15)\n' + ' at runSuite (file:///home/runner/work/modeling-app/modeling-app/node_modules/@vitest/runner/dist/index.js:909:15)\n' + ' at runFiles (file:///home/runner/work/modeling-app/modeling-app/node_modules/@vitest/runner/dist/index.js:958:5)\n' + ' at startTests (file:///home/runner/work/modeling-app/modeling-app/node_modules/@vitest/runner/dist/index.js:967:3)\n' + ' at file:///home/runner/work/modeling-app/modeling-app/node_modules/vitest/dist/chunks/runtime-runBaseTests.oAvMKtQC.js:116:7', nameStr: 'Error', expected: 'undefined', actual: 'undefined', message: '', constructor: 'Function<KCLError>', name: 'Error', toString: 'Function<toString>', stacks: [ { method: 'Module._executor', file: '/home/runner/work/modeling-app/modeling-app/src/lang/wasm.ts', line: 437, column: 22 }, { method: 'Module.enginelessExecutor', file: '/home/runner/work/modeling-app/modeling-app/src/lib/testHelpers.ts', line: 101, column: 21 }, { method: 'exe', file: '/home/runner/work/modeling-app/modeling-app/src/lang/executor.test.ts', line: 443, column: 21 }, { method: '', file: '/home/runner/work/modeling-app/modeling-app/src/lang/executor.test.ts', line: 290, column: 17 } ] } ❯ Module._executor src/lang/wasm.ts:437:22 ❯ Module.enginelessExecutor src/lib/testHelpers.ts:101:21 ❯ exe src/lang/executor.test.ts:443:21 ❯ src/lang/executor.test.ts:290:17 ⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯ Serialized Error: { kind: 'syntax', sourceRanges: [ [ 14, 15, +0 ] ], msg: 'Invalid number: integer' }
src/lang/executor.test.ts > testing math operators > can multiply: src/lang/wasm.ts#L437
{ stack: 'Error: \n' + ' at Module._executor (/home/runner/work/modeling-app/modeling-app/src/lang/wasm.ts:437:22)\n' + ' at Module.enginelessExecutor (/home/runner/work/modeling-app/modeling-app/src/lib/testHelpers.ts:101:21)\n' + ' at exe (/home/runner/work/modeling-app/modeling-app/src/lang/executor.test.ts:443:21)\n' + ' at /home/runner/work/modeling-app/modeling-app/src/lang/executor.test.ts:295:17\n' + ' at runTest (file:///home/runner/work/modeling-app/modeling-app/node_modules/@vitest/runner/dist/index.js:781:11)\n' + ' at runSuite (file:///home/runner/work/modeling-app/modeling-app/node_modules/@vitest/runner/dist/index.js:909:15)\n' + ' at runSuite (file:///home/runner/work/modeling-app/modeling-app/node_modules/@vitest/runner/dist/index.js:909:15)\n' + ' at runFiles (file:///home/runner/work/modeling-app/modeling-app/node_modules/@vitest/runner/dist/index.js:958:5)\n' + ' at startTests (file:///home/runner/work/modeling-app/modeling-app/node_modules/@vitest/runner/dist/index.js:967:3)\n' + ' at file:///home/runner/work/modeling-app/modeling-app/node_modules/vitest/dist/chunks/runtime-runBaseTests.oAvMKtQC.js:116:7', kind: 'syntax', sourceRanges: [ [ 14, 15, 0 ] ], msg: 'Invalid number: integer', stackStr: 'Error: \n' + ' at Module._executor (/home/runner/work/modeling-app/modeling-app/src/lang/wasm.ts:437:22)\n' + ' at Module.enginelessExecutor (/home/runner/work/modeling-app/modeling-app/src/lib/testHelpers.ts:101:21)\n' + ' at exe (/home/runner/work/modeling-app/modeling-app/src/lang/executor.test.ts:443:21)\n' + ' at /home/runner/work/modeling-app/modeling-app/src/lang/executor.test.ts:295:17\n' + ' at runTest (file:///home/runner/work/modeling-app/modeling-app/node_modules/@vitest/runner/dist/index.js:781:11)\n' + ' at runSuite (file:///home/runner/work/modeling-app/modeling-app/node_modules/@vitest/runner/dist/index.js:909:15)\n' + ' at runSuite (file:///home/runner/work/modeling-app/modeling-app/node_modules/@vitest/runner/dist/index.js:909:15)\n' + ' at runFiles (file:///home/runner/work/modeling-app/modeling-app/node_modules/@vitest/runner/dist/index.js:958:5)\n' + ' at startTests (file:///home/runner/work/modeling-app/modeling-app/node_modules/@vitest/runner/dist/index.js:967:3)\n' + ' at file:///home/runner/work/modeling-app/modeling-app/node_modules/vitest/dist/chunks/runtime-runBaseTests.oAvMKtQC.js:116:7', nameStr: 'Error', expected: 'undefined', actual: 'undefined', message: '', constructor: 'Function<KCLError>', name: 'Error', toString: 'Function<toString>', stacks: [ { method: 'Module._executor', file: '/home/runner/work/modeling-app/modeling-app/src/lang/wasm.ts', line: 437, column: 22 }, { method: 'Module.enginelessExecutor', file: '/home/runner/work/modeling-app/modeling-app/src/lib/testHelpers.ts', line: 101, column: 21 }, { method: 'exe', file: '/home/runner/work/modeling-app/modeling-app/src/lang/executor.test.ts', line: 443, column: 21 }, { method: '', file: '/home/runner/work/modeling-app/modeling-app/src/lang/executor.test.ts', line: 295, column: 17 } ] } ❯ Module._executor src/lang/wasm.ts:437:22 ❯ Module.enginelessExecutor src/lib/testHelpers.ts:101:21 ❯ exe src/lang/executor.test.ts:443:21 ❯ src/lang/executor.test.ts:295:17 ⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯ Serialized Error: { kind: 'syntax', sourceRanges: [ [ 14, 15, +0 ] ], msg: 'Invalid number: integer' }
src/lang/executor.test.ts > testing math operators > can divide: src/lang/wasm.ts#L437
{ stack: 'Error: \n' + ' at Module._executor (/home/runner/work/modeling-app/modeling-app/src/lang/wasm.ts:437:22)\n' + ' at Module.enginelessExecutor (/home/runner/work/modeling-app/modeling-app/src/lib/testHelpers.ts:101:21)\n' + ' at exe (/home/runner/work/modeling-app/modeling-app/src/lang/executor.test.ts:443:21)\n' + ' at /home/runner/work/modeling-app/modeling-app/src/lang/executor.test.ts:300:17\n' + ' at runTest (file:///home/runner/work/modeling-app/modeling-app/node_modules/@vitest/runner/dist/index.js:781:11)\n' + ' at runSuite (file:///home/runner/work/modeling-app/modeling-app/node_modules/@vitest/runner/dist/index.js:909:15)\n' + ' at runSuite (file:///home/runner/work/modeling-app/modeling-app/node_modules/@vitest/runner/dist/index.js:909:15)\n' + ' at runFiles (file:///home/runner/work/modeling-app/modeling-app/node_modules/@vitest/runner/dist/index.js:958:5)\n' + ' at startTests (file:///home/runner/work/modeling-app/modeling-app/node_modules/@vitest/runner/dist/index.js:967:3)\n' + ' at file:///home/runner/work/modeling-app/modeling-app/node_modules/vitest/dist/chunks/runtime-runBaseTests.oAvMKtQC.js:116:7', kind: 'syntax', sourceRanges: [ [ 14, 15, 0 ] ], msg: 'Invalid number: integer', stackStr: 'Error: \n' + ' at Module._executor (/home/runner/work/modeling-app/modeling-app/src/lang/wasm.ts:437:22)\n' + ' at Module.enginelessExecutor (/home/runner/work/modeling-app/modeling-app/src/lib/testHelpers.ts:101:21)\n' + ' at exe (/home/runner/work/modeling-app/modeling-app/src/lang/executor.test.ts:443:21)\n' + ' at /home/runner/work/modeling-app/modeling-app/src/lang/executor.test.ts:300:17\n' + ' at runTest (file:///home/runner/work/modeling-app/modeling-app/node_modules/@vitest/runner/dist/index.js:781:11)\n' + ' at runSuite (file:///home/runner/work/modeling-app/modeling-app/node_modules/@vitest/runner/dist/index.js:909:15)\n' + ' at runSuite (file:///home/runner/work/modeling-app/modeling-app/node_modules/@vitest/runner/dist/index.js:909:15)\n' + ' at runFiles (file:///home/runner/work/modeling-app/modeling-app/node_modules/@vitest/runner/dist/index.js:958:5)\n' + ' at startTests (file:///home/runner/work/modeling-app/modeling-app/node_modules/@vitest/runner/dist/index.js:967:3)\n' + ' at file:///home/runner/work/modeling-app/modeling-app/node_modules/vitest/dist/chunks/runtime-runBaseTests.oAvMKtQC.js:116:7', nameStr: 'Error', expected: 'undefined', actual: 'undefined', message: '', constructor: 'Function<KCLError>', name: 'Error', toString: 'Function<toString>', stacks: [ { method: 'Module._executor', file: '/home/runner/work/modeling-app/modeling-app/src/lang/wasm.ts', line: 437, column: 22 }, { method: 'Module.enginelessExecutor', file: '/home/runner/work/modeling-app/modeling-app/src/lib/testHelpers.ts', line: 101, column: 21 }, { method: 'exe', file: '/home/runner/work/modeling-app/modeling-app/src/lang/executor.test.ts', line: 443, column: 21 }, { method: '', file: '/home/runner/work/modeling-app/modeling-app/src/lang/executor.test.ts', line: 300, column: 17 } ] } ❯ Module._executor src/lang/wasm.ts:437:22 ❯ Module.enginelessExecutor src/lib/testHelpers.ts:101:21 ❯ exe src/lang/executor.test.ts:443:21 ❯ src/lang/executor.test.ts:300:17 ⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯ Serialized Error: { kind: 'syntax', sourceRanges: [ [ 14, 15, +0 ] ], msg: 'Invalid number: integer' }
yarn-unit-test-kcl-samples
The job running on runner GitHub Actions 279 has exceeded the maximum execution time of 360 minutes.
yarn-unit-test-kcl-samples
The operation was canceled.
python-codespell
The `python-version` input is not set. The version of Python currently in `PATH` will be used.