Repository navigation
Report crashes with @sentry/electron 8 - #381
Merged
jtklein-agents merged 1 commit intoNov 25, 2026
Conversation
Bump @sentry/electron to ^8. Main init sets an explicit raxmlGUI@<version> release (matching the source-map upload) and turns off user info; the page init drops its dsn. IPC uses the SDK's auto-registered preload, and the no-node e2e now asserts that __SENTRY_IPC__ is on the page. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
jtklein-agents
merged commit Nov 25, 2026
2fa445b
into
spec/370-electron-build-and-runtime-packages-current
9 checks passed
7 tasks
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Closes #376. Part of #370.
Summary
IPC uses the SDK's auto-registered preload.
src/preload/index.tsis unchanged, so the page now has one global besidesrendererBridge:__SENTRY_IPC__.Evidence
no-node.spec.jsdid not check whether the Sentry IPC global was on the page.After: on macOS,
yarn test:e2epasses 4/4, includingthe built page has no Nodewith__SENTRY_IPC__present.yarn typecheck,yarn lintandyarn testpass (67 files, 474 tests, includingsrc/preload.test.ts).Merge Danger
Door: two-way
Reverting the commit restores the 4.x SDK and its settings.
Blast Radius: telemetry
Only crash reporting in production builds changes. If the IPC path failed, page errors would stop reaching Sentry, but the app would still run. Events now carry the explicit release and no user IP.
🤖 Generated with Claude Code