-
Notifications
You must be signed in to change notification settings - Fork 987
Open
Labels
bugSomething that isn't workingSomething that isn't working
Description
What versions & operating system are you using?
System:
OS: Linux 6.16 Debian GNU/Linux 12 (bookworm) 12 (bookworm)
CPU: (12) x64 Intel(R) Core(TM) i7-9750H CPU @ 2.60GHz
Memory: 17.12 GB / 31.08 GB
Container: Yes
Shell: 5.2.15 - /bin/bash
Binaries:
Node: 22.18.0 - /usr/local/bin/node
npm: 10.9.3 - /usr/local/bin/npm
pnpm: 10.15.1 - /usr/local/bin/pnpm
Please provide a link to a minimal reproduction
No response
Describe the Bug
I'm experiencing an issue where I'm not able to run tests against workflows in CI (on Gitlab), while the same setup works perfectly fine locally on my machine. I've tried everything I can and still keep running into this issue.
Please let me know if any further details can help with figuring this out!
My vitest config looks like this:
{
test: {
globals: true,
poolOptions: {
workers: {
main: './tests/example-workflow/index.ts',
wrangler: {
configPath: './wrangler.toml',
},
miniflare: {
workflows: {
TEST_WORKFLOW: {
name: 'test-workflow',
className: 'TestWorkflow',
},
},
},
isolatedStorage: false,
},
},
testTimeout: 60_000,
}
}
Please provide any relevant error logs
workerd/io/worker.c++:2168: info: uncaught exception; source = Uncaught (in promise); stack = Error: [vitest-worker]: Timeout calling "resolveId" with "["/builds/xxx/cf-workers/packages/xxx-xxx/tests/example-workflow/index.ts",null,"ssr"]"
at Object.onTimeoutError (builds/xxx/cf-workers/.pnpm/[email protected]_@[email protected]_@[email protected][email protected][email protected]_lightningcss@_3c9040e5fe907c24fdbb08fbda7e5898/node_modules/vitest/dist/chunks/rpc.-pEldfrD.js:53:10)
at builds/xxx/cf-workers/.pnpm/[email protected]_@[email protected]_@[email protected][email protected][email protected]_lightningcss@_3c9040e5fe907c24fdbb08fbda7e5898/node_modules/vitest/dist/chunks/index.B521nVV-.js:59:62
Metadata
Metadata
Assignees
Labels
bugSomething that isn't workingSomething that isn't working
Type
Projects
Status
Untriaged