Skip to content

Update Electron to 44.11.2 - #23217

Merged
sergiou87 merged 2 commits into
developmentfrom
tidy-dev-electron-distrust-update
Nov 23, 2026
Merged

sergiou87 merged 2 commits into
developmentfrom
tidy-dev-electron-distrust-update

Conversation

@tidy-dev

Copy link
Copy Markdown
Contributor

No matching open issue found.

Description

  • Update Electron from 44.9.1 to 44.11.2 and Node.js development/CI pins from 24.22.1 to 24.22.2.
  • Electron's 44.x backport of electron/electron#55738 adds eight revoked eMudhra RSA intermediate SPKI hashes to both Chromium and Node TLS blocklists. The release tag resolves to 50732fe9f24b6b8d6573a98a4ae1cfc35e66c2ba; its patch lists include both patches. No local Electron patch stack is added.
  • Update the beta release gate only. Production remains pinned to 44.9.1 and will reject this version until separately approved.
  • Electron's documented platform minimums remain macOS Ventura and Windows 10, unchanged from 44.9.1. The target release pins Chromium 152.0.7977.169 and Node 24.22.2.
  • Base commit: 7abdff678e47ebc5b1c3cb60615f79b1bd6a8738. Validation below covers de422a8f26fefab5ce68e095f07171d4696b6eae on macOS arm64.

Validation

  • npm ci --no-audit --no-fund --registry=https://registry.npmjs.com/ --fetch-retries=1 --fetch-timeout=30000 — passed using Node 24.22.2. The default npm registry hostname initially returned stale metadata; the official .com endpoint resolved the version. The lockfile retains the official .org tarball URL.
  • RELEASE_CHANNEL=beta npm run validate-electron-version — passed; RELEASE_CHANNEL=production npm run validate-electron-version — rejected the new version as intended.
  • ELECTRON_RUN_AS_NODE=1 ./node_modules/.bin/electron -e 'console.log(JSON.stringify({electron:process.versions.electron,node:process.versions.node,chrome:process.versions.chrome}))' — reported Electron 44.11.2, Node 24.22.2, Chromium 152.0.7977.169.
  • Official macOS arm64 release archive SHA-256 matched Electron's SHASUMS256.txt; installed executable and framework SHA-256 hashes matched the corresponding archive contents. All eight SPKI byte sequences match in both tagged upstream patches and occur in the installed framework. This is not a live certificate-chain rejection test.
  • npm run build:dev — passed; npm run test:script — passed, 39 tests; npm run lint:fix and npm run lint — passed.
  • HOME=<clean temporary home> GIT_CONFIG_COUNT=0 npm test — passed: 3,583 passed, 2 skipped. The initial run had six Git test failures under inherited Git configuration; the affected tests passed when isolated.
  • Production-mode beta smoke build passed using NODE_OPTIONS=--max_old_space_size=8192 with webpack and RELEASE_CHANNEL=beta DESKTOP_E2E=1 DESKTOP_SKIP_PACKAGE=1 for script/build.ts. The standard 4 GiB production compile hit its JavaScript heap limit.
  • TMPDIR=<isolated temporary directory> RELEASE_CHANNEL=beta DESKTOP_E2E_APP_MODE=unpackaged GIT_CONFIG_COUNT=0 npx playwright test --config app/test/e2e/playwright.config.ts app/test/e2e/app-launch.e2e.ts -g 'should launch, complete welcome flow, commit, and switch branches' — passed.
  • codesign --verify --deep --strict --verbose=2 — failed on both the official extracted Electron app and installed copy with code has no resources but signature indicates they must be present; both report an ad-hoc, unsealed signature. Archive and binary hash checks do not replace signature validation. Windows and live revoked-certificate-chain behavior were not tested.

Screenshots

N/A — no UI change.

Team-authored review

Evidence: See Validation above.

Review path: needs-deep-review. An additional human reviewer with security and release expertise should examine the upstream certificate distrust coverage, macOS signature limitation, artifact provenance, and beta/production release gate before approval.

Release notes

Notes: [Fixed] Improve protection against revoked certificate authorities

WomperThud and others added 2 commits November 23, 2026 12:15
Co-authored-by: Copilot App <[email protected]>
Co-authored-by: Copilot App <[email protected]>
Copilot AI balanced review requested due to automatic review settings November 23, 2026 17:34
@tidy-dev tidy-dev added the needs-deep-review Requires in-depth human code review of affected paths; agent review is not sufficient. label Nov 23, 2026

Copilot AI left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

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

🔵 Needs a closer look

Release/security expertise is needed to assess the reported macOS signature-verification failure and validation gaps for Windows behavior, signed/notarized packaging, and live revoked-chain rejection.

No open issues 🎉

What changed in this PR

Updates GitHub Desktop’s Electron runtime to 44.11.2 to incorporate upstream certificate-revocation protections, while limiting release approval to beta.

Changes:

  • Updates Electron, its lockfile entry, and the native-module build target to 44.11.2.
  • Aligns local development and CI Node.js pins to 24.22.2.
  • Approves the new Electron version for beta; production validation remains pinned to 44.9.1.
File Description
script/​validate-electron-version.ts Updates beta approval while preserving the production gate.
package.json Pins Electron to 44.11.2.
package-lock.json Updates Electron’s locked version, tarball URL, and integrity hash.
app/​.npmrc Targets Electron 44.11.2 for native-module builds.
.tool-versions Updates the asdf Node.js pin.
.nvmrc Updates the nvm Node.js pin.
.node-version Updates the Node.js version-manager pin.
.github/​workflows/​ci.yml Updates CI to Node.js 24.22.2.

Review effort: Balanced

@tidy-dev
tidy-dev marked this pull request as ready for review November 23, 2026 17:48
@tidy-dev
tidy-dev requested a review from a team as a code owner November 23, 2026 17:48
@tidy-dev
tidy-dev requested a review from sergiou87 November 23, 2026 17:48

@sergiou87 sergiou87 left a comment

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

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

Tested on macOS and Windows and worked as expected 💖

@sergiou87
sergiou87 merged commit 800002e into development Nov 23, 2026
32 checks passed
@sergiou87
sergiou87 deleted the tidy-dev-electron-distrust-update branch November 23, 2026 18:32
NitramO-YT pushed a commit to NitramO-YT/Github-Desktop that referenced this pull request Nov 25, 2026
The production compile now peaks just above the 4 GiB V8 heap limit,
causing intermittent out-of-memory failures in CI (desktop#23223) and locally
(desktop#23217).

Co-authored-by: Copilot App <[email protected]>
(cherry picked from commit 3d25f25)
cooldashing24 pushed a commit to cooldashing24/github-desktop that referenced this pull request Nov 26, 2026
The production compile now peaks just above the 4 GiB V8 heap limit,
causing intermittent out-of-memory failures in CI (desktop#23223) and locally
(desktop#23217).

Co-authored-by: Copilot App <[email protected]>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

needs-deep-review Requires in-depth human code review of affected paths; agent review is not sufficient.

Projects

None yet

Development

Successfully merging this pull request may close these issues.

4 participants