-
Notifications
You must be signed in to change notification settings - Fork 87
Fix - added merge all snapshot config #640
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
Fix - added merge all snapshot config #640
Conversation
|
cc @luacmartins @parasharrajat @iwiznia for review |
|
Small comment updates |
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.
🎀 👀 🎀 C+ reviewed
|
@FitseTLT we have a perf test failing |
|
Dealt with the last comments but regarding the performance tests, it doesn't show the specific test that is failing. How can I run it locally, so that I can spot the exact test that is failing? cc @luacmartins @iwiznia TIA |
|
@FitseTLT May be you can open discussion on slack. |
|
@FitseTLT you can see the commands run by the test here These are the failures |
|
I retried the tests and they failed with a different error now. Re-running again. |
|
Still failed BTW have you tried runiing it locally? on main |
I haven't. I'm not sure what's causing this. Maybe you can start a discussion in Slack and ping some people you see in the blame for the failing tests |
|
@FitseTLT Let's raise this on Slack and get it resolved as soon as possible. Thanks. |
This reverts commit c1d12de.
|
@luacmartins I tested the perf test on a test pr that only adds comment on the main branch and it still failed I think we shouldn't be stuck for flacky tests. |
|
It passed now. 😄 |
|
@iwiznia do you wanna give this another review before we merge? |
iwiznia
left a comment
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.
NAB
|
Perf tests are failing again 😞 |
|
These tests 😢 |
|
@luacmartins A new issue is created here to fix this flaky tests I think you can proceed. |
This pr creates a mergeAllPropsSnapshotKeys config so that the BE response which is member of those collection keys will be directly merged to snapshot data without picking props that only exist in the old snapshot data.
Details
Related Issues
Expensify/App#60116
Expensify/App#63295
Automated Tests
Manual Tests
Use https://github.com/FitseTLT/App/tree/fix-bump-onyx-mergeAllPropsSnapshotKeys to test it.
Precondition: The user has sent a message with an attachment or a link
Precondition: a workspace has an employee with an expense without receipt
Author Checklist
### Related Issuessection aboveTestssectiontoggleReportand notonIconClick)myBool && <MyComponent />.STYLE.md) were followedAvatar, I verified the components usingAvatarare working as expected)/** comment above it */thisproperly so there are no scoping issues (i.e. foronClick={this.submit}the methodthis.submitshould be bound tothisin the constructor)thisare necessary to be bound (i.e. avoidthis.submit = this.submit.bind(this);ifthis.submitis never passed to a component event handler likeonClick)Avataris modified, I verified thatAvataris working as expected in all cases)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
2025-06-06.01-37-29.mp4
Android: mWeb Chrome
2025-06-06.01-44-43.mp4
iOS: Native
iOS: mWeb Safari
2025-06-06.00-12-23.mp4
MacOS: Chrome / Safari
2025-06-06.00-07-14.mp4
MacOS: Desktop
2025-06-06.00-11-11.mp4