Repository navigation
Update Electron to 44.11.2 - #23217
Merged
Merged
Conversation
Co-authored-by: Copilot App <[email protected]>
Co-authored-by: Copilot App <[email protected]>
Contributor
There was a problem hiding this comment.
🔵 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
sergiou87
approved these changes
Nov 23, 2026
sergiou87
left a comment
Member
There was a problem hiding this comment.
Tested on macOS and Windows and worked as expected 💖
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]>
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.
No matching open issue found.
Description
50732fe9f24b6b8d6573a98a4ae1cfc35e66c2ba; its patch lists include both patches. No local Electron patch stack is added.7abdff678e47ebc5b1c3cb60615f79b1bd6a8738. Validation below coversde422a8f26fefab5ce68e095f07171d4696b6eaeon 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.comendpoint resolved the version. The lockfile retains the official.orgtarball 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.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:fixandnpm 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.NODE_OPTIONS=--max_old_space_size=8192with webpack andRELEASE_CHANNEL=beta DESKTOP_E2E=1 DESKTOP_SKIP_PACKAGE=1forscript/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 withcode 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