-
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
Fixing the race condition on history.go
due to buggy queue async callbacks
#25866
Fixing the race condition on history.go
due to buggy queue async callbacks
#25866
Conversation
Didn't we specify to patch only the series function with: react-navigation/react-navigation#11485 ? |
Oh my bad |
@Ollyws Now please review |
Reviewer Checklist
Screenshots/VideosWebMacOS_Chrome.movMobile Web - ChromeN/AMobile Web - SafariN/ADesktopMacOS_Desktop.moviOSN/AAndroidN/A |
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.
LGTM
@Ollyws Did you test other flows? Lets say creating money request and then going back in history in browser? Leaving a thread and going back in history in browser? Etc? |
@mountiny Yeah all flows are behaving identically with production, as far as I can see. |
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.
Thanks!
Deploy checks are broken on main and it seems caused by this PR. |
@shubham1206agra @Ollyws We will have to redo this. https://github.com/Expensify/App/actions/runs/5978611978/job/16221045023 The patch was failing to apply in the CI, I think it was not correctly set up, although I am not sure what exactly needs to change right now |
@mountiny can you confirm the error on fresh pull? If not, I think it's related to multiple patch thing |
I will be out, it might be related. @adamgrzybowski might be able to help to with how this needs to be set up |
Found it |
🚀 Deployed to staging by https://github.com/mountiny in version: 1.3.58-0 🚀
|
🚀 Deployed to production by https://github.com/luacmartins in version: 1.3.58-5 🚀
|
🚀 Deployed to staging by https://github.com/mountiny in version: 1.3.59-0 🚀
|
🚀 Deployed to production by https://github.com/luacmartins in version: 1.3.59-5 🚀
|
Details
Fixed Issues
$ #25527
PROPOSAL: #25527 (comment)
Tests / QA Steps
PR Author Checklist
### Fixed Issues
section aboveTests
sectionOffline steps
sectionQA steps
sectiontoggleReport
and notonIconClick
)myBool && <MyComponent />
.src/languages/*
files and using the translation methodWaiting for Copy
label for a copy review on the original GH to get the correct copy.STYLE.md
) were followedAvatar
, I verified the components usingAvatar
are working as expected)/** comment above it */
this
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)ScrollView
component to make it scrollable when more elements are added to the page.main
branch was merged into this PR after a review, I tested again and verified the outcome was still expected according to theTest
steps.Screenshots/Videos
Web
Screen.Recording.2023-08-21.at.7.13.50.PM.mov
Mobile Web - Chrome
NA
Mobile Web - Safari
NA
Desktop
Screen.Recording.2023-08-24.at.9.21.04.PM.mov
iOS
NA
Android
NA