You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
[HOLD for payment 2024-08-07] [$500] Onyx updates are not being queued in the correct order #37560
When batching update operations (e.g. when coming online), Onyx executes the merge and mergeCollection operations in an incorrect order which leads to data inconsistency. See this comment for context.
Why do we care?
This has caused multiple issues: this, this, and is currently holding this.
What's expected?
The updates should happen in the same exact order as they've been enqueued to guarantee the eventual consistency of the data.
Note: this will probably involve working with the react-native-onyx repository
changed the title [-]Onyx updates are not being queued in the correct order[/-][+][$500] Onyx updates are not being queued in the correct order[/+]on Feb 29, 2024
📣 @paultsimura 🎉 An offer has been automatically sent to your Upwork account for the Contributor role 🎉 Thanks for contributing to the Expensify app!
Offer link Upwork job
Please accept the offer and leave a comment on the Github issue letting us know when we can expect a PR to be ready for review 🧑💻
Keep in mind: Code of Conduct | Contributing 📖
The solution for this issue has been 🚀 deployed to production 🚀 in version 9.0.14-6 and is now subject to a 7-day regression period 📆. Here is the list of pull requests that resolve this issue:
BugZero Checklist: The PR fixing this issue has been merged! The following checklist (instructions) will need to be completed before the issue can be closed:
[@paultsimura] The PR that introduced the bug has been identified. Link to the PR:
[@paultsimura] The offending PR has been commented on, pointing out the bug it caused and why, so the author and reviewers can learn from the mistake. Link to comment:
[@paultsimura] A discussion in #expensify-bugs has been started about whether any other steps should be taken (e.g. updating the PR review checklist) in order to catch this type of bug sooner. Link to discussion:
[@paultsimura] Determine if we should create a regression test for this bug.
[@paultsimura] If we decide to create a regression test for the bug, please propose the regression test steps to ensure the same bug will not reach production again.
Activity
melvin-bot commentedon Feb 29, 2024
Triggered auto assignment to @Christinadobrzyn (
Bug), see https://stackoverflow.com/c/expensify/questions/14418 for more details.[-]Onyx updates are not being queued in the correct order[/-][+][$500] Onyx updates are not being queued in the correct order[/+]melvin-bot commentedon Feb 29, 2024
Job added to Upwork: https://www.upwork.com/jobs/~01fec4289917eb6d71
melvin-bot commentedon Feb 29, 2024
Triggered auto assignment to Contributor-plus team member for initial proposal review - @jjcoffee (
External)melvin-bot commentedon Feb 29, 2024
📣 @jjcoffee 🎉 An offer has been automatically sent to your Upwork account for the Reviewer role 🎉 Thanks for contributing to the Expensify app!
Offer link
Upwork job
melvin-bot commentedon Feb 29, 2024
📣 @paultsimura 🎉 An offer has been automatically sent to your Upwork account for the Contributor role 🎉 Thanks for contributing to the Expensify app!
Offer link
Upwork job
Please accept the offer and leave a comment on the Github issue letting us know when we can expect a PR to be ready for review 🧑💻
Keep in mind: Code of Conduct | Contributing 📖
66 remaining items
melvin-bot commentedon Jul 31, 2024
Reviewinglabel has been removed, please complete the "BugZero Checklist".melvin-bot commentedon Jul 31, 2024
The solution for this issue has been 🚀 deployed to production 🚀 in version 9.0.14-6 and is now subject to a 7-day regression period 📆. Here is the list of pull requests that resolve this issue:
If no regressions arise, payment will be issued on 2024-08-07. 🎊
For reference, here are some details about the assignees on this issue:
melvin-bot commentedon Jul 31, 2024
BugZero Checklist: The PR fixing this issue has been merged! The following checklist (instructions) will need to be completed before the issue can be closed:
Christinadobrzyn commentedon Aug 6, 2024
Payouts due:
Do we need a regression test @paultsimura?
paultsimura commentedon Aug 7, 2024
Sorry @Christinadobrzyn, this one is $500, not $250 as mentioned in the payment summary.
paultsimura commentedon Aug 7, 2024
I was not a C+ here, but would suggest the regression test:
jjcoffee commentedon Aug 7, 2024
@Christinadobrzyn No payment due to me as I never reviewed anything in the end 🙏
Christinadobrzyn commentedon Aug 7, 2024
Thanks @paultsimura and @jjcoffee - are we paying someone else? @sobitneupane I see you on the PR, were you the C+ for this?
paultsimura commentedon Aug 7, 2024
Technically, there was no C+ here, only me and @tgolen mostly.
Christinadobrzyn commentedon Aug 7, 2024
Ah okay! Thanks @paultsimura!
I paid this out based on this payment summary. The regression test is created so I think this is good to close. Let me know if I'm missing anything!