sentry-electron icon indicating copy to clipboard operation
sentry-electron copied to clipboard

Include information from Electron Minidumps (such system+current allocation) on error events

Open ndmanvar opened this issue 11 months ago • 2 comments

Problem Statement

Looks like electron minidumps (on windows at least?) include some details about the system and the current allocation that would be useful to surface up into sentry https://github.com/microsoft/vscode/issues/232820#issuecomment-2451848581

Solution Brainstorm

Read this information and attach as context accordingly

ndmanvar avatar Mar 06 '25 20:03 ndmanvar

We've also discussed grabbing more information from v8 onto events: https://github.com/electron/electron/blob/d987bee0073310c0bf114dd5e5c9db5e9c68ee59/shell/common/node_bindings.cc#L190

For the start we should focus on Electron, but we can move it into @sentry/node if things are stable.

AbhiPrasad avatar Mar 06 '25 20:03 AbhiPrasad

Parsing of this stream would need adding to the Rust minidump crate and then Sentry would then need to pull this info from the minidump during ingestion:

  • https://github.com/rust-minidump/rust-minidump/issues/1093

timfish avatar Mar 20 '25 17:03 timfish

This has been in production for a couple of months now!

timfish avatar Sep 20 '25 19:09 timfish