-
Notifications
You must be signed in to change notification settings - Fork 2.9k
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
[No QA] Upgrade electron builder package to latest version #10159
[No QA] Upgrade electron builder package to latest version #10159
Conversation
Change LogNew Features & Bug Fixes
Dependecy updates
Breaking changes:
|
@dennismunene mind fixing the Github link in your OP? |
@Beamanator All links in the PR seem ok , which one are you referring to ? |
@dennismunene Yeah so in the PR Template comments we have this text:
So basically don't add your own link, just put the issue URL after the |
I will test this PR asap. I don't have a clear test plan but I am planning the following:
|
@parasharrajat Looks like a good plan 👍 . |
@Beamanator Updated 🙂 . Thank you |
@Expensify/mobile-deployers Do y'all think there's many extra tests we need to do for this, apart from what @parasharrajat outlined above (here)? We're not sure if / how we need to test the production build or if we just test in dev, hope it works, and roll it back if it doesn't? |
The main things we should test are:
Also for each of these we should check the console logs and network tab (we've seen lots of CORS errors pop up with Electron changes in the past). You should also be aware that the CD that builds the desktop app runs on macos-11, i.e: Big Sur not Monterey. We might not have anyone who can easily test on an old OS, so as long as the documentation doesn't show any issues with electron-builder on Big Sur, we should be okay. We also might be able to upgrade the CD to macOS 12, but I don't remember all the context for why we downgraded it to 11: #4339 Also those GitHub Actions runners are x86_64, not arm64/M1s: actions/runner-images#2187, so ideally someone without an M1 mac would test this locally. |
Overall though I would honestly give this the 🟢 if |
Awesome! Thanks @roryabraham ! @parasharrajat are you comfortable checking as many of those as possible and letting me know if you need any help? |
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.
Ok, I tested as much as I can. Everything is looking good. but auto-update needs to be tested before we approve.
- Update the Title and prepend
[No QA]
. - merge main into your branch. Be careful with package-lock.json conflicts.
@Beamanator I will need help with Auto_update testing. I can't sign the build.
🎀 👀 🎀 C+ reviewed
@parasharrajat Updated the title and merged with main |
You appended it. Please move it before the title. I don't have permission to update. |
@roryabraham I tried running the |
Tested the staging build and everything looked fine, wasn't able to test auto-update but chatted with Rory and we can just see how that goes in the live build |
✋ This PR was not deployed to staging yet because QA is ongoing. It will be automatically deployed to staging after the next production release. |
Thanks @Beamanator! Testing auto-update is a huge PITA and to my knowledge the only people who have successfully done it are no longer at Expensify. So I'd be happy to help live-test this. We're taking a gamble that the risk of us breaking auto-update (and the time it would take to roll this back) is worth the time we'll save trying to test locally. It's not the most ideal and in general shouldn't be the model for how we test things, but I'm 👍 to make an exception in this case. |
My best guess is that it will just work as there are no such breaking changes. |
Hoping so 🙏 Thanks for the context & thoughts @roryabraham |
@parasharrajat @Beamanator This is now in production. |
I'm currently on |
Nice, I validated that this is working as expected |
Great , thank you @roryabraham |
Huh I wonder why we didn't get the auto-comments saying this PR was deployed to Prod 🤔 but ya since this is working I think we can pay and close it out! |
Agree with @Beamanator. Deploy comments were broken for one release for very convoluted Git reasons. Growing pains I guess 😅 |
Details
Bump electron builder package version to 23.3.1
Fixed Issues
$ #10119
Tests
npm install
)npm run desktop
)npm run desktop-build
).PR Review Checklist
Contributor (PR Author) Checklist
### Fixed Issues
section aboveTests
sectionQA steps
sectiontoggleReport
and notonIconClick
)src/languages/*
filesSTYLE.md
) were followedAvatar
, I verified the components usingAvatar
are working as expected)/** comment above it */
displayName
propertythis
properly so there are no scoping issues (i.e. foronClick={this.submit}
the methodthis.submit
should be bound tothis
in the constructor)this
are necessary to be bound (i.e. avoidthis.submit = this.submit.bind(this);
ifthis.submit
is never passed to a component event handler likeonClick
)StyleUtils.getBackgroundAndBorderStyle(themeColors.componentBG
)Avatar
is modified, I verified thatAvatar
is working as expected in all cases)PR Reviewer Checklist
The Contributor+ will copy/paste it into a new comment and complete it after the author checklist is completed
### Fixed Issues
section aboveTests
sectionQA steps
sectiontoggleReport
and notonIconClick
).src/languages/*
filesSTYLE.md
) were followedAvatar
, I verified the components usingAvatar
have been tested & I retested again)/** comment above it */
displayName
propertythis
properly so there are no scoping issues (i.e. foronClick={this.submit}
the methodthis.submit
should be bound tothis
in the constructor)this
are necessary to be bound (i.e. avoidthis.submit = this.submit.bind(this);
ifthis.submit
is never passed to a component event handler likeonClick
)StyleUtils.getBackgroundAndBorderStyle(themeColors.componentBG
)Avatar
is modified, I verified thatAvatar
is working as expected in all cases)QA Steps
npm install
)npm run desktop
)npm run desktop-build
).Screenshots
Web
Mobile Web
Desktop
Installing dependencies and running desktop app
install_dep_run_desktop.mp4
Building Signed app
build_signed_app.mp4
iOS
Android