You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
Support Node.js profiling in worker threads #26251
Profiling is currently disabled inside Node.js worker threads. #20040 introduced this guard after #20029 demonstrated heap corruption and crashes when using nodeProfilingIntegration() in workers.
Add safe support for profiling code executing inside worker threads, including continuous profiling with both manual and trace lifecycles. Address the underlying native profiler issue before removing the guard.
Expected behavior:
Workers can independently collect and send profiles.
Profiles identify the originating worker and correlate with its traces.
Profiling remains stable during concurrent worker activity, garbage collection, and worker shutdown.
Hi @nicohrubec , I’d love to work on this, If it’s available for external contributors, I can share my approach. If it’s already being handled internally, no worries, thanks for the detailed write-up either way.
Activity
linear-code commentedon Nov 10, 2026
JS-4094
drona-gyawali commentedon Nov 16, 2026
Hi @nicohrubec , I’d love to work on this, If it’s available for external contributors, I can share my approach. If it’s already being handled internally, no worries, thanks for the detailed write-up either way.
nicohrubec commentedon Nov 16, 2026
Hey @drona-gyawali , thanks for offering. This ones a bit tricky so we'll tackle this ourselves.