fix: Persist troubleshooting flags across login sessions#63650
Conversation
|
There's something weird going on @martasudol, and I haven't identified the cause yet, but almost no toggles on Troubleshhot tag are persisting, both in main and in our PR: Screen.Recording.2025-06-06.at.13.15.15.movIt's strange that it seems to me that in your tests everything went well, correct? I wonder what is 'clearing' those state. Thanks. |
|
@brunovjk yeah, I can see that. I see that these flags are not stored |
|
@brunovjk that's how it works for me with updated changes. Could you test it on your side? Nagranie.z.ekranu.2025-06-11.o.09.46.34.mov |
|
@brunovjk ping 🙇 |
|
Sorry for the delay, I got caught up with other issues. We briefly see a flicker, moving to the next step (entering the verification code and logging in), but it quickly returns to the "enter your email" screen. Screen.Recording.2025-06-15.at.16.26.48.movCan you reproduce this? Thanks. |
|
@brunovjk can you reproduce it on staging? I found that it briefly shows the error: |
No, just in our PR. I'll do more tests today. |
|
@martasudol I can still reproduce the bug, but only in our PR. Strange, I'll investigate further in a moment. Thanks. Screen.Recording.2025-06-16.at.17.04.12.mov |
|
I couldn't find the cause of the bug, any luck @martasudol? Thanks. |
|
@brunovjk could you test with updated changes? 🙏 |
|
Sure :D thank you |
Reviewer Checklist
Screenshots/VideosAndroid: HybridApp63650_android_native.movAndroid: mWeb Chrome63650_android_web.moviOS: HybridApp63650_ios_native.moviOS: mWeb Safari63650_ios_web.movMacOS: Chrome / Safari63650_web_chrome.movMacOS: Desktop63650_web_desktop.mov |
|
It's better now, but I still need to confirm one detail, I sent you a message on Slack @martasudol. Thanks. |
brunovjk
left a comment
There was a problem hiding this comment.
LGTM. We fixed the issue, however if we:
- Toggle "Use Staging Server" on a device, for example native iOS
- Log out and then log in to another device, for example desktop, with the same account
- The "Use Staging Server" toggle is off.
Can we confirm that this is expected? Thank you.
|
We did not find an internal engineer to review this PR, trying to assign a random engineer to #62496 as well as to this PR... Please reach out for help on Slack if no one gets assigned! |
|
✋ 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/cristipaval in version: 9.1.73-0 🚀
|
|
Our QA team tested on staging and this doesn't seem to have solve the issue. |
😔 shall we revert this PR then? Then we'll work on another one next. cc: @martasudol |
|
🚀 Deployed to production by https://github.com/puneetlath in version: 9.1.73-0 🚀
|
|
@brunovjk have you tested it? It works for me on staging 🤔 Nagranie.z.ekranu.2025-07-2.o.08.32.32.mov |
|
@brunovjk bump |
Explanation of Change
Fixed Issues
$#62496
Tests
Offline tests
Same as Tests.
QA Steps
Same as Tests.
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))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
native_android.mov
Android: mWeb Chrome
android_web.mov
iOS: Native
native_ios.mov
iOS: mWeb Safari
ios_web.mov
MacOS: Chrome / Safari
web_chrome.mov
MacOS: Desktop
desktop.mov