You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
To reproduce - clone the repository above, npm install then npm run test. Vitest will return the following exception:
[vpw:inf] Starting isolated runtimes for vitest.config.mts...
Worker "workflows:never-gonna"'s binding "USER_WORKFLOW" refers to service "core:user:vitest-pool-workers-runner-" with a named entrypoint "NeverGonnaWorkflow", but "core:user:vitest-pool-workers-runner-" has no such named entrypoint.
This is the exact same exception I get when running vitest in my own worker. As soon as I remove the Workflows config from wrangler.toml the tests run without issue.
Running wrangler dev (in my local setup) with the Workflow configured runs without issue.
Happy to share more information if that would be helpful. Thanks.
The text was updated successfully, but these errors were encountered:
I'm running into an issue where vitest throws a
MiniflareCoreError [ERR_RUNTIME_FAILURE]
exception whenever a Workflow is configured on a worker.A good example can be found via Cloudflare's own official documentation: https://developers.cloudflare.com/workflows/examples/twilio/
This points to the following repository: https://github.com/craigsdennis/twilio-cloudflare-workflow
To reproduce - clone the repository above,
npm install
thennpm run test
. Vitest will return the following exception:This is the exact same exception I get when running vitest in my own worker. As soon as I remove the Workflows config from wrangler.toml the tests run without issue.
Running
wrangler dev
(in my local setup) with the Workflow configured runs without issue.Happy to share more information if that would be helpful. Thanks.
The text was updated successfully, but these errors were encountered: