Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Upgrade to Electron 21 #1463

Closed
wants to merge 32 commits into from
Closed

Upgrade to Electron 21 #1463

wants to merge 32 commits into from

Conversation

gre
Copy link
Contributor

@gre gre commented Oct 4, 2022

πŸ“ Description

  • Electron was upgraded from 15 to 21. (major) as well as "electron-builder"
    • that means we have a new bump of the nodejs version for native module too. So all native library impacted (coins, usb,..)
    • that means we have a new Chromium version. So the UI is impacted. Screenshots have changed due to this.
  • Sentry was upgraded (minor)
  • playwright was upgraded (minor)

❓ Context

βœ… Checklist

  • Test coverage covered by playwright tests but non regression on native will be needed for all OSs
    • @gre to assess again Sentry still connects correctly
  • Atomic delivery
  • No breaking changes

πŸ“Έ Demo

πŸš€ Expectations to reach

Please make sure you follow these Important Steps.

Pull Requests must pass the CI and be internally validated in order to be merged.

@vercel
Copy link

vercel bot commented Oct 4, 2022

The latest updates on your projects. Learn more about Vercel for Git β†—οΈŽ

Name Status Preview Updated
ledger-live-github-bot βœ… Ready (Inspect) Visit Preview Dec 1, 2022 at 4:18PM (UTC)
live-common-tools βœ… Ready (Inspect) Visit Preview Dec 1, 2022 at 4:18PM (UTC)
native-ui-storybook βœ… Ready (Inspect) Visit Preview Dec 1, 2022 at 4:18PM (UTC)
react-ui-storybook βœ… Ready (Inspect) Visit Preview Dec 1, 2022 at 4:18PM (UTC)

@changeset-bot
Copy link

changeset-bot bot commented Oct 4, 2022

πŸ¦‹ Changeset detected

Latest commit: 2677226

The changes in this PR will be included in the next version bump.

This PR includes changesets to release 1 package
Name Type
ledger-live-desktop Major

Not sure what this means? Click here to learn what changesets are.

Click here if you're a maintainer who wants to add another changeset to this PR

@codecov
Copy link

codecov bot commented Oct 4, 2022

Codecov Report

Base: 45.64% // Head: 45.15% // Decreases project coverage by -0.48% ⚠️

Coverage data is based on head (2677226) compared to base (8ede95f).
Patch has no changes to coverable lines.

Additional details and impacted files
@@             Coverage Diff             @@
##           develop    #1463      +/-   ##
===========================================
- Coverage    45.64%   45.15%   -0.49%     
===========================================
  Files          699      685      -14     
  Lines        30254    29348     -906     
  Branches      8009     7863     -146     
===========================================
- Hits         13810    13253     -557     
- Misses       15260    16042     +782     
+ Partials      1184       53    -1131     
Flag Coverage Ξ”
test 45.15% <ΓΈ> (-0.49%) ⬇️

Flags with carried forward coverage won't be shown. Click here to find out more.

Impacted Files Coverage Ξ”
libs/ledger-live-common/src/env.ts 72.22% <0.00%> (ΓΈ)
libs/ledger-live-common/src/convert.ts 12.50% <0.00%> (ΓΈ)
libs/ledger-live-common/src/network.ts 70.93% <0.00%> (ΓΈ)
libs/ledger-live-common/src/promise.ts 57.44% <0.00%> (ΓΈ)
libs/ledger-live-common/src/api/Tron.ts 16.53% <0.00%> (ΓΈ)
libs/ledger-live-common/src/hw/index.ts 20.00% <0.00%> (ΓΈ)
libs/ledger-live-common/src/nft/hook.ts 33.33% <0.00%> (ΓΈ)
libs/ledger-live-common/src/api/Ripple.ts 29.16% <0.00%> (ΓΈ)
libs/ledger-live-common/src/api/socket.ts 8.00% <0.00%> (ΓΈ)
libs/ledger-live-common/src/apps/logic.ts 60.74% <0.00%> (ΓΈ)
... and 256 more

Help us with your feedback. Take ten seconds to tell us how you rate us. Have a feature suggestion? Share it here.

β˜” View full report at Codecov.
πŸ“’ Do you have feedback about the report comment? Let us know in this issue.

@github-actions
Copy link

github-actions bot commented Oct 4, 2022

@gre

Screenshots: βœ…

There are no changes in the screenshots for this PR. If this is expected, you are good to go.

@gre
Copy link
Contributor Author

gre commented Oct 14, 2022

/generate-screenshots

@github-actions
Copy link

github-actions bot commented Oct 14, 2022

@gre
Copy link
Contributor Author

gre commented Nov 29, 2022

/generate-screenshots

@github-actions
Copy link

github-actions bot commented Nov 29, 2022

Copy link
Member

@valpinkman valpinkman left a comment

Choose a reason for hiding this comment

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

Looks good but a changeset is still missing, it would have been interesting to have infos of the fixes that had to be done to the webviews etc...

@chabroA
Copy link
Contributor

chabroA commented Dec 1, 2022

Looks good but a changeset is still missing, it would have been interesting to have infos of the fixes that had to be done to the webviews etc...

Done a540680 for LLD (bumped to major according to @gre description)

Used this PR description as well as the webview related one for context.

Feel free to edit the changeset file with further details or more appropriate version as you see fit πŸ‘Œ

also @gre feel free to add another changeset for updates done in the 2 packages in ledgerjs

@gre
Copy link
Contributor Author

gre commented Dec 1, 2022

@valpinkman we're going to do this changeset / impact assessment from each team. at the moment we're half complete through it.

@gre
Copy link
Contributor Author

gre commented Dec 2, 2022

new PR #2049

@gre gre closed this Dec 2, 2022
@valpinkman valpinkman deleted the feat/electron-21 branch January 24, 2023 10:08
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
desktop Has changes in LLD ledgerjs Has changes in the ledgerjs open source libs screenshots Screenshots have been updated
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Linux symlinked data dir broken after updating to 2.45.1
4 participants