Repository navigation
Update Electron to 44.5.1 to stop the Chrome Web Store crash - #1645
Merged
Merged
Conversation
Electron 44.0.0 gives chrome.webstorePrivate to pages on chromewebstore.google.com, but has no delegate for it. The first call from the store page stops the main process (SIGSEGV on macOS, EXCEPTION_ACCESS_VIOLATION on Windows). A saved store tab makes the crash occur at each start. Electron 44.4.0 removes the API (electron/electron#53776). 44.5.1 is the newest 44.x release that the minimum release age allows. Fixes #1637 Co-Authored-By: Claude Opus 5.5 <[email protected]>
Contributor
NorbiAI Code ReviewReviewed commit: VerdictNo actionable findings were found in the current diff or local packaging settings. Resolved Since Previous ReviewNone. FindingsNo actionable findings. Withdrawn FindingsNone. Review details
|
Contributor
Transfer budget
Compared with the last green main CI run (CI run 37902614910). Updated for commit |
Contributor
Cloudflare previewUpdated for commit |
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.
What changed
OpenBot stays open when a Browser tab opens the Chrome Web Store. Before, the main process stopped
a few seconds after the page loaded, and again at each start while the tab was saved (#1637).
Cause: Electron 44.0.0 gives
chrome.webstorePrivateto pages onchromewebstore.google.com, buthas no delegate for it. The first call from the store page dereferences null in the main process.
Electron 44.4.0 removes the API (electron/electron#53752, backport electron/electron#53776).
This PR updates
electronfrom 44.0.0 to 44.5.1. 44.5.1 is the newest 44.x release that theminimum-release-agesetting allows (44.6.0 and 44.7.0 are too new). No application code changes.Electron changes between 44.0.0 and 44.5.1 that could affect OpenBot, checked:
openbot-*names insrc/main/index.tsmatch.chromeMediaSource: 'desktop'refuses WebContents ids (44.3.0):browser-recorder.tsalready uses'tab'.guest-window-manager.tsadds anavigatepath only for windows withoutcreateWindow;BrowserHostusescreateWindow, so its popup flow is unchanged. Thecloseevent and-add-new-contentsthatelectron-native-popup.d.tscites are the same.Surfaces: desktop main process and embedded browser. No change to renderer code, mobile,
apps/auth-api, IPC contracts, migrations, or documentation.Fixes #1637
Verification
bun run typecheck:node; the pre-commit hook ran Biome and everytypecheck:*project (rootpackage.jsonandbun.lockselect all).bun.lockdiff changes only the electron lines. Full test suite left to CI.bun run dev, own worktree profile):chrome.webstorePrivateis undefined, process stays up.window.openand atarget=_blanklink open new Browser tabs.Not checked: Windows (the reported platform; same cause, CI builds it), production build.
Risk and security impact
Electron patch update inside 44.x. It includes upstream Chromium, V8 and Node.js 24.21.0 security
backports. No change to permissions, IPC, filesystem access, persistence, or network access.
Model: Claude Opus 5.5. Harness: Claude Code.
🤖 Generated with Claude Code