🐛 BUG: No clean shutdown possible as child_process
, results in workerd
zombie proccesses
#4131
Labels
bug
Something that isn't working
Which Cloudflare product(s) does this pertain to?
Wrangler core
What version(s) of the tool(s) are you using?
3.11.0
What version of Node are you using?
No response
What operating system are you using?
Mac
Describe the Bug
At Astro we are using the following code to run
wrangler
in our test suite. We do have issues with the teardown. The only way we see is to kill thechild_process
, however this does not work, because https://github.com/cloudflare/workers-sdk/blob/main/packages/wrangler/src/pages/dev.ts#L662 does not return, and therefore theCLEANUP
does not work. This is also seen in the logs below, where I added a bunch of console logs after each lineThis is our debug script:
Please provide a link to a minimal reproduction
No response
Please provide any relevant error logs
Logs using
wrangler
directlyLogs using
wrangler
aschild_process
The text was updated successfully, but these errors were encountered: