Repository navigation
chore: upgrade Electron from EOL 39 to 43.1.1 - #1123
Merged
Merged
Conversation
Electron 39 reached end-of-life on 2026-05-05. Bump the desktop app to the current stable major so Chromium security fixes continue to land. Closes #1118
Electron 43 no longer ships a postinstall lifecycle script; the binary downloads on first use. The allowScripts entry was inert and misleading.
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.
Summary
Electron 39 reached end-of-life on 2026-05-05 and is outside the supported three-major window (41/42/43). This PR upgrades the desktop shell from locked
39.8.10to current stable43.1.1(Chromium M150 / Node 24.18.0) in one step.Closes #1118
Changes
apps/desktop:electron^39.2.7→^43.1.1allowScripts: pin install script allowlist to[email protected]got/global-agent/ …), pick up Electron 43 install deps (@electron/get@5,@electron-internal/extract-zip, …)No application code changes. Direct 39 → 43 matches the exploratory verification on the issue: staged intermediate majors were unnecessary after a clean green run.
Verification
Ran on macOS arm64 against this branch:
npm run rebuildnpm --workspace @maka/desktop testnpm --workspace @maka/desktop run e2enode_modules/.bin/electron --versionv43.1.1Manual / residual notes (from #1118 validation)
postinstall— local install path verified; Linux CI should re-confirm.defaultPathstart in Downloads; Maka open dialogs that omit it (workspace dir / config import / resources) deserve a quick manual check after merge.UNNotification; signed-build notification behavior is a manual check.esbuild/@playwright/testleft unchanged; Playwright drives the project Electron binary and passed the full E2E suite.smoke:browsercurrently fails 17/19 on both Electron 39 (main) and 43 (this branch) in this environment: the first direct CDP click reportsmatches_n=1but the fixture click handler does not run; the later visible-lease click path passes. Not treated as an upgrade regression.Review focus