Prevent reauthentication if credentials are missing#79362
Conversation
Codecov Report❌ Looks like you've decreased code coverage for some files. Please write tests to increase, or at least maintain, the existing level of code coverage. See our documentation here for how to interpret this table.
|
|
@hungvu193 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] |
|
🚧 @rlinoz has triggered a test Expensify/App build. You can view the workflow run here. |
|
Changes look good, @hungvu193 can you review this one, please? Since it touches authentication I will also ask applause to run tests in the adhoc build. |
This comment has been minimized.
This comment has been minimized.
|
🚧 @rlinoz has triggered a test Expensify/App build. You can view the workflow run here. |
|
🧪🧪 Use the links below to test this adhoc build on Android, iOS, and Web. Happy testing! 🧪🧪
|
Sure . I'll review it today |
Reviewer Checklist
Screenshots/VideosAndroid: HybridAppScreen.Recording.2026-01-13.at.15.44.35.movAndroid: mWeb ChromeScreen.Recording.2026-01-13.at.15.45.43.moviOS: HybridAppScreen.Recording.2026-01-13.at.15.36.10.moviOS: mWeb SafariScreen.Recording.2026-01-13.at.15.33.38.mov |
|
@rlinoz all yours |
|
Code looks good to me, but I am waiting on applause's QA https://expensify.slack.com/archives/C9YU7BX5M/p1768303993593469 |
|
Great, thanks! Sorry I just bumped it going through Quality notifications 😅 |
Web - Login - App crashes on first device after logging in on the 2nd deviceVersion Number: v9.2.99-1 PR:79362 Action Performed:
Expected Result:Verify you're signed out on device 1 Actual Result:The web page on the device 1 crashes Workaround:Unknown Platforms:
Screen1.mp4 |
|
@rinej I have no idea how this can be related to your changes, but can you please take a look? |
|
@rinej could you verify if the error shown here is not what we're looking for?
|
|
Thank you for checking it!
The error above is for Ping request so it is not related, actually it has code 200 so it's not the error For the error itself: It looks like something was trying to access .routes on an undefined object during React component unmount phase |
|
Thanks! Interesting, I have seen that crash in Sentry before. Will approve and merge then 😄 |
|
Testing is completed Issue found: #79362 (comment) |
|
✋ 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/rlinoz in version: 9.3.3-0 🚀
|
|
🚀 Deployed to production by https://github.com/francoisl in version: 9.3.3-8 🚀
|


Explanation of Change
Fixed Issues
$ #79209
PROPOSAL:
Tests
Offline tests
QA Steps
PR Author Checklist
### Fixed Issuessection aboveTestssectionOffline stepssectionQA stepssectioncanBeMissingparam foruseOnyxtoggleReportand notonIconClick)src/languages/*files and using the translation methodSTYLE.md) were followedAvatar, I verified the components usingAvatarare working as expected)StyleUtils.getBackgroundAndBorderStyle(theme.componentBG))npm run compress-svg)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
LogOutAndroid.mp4
Android: mWeb Chrome
iOS: Native
iOS: mWeb Safari
MacOS: Chrome / Safari
LogOutWeb.mp4