Debug desktop updates#58640
Conversation
…nd application state. Added logs for update checks, error handling, and menu item visibility changes to facilitate easier troubleshooting during development.
|
@allroundexperts Please copy/paste the Reviewer Checklist from here into a new comment on this PR and complete it. If you have the K2 extension, you can simply click: [this button] |
Reviewer Checklist
Screenshots/VideosAndroid: NativeAndroid: mWeb ChromeiOS: NativeiOS: mWeb SafariMacOS: Chrome / SafariMacOS: Desktop |
|
@allroundexperts, this PR will be deployed in staging soon like a debug change. We can investigate if the solution works because there are updates for the staging app. cc @mountiny |
mountiny
left a comment
There was a problem hiding this comment.
@allroundexperts no need for c+ review here
|
✋ This PR was not deployed to staging yet because QA is ongoing. It will be automatically deployed to staging after the next production release. |
|
🚀 Deployed to staging by https://github.com/mountiny in version: 9.1.17-0 🚀
|
|
The logic mainly adds logs and the changes were already tested in previous release. To test this even more thoroughly, lets move it to production and @rezkiy37 will test it over couple of updates there. He will also prepare a pr to remove the log lines as soon as we are ready to get rid of it |
|
🚀 Deployed to production by https://github.com/cristipaval in version: 9.1.17-1 🚀
|
Explanation of Change
Here's the numbered breakdown of the update flow:
update-downloadedautoUpdater.checkForUpdates()result.updateInfo.version === downloadedVersion):quitAndInstallWithUpdate()autoUpdater.downloadUpdate()quitAndInstallWithUpdate()This flow ensures that:
Fixed Issues
$ #54112
PROPOSAL: N/A
Tests
Precondition: Be on an older version of the desktop app. (v9.0.75-0 for example, when v9.0.75-1 is out)
Offline tests
Same as tests.
QA Steps
// TODO: These must be filled out, or the issue title must include "[No QA]."
Same as tests.
PR Author Checklist
### Fixed Issuessection aboveTestssectionOffline stepssectionQA stepssectiontoggleReportand notonIconClick)src/languages/*files and using the translation methodSTYLE.md) were followedAvatar, I verified the components usingAvatarare working as expected)StyleUtils.getBackgroundAndBorderStyle(theme.componentBG))Avataris modified, I verified thatAvataris working as expected in all cases)Designlabel and/or tagged@Expensify/designso the design team can review the changes.ScrollViewcomponent to make it scrollable when more elements are added to the page.mainbranch was merged into this PR after a review, I tested again and verified the outcome was still expected according to theTeststeps.Screenshots/Videos
Android: Native
Android: mWeb Chrome
iOS: Native
iOS: mWeb Safari
MacOS: Chrome / Safari
MacOS: Desktop