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 2023-09-18] Incremental Onyx Updates are not applied in the correct order #24606
I was thinking about the way we've implemented the changes in App, and I wanted to know your opinion about possibly having data applied in the wrong order.
B has a currentUpdateID = 1.
A sends reportAction (with reportActionID = 1) to B (updateID 2)
B doesn't receive that message through Pusher updates (so their currentUpdateID still 1)
A then deletes that message. (updateID 3)
B receives the pusher update deleting the message (updateID 3), notices that their currentUpdateID is out of date and calls GetMissingOnyxUpdates with from: 1 and to: 3
I don't think we're currently holding on applying the pusher updates we received until GetMissingOnyxUpdates is done. So from my understanding, we would:
Call GetMissingOnyxUpdates
Asynchronously merge the collection with a reportActionID: 1 with html: '' (updateID 3, that deleted the message)
When we receive the response from GetMissingOnyxUpdate, we'll apply a merge again on the collection with a reportActionID: 1 with html: 'previous text'
Activity
tgolen commentedon Aug 15, 2023
Coming from this slack thread:
I think Option B is probably going to be the easiest. It would look like this:
GetMissingOnyxUpdates()usingmakeRequestWithSideEffects()melvin-bot commentedon Aug 15, 2023
Triggered auto assignment to @Christinadobrzyn (
Bug), see https://stackoverflow.com/c/expensify/questions/14418 for more details.melvin-bot commentedon Aug 15, 2023
Bug0 Triage Checklist (Main S/O)
Platformsin OP are ✅)tgolen commentedon Aug 15, 2023
You can ignore this one @Christinadobrzyn and I'll be taking this.
48 remaining items
dylanexpensify commentedon Oct 2, 2023
On it!
dylanexpensify commentedon Oct 2, 2023
@danieldoglas confirm amounts please 🙇♂️
danieldoglas commentedon Oct 3, 2023
@dylanexpensify this issue was created before the prices changes so $1k each.
dylanexpensify commentedon Oct 9, 2023
Payment Summary:
Upwork job! Please apply!
s77rt commentedon Oct 9, 2023
@dylanexpensify Applied! Thanks!
dylanexpensify commentedon Oct 9, 2023
Offer sent @s77rt!!
s77rt commentedon Oct 9, 2023
Accepted!
dylanexpensify commentedon Oct 9, 2023
paid!
s77rt commentedon Oct 9, 2023
@dylanexpensify @allroundexperts requires payment as well
JmillsExpensify commentedon Oct 13, 2023
$1,000 payment approved for @allroundexperts based on BZ summary.