While reading Fixing a Memory Leak in a Production Node.js App (Great job BTW)
It would be great if you could add links to the GitHub code that caused the problem (like the express-http-stream usage and the shiki usage within the worker thread)
this would be great for further investigation (I for example wanna check out why express-http-stream caused the error and how you used it but it's kinda hard looking for something that was deleted...)