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-08-10] [HOLD for payment 2023-08-08] IOU - When a new IOU is opened, the sum of the previous IOU is displayed in the modal window #23973
👋 Friendly reminder that deploy blockers are time-sensitive ⏱ issues! Check out the open StagingDeployCash deploy checklist to see the list of PRs included in this release, then work quickly to do one of the following:
Identify the pull request that introduced this issue and revert it.
No idea which PR might have introduced this. Nothing obvious stands out. I'd maybe check to see if the recent Onyx changes have something to do with it first.
No idea which PR might have introduced this. Nothing obvious stands out. I'd maybe check to see if the recent Onyx changes have something to do with it first.
We will revert the PR causing the regression and make a separate PR that will include all the fixes. Your proposal will be incorporated in that PR.
Not sure how we handle compensation in that case (cc @Beamanator as we were talking about this) ?
External issue reporter - @Natnael-Guchima $250 - OFFER sent
Contributor that fixed the issue - NA
Contributor+ that helped on the issue and/or PR - NA
Activity
melvin-bot commentedon Aug 1, 2023
Triggered auto assignment to @marcaaron (
Engineering), see https://stackoverflow.com/c/expensify/questions/4319 for more details.OSBotify commentedon Aug 1, 2023
👋 Friendly reminder that deploy blockers are time-sensitive ⏱ issues! Check out the open
StagingDeployCashdeploy checklist to see the list of PRs included in this release, then work quickly to do one of the following:marcaaron commentedon Aug 1, 2023
No idea which PR might have introduced this. Nothing obvious stands out. I'd maybe check to see if the recent Onyx changes have something to do with it first.
ahmdshrif commentedon Aug 1, 2023
I can't repo this on main .. but it's repo in staging. looks like there is a PR fixed it.
Screen.Recording.2023-08-01.at.3.34.57.PM.mov
shubham1206agra commentedon Aug 1, 2023
This PR #23749 introduces the issue.
shubham1206agra commentedon Aug 1, 2023
Proposal
Please re-state the problem that we are trying to solve in this issue.
IOU - When a new IOU is opened, the sum of the previous IOU is displayed in the modal window
What is the root cause of that problem?
As I have discussed with @hannojg on slack. This issue #23749 creates read faster than writes, due to this,
App/src/libs/actions/IOU.js
Line 1441 in 6c9e459
depends on
App/src/libs/actions/IOU.js
Lines 64 to 72 in 6c9e459
As Onyx.update is slow, at
MoneyRequestAmountPageolder values populate the page due to read cached behaviour.What changes do you think we should make in order to solve the problem?
Since
Onyx.updatereturns a promise, we can chainApp/src/libs/actions/IOU.js
Line 1443 in 6c9e459
under a
.thenso we make sure thatMoneyRequestAmountPageopens with latest values.What alternative solutions did you explore? (Optional)
N/A
hannojg commentedon Aug 1, 2023
The proposal looks valid to me, and fixes the issue, yes!
hannojg commentedon Aug 1, 2023
We will revert the PR causing the regression and make a separate PR that will include all the fixes. Your proposal will be incorporated in that PR.
Not sure how we handle compensation in that case (cc @Beamanator as we were talking about this) ?
23 remaining items
Natnael-Guchima commentedon Aug 14, 2023
A gentle bump for reporting payment @Beamanator 🙂
Beamanator commentedon Aug 14, 2023
@marcaaron can you help get a BZ assigned to sort out payment? 🙏
melvin-bot commentedon Aug 14, 2023
Triggered auto assignment to @slafortune (
Bug), see https://stackoverflow.com/c/expensify/questions/14418 for more details.melvin-bot commentedon Aug 14, 2023
Bug0 Triage Checklist (Main S/O)
Platformsin OP are ✅)marcaaron commentedon Aug 14, 2023
@slafortune can you help with #23973 (comment) 🙏
slafortune commentedon Aug 16, 2023
External issue reporter - @Natnael-Guchima $250 - OFFER sent
Contributor that fixed the issue - NA
Contributor+ that helped on the issue and/or PR - NA
Natnael-Guchima commentedon Aug 17, 2023
Accepted the offer. Thanks @slafortune