Files
vercel__workflow/.changeset/quickjs-default-engine.md
Nathan Rajlich 6af2c2c7b8 Make QuickJS the default workflow VM engine (WORKFLOW_VM=node opts back into node:vm)
- useQuickJSVm defaults to the QuickJS engine when neither the run's
  stamped executionContext.workflowVm nor WORKFLOW_VM specifies one;
  WORKFLOW_VM=node is the explicit node:vm opt-in.
- CI matrix inverted to match: quickjs legs leave WORKFLOW_VM unset so
  the default-selection path is exercised end to end; node legs opt in
  explicitly (labels/artifacts unchanged via MATRIX_VM).
- Entrypoint tests that assert node replay-loop internals against mock
  worlds pin WORKFLOW_VM=node (the quickjs path would instantiate a WASM
  VM per call).
- Docs + changeset updated. Runs keep the engine stamped at start().
2026-07-31 16:07:52 -07:00

240 B

@workflow/core
@workflow/core
minor

The QuickJS WASM VM is now the default workflow engine. Set WORKFLOW_VM=node to opt back into the node:vm engine. Existing runs keep executing on the engine stamped in their executionContext at start.