Skip to content

refactor: hand crashpad env to run-as-node children from lib/node/init - #53581

Merged
MarshallOfSound merged 3 commits into
44-x-yfrom
trop/44-x-y-bp-refactor-hand-crashpad-env-to-run-as-node-children-from-lib-node-init-1788598842859
Sep 5, 2026
Merged

refactor: hand crashpad env to run-as-node children from lib/node/init#53581
MarshallOfSound merged 3 commits into
44-x-yfrom
trop/44-x-y-bp-refactor-hand-crashpad-env-to-run-as-node-children-from-lib-node-init-1788598842859

Conversation

@trop

@trop trop Bot commented Sep 5, 2026

Copy link
Copy Markdown
Contributor

Backport of #53527

See that PR for details.

Notes: none

trop Bot and others added 3 commits September 5, 2026 09:00
Wrap internal/child_process's ChildProcess.prototype.spawn and spawnSync in
lib/node/init.ts to add CRASHDUMP_SIGNAL_FD / CRASHPAD_HANDLER_PID for
ELECTRON_RUN_AS_NODE children of process.execPath on Linux, replacing the
patch to Node's normalizeSpawnArguments().

Co-authored-by: Shelley Vohr <shelley.vohr@gmail.com>
Co-authored-by: Shelley Vohr <shelley.vohr@gmail.com>
parallel/test-child-process-constructor calls ChildProcess.prototype.spawn with
non-object options and non-array envPairs and expects Node's own errors.

Co-authored-by: Shelley Vohr <shelley.vohr@gmail.com>
@trop
trop Bot requested a review from a team as a code owner September 5, 2026 09:01
@trop
trop Bot requested a review from codebytere September 5, 2026 09:01
@trop trop Bot added 44-x-y backport This is a backport PR semver/none labels Sep 5, 2026
@MarshallOfSound
MarshallOfSound merged commit c5376a0 into 44-x-y Sep 5, 2026
92 checks passed
@release-clerk

release-clerk Bot commented Sep 5, 2026

Copy link
Copy Markdown

No Release Notes

@MarshallOfSound
MarshallOfSound deleted the trop/44-x-y-bp-refactor-hand-crashpad-env-to-run-as-node-children-from-lib-node-init-1788598842859 branch September 5, 2026 14:54
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

Projects

Status: No status

Development

Successfully merging this pull request may close these issues.

1 participant