-
Notifications
You must be signed in to change notification settings - Fork 16.5k
feat: add error event for utility process #43774
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
Conversation
e61d4ca
to
02e6fee
Compare
02e6fee
to
0f45d14
Compare
patches/node/feat_expose_report_writing_entrypoint_to_embedders.patch
Outdated
Show resolved
Hide resolved
Refs electron/electron#43774 Allows creating Node.js diagnostic reports from Electron signal handlers. Currently used by Utility process to support error event.
Refs electron/electron#43774 Allows creating Node.js diagnostic reports from Electron signal handlers. Currently used by Utility process to support error event.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
API LGTM
just needs lint correction
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
API LGTM
Release Notes Persisted
|
I was unable to backport this PR to "33-x-y" cleanly; |
I was unable to backport this PR to "32-x-y" cleanly; |
* feat: add error event for utility process * chore: use public report api * chore: fix lint * doc: mark error event as experimental --------- Co-authored-by: Shelley Vohr <shelley.vohr@gmail.com>
remove #include "electron/mas.h" this header did not exist before c1c8fbf
* feat: add error event for utility process (#43774) * feat: add error event for utility process * chore: use public report api * chore: fix lint * doc: mark error event as experimental --------- Co-authored-by: Shelley Vohr <shelley.vohr@gmail.com> * fixup! feat: add error event for utility process (#43774) remove #include "electron/mas.h" this header did not exist before c1c8fbf --------- Co-authored-by: Robo <hop2deep@gmail.com> Co-authored-by: Shelley Vohr <shelley.vohr@gmail.com>
* feat: add error event for utility process * chore: use public report api * chore: fix lint * doc: mark error event as experimental --------- Co-authored-by: Shelley Vohr <shelley.vohr@gmail.com>
* feat: add error event for utility process * chore: use public report api * chore: fix lint * doc: mark error event as experimental --------- Co-authored-by: Shelley Vohr <shelley.vohr@gmail.com>
* feat: add error event for utility process * chore: use public report api * chore: fix lint * doc: mark error event as experimental --------- Co-authored-by: Shelley Vohr <shelley.vohr@gmail.com>
Description of Change
This enables application to collect additional diagnostic data for telemetry purposes. Primary use case for VSCode is to identify addons loaded by 3rd party extensions in the utility process that could trigger V8 Fatal error due to sandbox violation. Additional details available at https://gist.github.com/deepak1556/ec4a882156855f0d7870a4a7c01758e3
The error event can be extended in future on a need basis to expose other error types that the Node.js report module supports.
Checklist
npm test
passesRelease Notes
Notes: Add error event in utility process to support diagnostic reports on V8 fatal errors