Fix CI failures when workerThreads is enabled by default
- Add exit/message event listeners for worker threads in worker.ts, mirroring
the existing child process handlers for error propagation and progress tracking
- Fix export/worker.ts to use parentPort.postMessage() in worker thread mode
instead of process.send() (which is undefined in worker_threads)
- Update config-experimental-warning tests: workerThreads:true is now the default,
so tests use workerThreads:false to show a non-default experimental value
- Add workerThreads:false to worker-kill fixture (SIGKILL only works with child processes)
- Add workerThreads:false to prerender-native-module fixture (sqlite3 is not thread-safe)
- Update cpu-profiling test to expect an additional build-static-worker profile
now that the static worker runs as a thread and exits cleanly (saving its profile)
Co-Authored-By:
Claude <noreply@anthropic.com>
Showing
Please
register
or
sign in
to comment