-
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
[NoQA] Bump onyx - Fix out of order updates #29169
Conversation
@pradeepmdk is there any specific bug in the App which we could use to QA this change? |
@mountiny |
Thanks! That would require other changes in a Pr which I think can be a separate PR. I guess there is no specific QA right now |
Reviewer Checklist
Screenshots/VideosWebchrome-desktop-2023-10-19_12.34.09.mp4Mobile Web - Chromeandroid-chrome.mp4Mobile Web - Safariios-safari-2023-10-19_16.22.31.mp4Desktopmac-desktop-2023-10-19_16.14.49.mp4iOSios-safari-2023-10-19_16.22.31.mp4Androidandroid-native.mp4 |
I'm getting replay effects when adding/removing emojis (fairly) quickly: chrome-desktop-issue-2023-10-10_14.19.53.mp4Same when going offline and adding a couple of money requests: chrome-desktop-replay-offline-2023-10-10_14.42.53.mp4@ospfranco Any idea if these could be related to your changes? |
Hard to say. My changes might had increased the time it takes to process onyx updates, but I've never seen that replay effect. That being said there were other PRs that where merged, some which reverted other stuff. Here is the full list of changes: Expensify/react-native-onyx#385 |
@ospfranco Are you able to test with just your changes? |
@jjcoffee is this not repro on main? |
@mountiny No only on this PR. |
I will try with only my changes later. |
Another issue with undefined showing in LHN when splitting with users with whom you have no previous chat history (not reproducible on main): chrome-desktop-undefined-splits-2023-10-10_16.09.11.mp4 |
Also tested both issues against #28894 (i.e. Onyx v1.0.100) and can't repro. |
@jjcoffee thanks for spotting that. I ran a |
What are the next steps with this? This is holding up some other issues like #28824 |
# Conflicts: # package-lock.json # package.json
🧪🧪 Use the links below to test this build in android and iOS. Happy testing! 🧪🧪 |
The good news is I can't replicate any of the previous issues, the bad news is I found a new one! Not sure if it's a blocker but starting from a fresh session (sign out and back in) and requesting money from a workspace I get super high CPU usage and an endless loop of loading the avatars. The only way to stop it seems to be to refresh the page (or interestingly to open FAB and select any option), then if you request from the same workspace it doesn't happen again, only for other workspaces. I couldn't replicate on staging. chrome-desktop-cpu-mem-issue-2023-10-19_12.42.28.mp4 |
Completed testing, no other issues found other than the above. Not sure if that's a blocker as the app does continue functioning, but it's definitely not ideal. |
Just adding repro steps for the above blocker:
You should see an endless loop loading profile pictures for the report as well as constant high CPU usage. |
Bumped Onyx again. Here are a couple new PRs merged since the last bump: Expensify/react-native-onyx#402 |
I was able to identify two problems (also discussed in this slack thread).
|
Just noting here that it might be best to bump to |
I believe I have finally fixed issue |
Looking good so far! @ospfranco Can you merge main so we have the latest and greatest? |
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.
Tests well!
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 @jjcoffee fore the review and testin
✋ 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/Julesssss in version: 1.3.96-0 🚀
|
🚀 Deployed to production by https://github.com/puneetlath in version: 1.3.96-15 🚀
|
🚀 Deployed to production by https://github.com/puneetlath in version: 1.3.97-7 🚀
|
Details
Bumps onyx to take advantage of the following PRs:
Allow infinite dependent keys when using withOnyx
Fixed Issues
$ #28737
PROPOSAL:
Tests
Offline 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
Android: Native
Android: mWeb Chrome
iOS: Native
iOS: mWeb Safari
MacOS: Chrome / Safari
MacOS: Desktop