Skip to content
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: enable crashpad for ELECTRON_RUN_AS_NODE processes #36483

Merged
merged 2 commits into from Nov 29, 2022

Conversation

VerteDinde
Copy link
Member

Manual backport of #36460

See that PR for details

Notes: Enable crashpad for ELECTRON_RUN_AS_NODE processes on linux.

* wip: enable crashpad for node processes

fix: add PID testing method

wip: plumb fd into child_process in node

* node::ProcessInitializationFlags::kNoDefaultSignalHandling

* chore: clean up debug logging

* chore: gate platform includes

* test: clean up node process test

* fix: pass pid in node_main

* chore: cleanup impl

* chore: fixup patch method definition

* fix: expose bound methods to node_main

* fix: remove bound methods

* fix: crashpad connection for all ELECTRON_RUN_AS_NODE processes

* chore: fix typo

* chore: address review feedback

* chore: delay crashpad initialization

* chore: ensure options.env, code hygiene

* chore: add argv test, check for process.env over {}

* fix: fix test, return options.env immutability

Co-authored-by: VerteDinde <keeleymhammond@gmail.com>
Co-authored-by: Jeremy Rose <jeremya@chromium.org>
Co-authored-by: VerteDinde <vertedinde@electronjs.org>
@VerteDinde VerteDinde requested a review from a team as a code owner November 29, 2022 16:06
@electron-cation electron-cation bot added the new-pr 🌱 PR opened in the last 24 hours label Nov 29, 2022
@trop trop bot added 22-x-y backport This is a backport PR semver/patch backwards-compatible bug fixes labels Nov 29, 2022
@electron-cation electron-cation bot removed the new-pr 🌱 PR opened in the last 24 hours label Nov 29, 2022
@jkleinsc jkleinsc merged commit 8d9a964 into 22-x-y Nov 29, 2022
@jkleinsc jkleinsc deleted the mb-crashpad-node-22-x-y branch November 29, 2022 18:03
@release-clerk
Copy link

release-clerk bot commented Nov 29, 2022

Release Notes Persisted

Enable crashpad for ELECTRON_RUN_AS_NODE processes on linux.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
22-x-y backport This is a backport PR semver/patch backwards-compatible bug fixes
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

2 participants