Note: As the issue only happened locally, I assume a timing issue.
Description
Expected: Tests run through successfully
Actual:
stderr | src/examples-smoke-test.spec.ts > jv example smoke tests > should have no errors when executing gtfs-static.jv example
Attempted reference resolution before document reached ComputedScopes state (builtin:/stdlib/domain/mobility/GTFSExtractor.jv).
error: An unknown error occurred: AssertionError [ERR_ASSERTION]: AstNode GTFSExtractor cannot be wrapped
at PipelineWrapperFactory.wrap (/home/georg/dev/jvalue/jayvee/libs/language-server/src/lib/ast/wrappers/wrapper-factory-provider.ts:51:5)
at PipelineWrapperFactory.wrap (/home/georg/dev/jvalue/jayvee/libs/language-server/src/lib/ast/wrappers/wrapper-factory-provider.ts:202:18)
at Module.executeBlocks (/home/georg/dev/jvalue/jayvee/libs/execution/src/lib/blocks/block-execution-util.ts:37:48)
at AbstractBlockExecutor.doExecute (/home/georg/dev/jvalue/jayvee/libs/execution/src/lib/blocks/composite-block-executor.ts:71:37)
at AbstractBlockExecutor.execute (/home/georg/dev/jvalue/jayvee/libs/execution/src/lib/blocks/block-executor.ts:39:40)
at executeBlock (/home/georg/dev/jvalue/jayvee/libs/execution/src/lib/blocks/block-execution-util.ts:102:34)
at Module.executeBlocks (/home/georg/dev/jvalue/jayvee/libs/execution/src/lib/blocks/block-execution-util.ts:65:35)
at DefaultJayveeInterpreter.runPipeline (/home/georg/dev/jvalue/jayvee/libs/interpreter-lib/src/interpreter.ts:284:35)
at /home/georg/dev/jvalue/jayvee/libs/interpreter-lib/src/interpreter.ts:236:21
at Array.map (<anonymous>)
at DefaultJayveeInterpreter.interpretJayveeModel (/home/georg/dev/jvalue/jayvee/libs/interpreter-lib/src/interpreter.ts:234:65)
at DefaultJayveeInterpreter.interpretModel (/home/georg/dev/jvalue/jayvee/libs/interpreter-lib/src/interpreter.ts:122:47)
at DefaultJayveeInterpreter.interpretFile (/home/georg/dev/jvalue/jayvee/libs/interpreter-lib/src/interpreter.ts:148:12)
at Module.runAction (/home/georg/dev/jvalue/jayvee/apps/interpreter/src/run-action.ts:54:20)
at /home/georg/dev/jvalue/jayvee/apps/interpreter/src/examples-smoke-test.spec.ts:215:5
at runTest (file:///home/georg/dev/jvalue/jayvee/node_modules/@vitest/runner/dist/index.js:771:11)
$In /home/georg/dev/jvalue/jayvee/example/gtfs-static.jv:62:9
62 | block GTFSSampleFeedExtractor oftype GTFSExtractor {
| ^^^^^^^^^^^^^^^^^^^^^^^
⎯⎯⎯⎯⎯⎯⎯ Failed Tests 1 ⎯⎯⎯⎯⎯⎯⎯
FAIL src/examples-smoke-test.spec.ts > jv example smoke tests > should have no errors when executing gtfs-static.jv example
Error: process.exit: 1
❯ processExitMockImplementation ../../libs/execution/test/utils/test-infrastructure-util.ts:39:9
37| return undefined as never;
38| }
39| throw new Error(`process.exit: ${code}`);
| ^
40| }
41|
❯ Module.runAction src/run-action.ts:57:11
❯ src/examples-smoke-test.spec.ts:215:5
Steps to reproduce
npm ci
andnpm run test
Note: As the issue only happened locally, I assume a timing issue.
Description
Actual: