Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Appearance settings

Conversation

deepak1556
Copy link
Member

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

Release Notes

Notes: Add error event in utility process to support diagnostic reports on V8 fatal errors

@deepak1556 deepak1556 added semver/minor backwards-compatible functionality target/32-x-y PR should also be added to the "32-x-y" branch. target/33-x-y PR should also be added to the "33-x-y" branch. labels Sep 18, 2024
@deepak1556 deepak1556 requested a review from a team as a code owner September 18, 2024 14:03
@deepak1556 deepak1556 requested a review from ckerr September 18, 2024 14:03
@deepak1556 deepak1556 force-pushed the robo/expose_sandbox_error branch from e61d4ca to 02e6fee Compare September 18, 2024 17:37
@deepak1556 deepak1556 force-pushed the robo/expose_sandbox_error branch from 02e6fee to 0f45d14 Compare September 19, 2024 09:12
@codebytere codebytere self-requested a review September 19, 2024 11:02
codebytere added a commit to codebytere/node that referenced this pull request Sep 23, 2024
Refs electron/electron#43774

Allows creating Node.js diagnostic reports from Electron signal handlers.
Currently used by Utility process to support error event.
codebytere added a commit to codebytere/node that referenced this pull request Sep 23, 2024
Refs electron/electron#43774

Allows creating Node.js diagnostic reports from Electron signal handlers.
Currently used by Utility process to support error event.
Copy link
Member

@codebytere codebytere left a 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

@electron-cation electron-cation bot removed the new-pr 🌱 PR opened recently label Sep 25, 2024
Copy link
Member

@ckerr ckerr left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

API LGTM

docs/api/utility-process.md Outdated Show resolved Hide resolved
@deepak1556 deepak1556 requested a review from ckerr September 26, 2024 07:44
@deepak1556 deepak1556 merged commit f68184a into main Sep 27, 2024
53 checks passed
@deepak1556 deepak1556 deleted the robo/expose_sandbox_error branch September 27, 2024 01:17
@release-clerk
Copy link

release-clerk bot commented Sep 27, 2024

Release Notes Persisted

Add error event in utility process to support diagnostic reports on V8 fatal errors

@trop
Copy link
Contributor

trop bot commented Sep 27, 2024

I was unable to backport this PR to "33-x-y" cleanly;
you will need to perform this backport manually.

@trop trop bot removed the target/33-x-y PR should also be added to the "33-x-y" branch. label Sep 27, 2024
@trop
Copy link
Contributor

trop bot commented Sep 27, 2024

I was unable to backport this PR to "32-x-y" cleanly;
you will need to perform this backport manually.

@trop trop bot added needs-manual-bp/33-x-y needs-manual-bp/32-x-y and removed target/32-x-y PR should also be added to the "32-x-y" branch. labels Sep 27, 2024
ckerr pushed a commit that referenced this pull request Sep 27, 2024
* 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>
@trop
Copy link
Contributor

trop bot commented Sep 27, 2024

@ckerr has manually backported this PR to "33-x-y", please check out #43997

ckerr added a commit that referenced this pull request Sep 27, 2024
remove #include "electron/mas.h"

this header did not exist before c1c8fbf
ckerr added a commit that referenced this pull request Sep 29, 2024
* 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>
@trop trop bot added merged/33-x-y PR was merged to the "33-x-y" branch. and removed in-flight/33-x-y labels Sep 29, 2024
yangannyx pushed a commit to yangannyx/electron that referenced this pull request Oct 21, 2024
* 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>
yangannyx pushed a commit to yangannyx/electron that referenced this pull request Oct 21, 2024
* 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>
yangannyx pushed a commit to yangannyx/electron that referenced this pull request Oct 21, 2024
* 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>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

api-review/approved ✅ merged/33-x-y PR was merged to the "33-x-y" branch. needs-manual-bp/32-x-y semver/minor backwards-compatible functionality

Projects

None yet

Development

Successfully merging this pull request may close these issues.

4 participants

Morty Proxy This is a proxified and sanitized view of the page, visit original site.