New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
fix: avoid creating client_id file for empty DIR_CRASH_DUMPS #25296
Conversation
685b0df
to
6fd85aa
Compare
hm... does this mean crashes in node child processes on linux won't come with a Perhaps we should set |
Yeah thought about that, but I don't see a reasonable way to specify the value as |
I was imagining setting the env var in |
I think the ultimate path forward here is to switch to crashpad on Linux, which we'll do eventually anyway. |
yep FWIW crash reporting from node child process wasn't working at all on linux before the refactor, so I think we can leave this as such until the crashpad move is made. |
Release Notes Persisted
|
I was unable to backport this PR to "9-x-y" cleanly; |
I have automatically backported this PR to "10-x-y", please check out #25309 |
I have automatically backported this PR to "11-x-y", please check out #25310 |
@deepak1556 has manually backported this PR to "9-x-y", please check out #25316 |
Description of Change
Node child process don't set
DIR_CRASH_DUMPS
unless the undocumentedBREAKPAD_DUMP_LOCATION
is specified, in these situations client_id file will be generated under the working directory.Refs microsoft/vscode#105743
Checklist
npm test
passesRelease Notes
Notes: Fixed client_id file being generated in the working directory for Node.js child processes.