packages/kernel/runtime-deno-subprocess/src/index.ts had a shortcut in resolveWorkerScriptPath:
const moduleUrl = String(import.meta.url);
if (moduleUrl.startsWith("/")) return moduleUrl;
On Windows, import.meta.url is a file:///C:/... URL, so its pathname starts with /C:/ not just /. Returning the raw URL string instead of the proper file path breaks worker script loading on Windows.
Fix: remove the shortcut and always go through fileURLToPath.
Fixed in: packages/kernel/runtime-deno-subprocess/src/index.ts
Identified and fixed with AI assistance.
packages/kernel/runtime-deno-subprocess/src/index.tshad a shortcut inresolveWorkerScriptPath:On Windows,
import.meta.urlis afile:///C:/...URL, so its pathname starts with/C:/not just/. Returning the raw URL string instead of the proper file path breaks worker script loading on Windows.Fix: remove the shortcut and always go through
fileURLToPath.Fixed in:
packages/kernel/runtime-deno-subprocess/src/index.tsIdentified and fixed with AI assistance.