[PM-34331] Update electron to 41#20448
Conversation
Bitwarden Claude Code ReviewOverall Assessment: APPROVE This PR bumps Electron from Code Review DetailsNo new findings. The previously raised IMPORTANT finding on Dependency Changes
|
Codecov Report❌ Patch coverage is
Additional details and impacted files@@ Coverage Diff @@
## main #20448 +/- ##
==========================================
- Coverage 47.41% 47.41% -0.01%
==========================================
Files 3994 3994
Lines 122774 122782 +8
Branches 18881 18882 +1
==========================================
Hits 58212 58212
- Misses 60153 60161 +8
Partials 4409 4409 ☔ View full report in Codecov by Sentry. 🚀 New features to boost your workflow:
|
|
The last commit is fixing a process reload bug reported in https://bitwarden.atlassian.net/browse/PM-36851 The bug appeared in electron 41 and caused process reload to crash the renderer, but then not reload the page, leaving the window empy and stuck. This issue is caused by two conditions:
|
|
Electron 39 went EOL 2 weeks ago and we want to switch to 40 or 41 in nixpkgs. Will this land with the next desktop release? |
|
Hey @SuperSandro2000, I believe today is the RC cut for the desktop release next week, so I don't think this will make it on time for next update. We had some QA issues on Linux when using electron 41, which is the cause for the delay. |
|



🎟️ Tracking
https://bitwarden.atlassian.net/browse/PM-34331
📔 Objective
Update electron to version 41 and the rest of the electron updates to their latest patch, which should solve compilation issues with the latest Visual Studio.
I've also had to enable a new fuse from electron 41, but I just set it to the default value so everything should work the same: https://github.com/electron/fuses/blob/bbf079259e66af30858578a1e070575f11c01915/README.md?plain=1#L29
Note that this will cause the desktop app to start using the bundled node 24, the rest of the clients except CLI are updated as part of #20400
I can't get renovate to create the PR right now so I've created it myself instead.
📸 Screenshots