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
trace-atomics-wait doesn't propagate to workers when env is set #53374
When running in its original form, the test produces two profile files, as intended. When passing {env: process.env} into the worker invocation, however, it only produces one profile file.
Additional information
This may be a dup of #52825, but given that it's a different flag, the fix might be slightly different, so I figured I should bring it to your attention
Activity
avivkeller commentedon Jun 6, 2024
CC @theanarkh, I believe #53029 fixed this, right?
theanarkh commentedon Jun 7, 2024
Yes. But this flag
--trace-atomics-waithas been removed.orinatic commentedon Jun 7, 2024
Oh, also: it looks like the same thing is true of
--trace-exit. I assume that's probably covered by the fix as well though?theanarkh commentedon Jun 7, 2024
Yes. The fix ensures that
execArgvis passed to the worker(it will be released in Node.jsv22.3.0).You can try the following code with main branch(
node --trace-exit demo.js)it will print
Before
v22.3.0. It will printorinatic commentedon Jun 7, 2024
Awesome, thank you!
avivkeller commentedon Jun 7, 2024
Great! v22.3.0 will release soon (#53379)