-
Notifications
You must be signed in to change notification settings - Fork 28
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
ci(): upgrade to electron@19 + add e2e tests #158
Conversation
ShaMan123
commented
Dec 2, 2024
•
edited
Loading
edited
- upgrade to electron@19
- upgrade nan binding
- couldn't upgrade to higher versions due to the need for context isolation/bridging that requires a major rewrite
- add e2e tests
- playwright not working on linux (probably due to old electron version)
- standalone test on built app is working
@ShaMan123 , thanks for this. Looks like high-effort to review. Would you be willing to make a separate PR that includes only(!) the minimum changes for an upgrade to electron 19? You should not introduce or alter anything not needed for the upgrade. |
I can remove the tests. The rest is needed and is the bare minimum. |
Moving to electron latest will require this anyways |
You mean the decoupling to a node_module? |
I would prefer to have the tests in a follow-up PR. |
@@ -12,32 +12,64 @@ jobs: | |||
build: | |||
strategy: | |||
matrix: | |||
node-version: [14.x, 16.x, 18.x, 20.x] | |||
os: [windows-2022, ubuntu-22.04] | |||
# os: [windows-2022, ubuntu-latest] |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
avoid the use of "ubuntu-latest", future updates can break the build. Better to pin on the versions you know to work.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
np
yes |
What do you think in terms of strategy? Shall we go for the node module decoupling or first we merge this PR since it is less disruptive? The decoupling is based on this head anyways. |
Me dizzy. First day I look again at code after a longer general break. If you feel confident that you can go through with this, then choose the strategy yourself. Just try to have easy verifiable chunks (PRs). I'll give you access-rights, to fasten things up. |
|
And a general remark: you need to avoid single-commit PRs. Leav the commits for easier review, you can then later squash down the commit-count, sometimes even to one. |
Will do. I will close this PR and start a new one. |
why not. You should have gotten some kind of invite here on github. |
Got it, thanks. |
Or shall I use localStorage? Is that valid with electron? Does it persist after a new version? |
closing in favor of #159 |