Skip to content
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

Web - IOU - There is a delay in sending money #37300

Closed
5 of 6 tasks
lanitochka17 opened this issue Feb 27, 2024 · 15 comments
Closed
5 of 6 tasks

Web - IOU - There is a delay in sending money #37300

lanitochka17 opened this issue Feb 27, 2024 · 15 comments
Assignees

Comments

@lanitochka17
Copy link

lanitochka17 commented Feb 27, 2024

If you haven’t already, check out our contributing guidelines for onboarding and email [email protected] to request to join our Slack channel!


Version Number: 1.4.44.0
Reproducible in staging?: Y
Reproducible in production?: N
If this was caught during regression testing, add the test name, ID and link from TestRail:
Email or phone of affected tester (no customers):
Logs: https://stackoverflow.com/c/expensify/questions/4856
Expensify/Expensify Issue URL:
Issue reported by: Applause - Internal Team
Slack conversation:

Issue found when executing PR #29991

Action Performed:

  1. Log in with a Gmail account
  2. Click on the FAB - Send money
  3. Enter any amount
  4. Select a gmail address that never logged in

Expected Result:

There shouldn't be any delays

Actual Result:

There is a delay in sending money

Workaround:

Unknown

Platforms:

Which of our officially supported platforms is this issue occurring on?

  • Android: Native
  • Android: mWeb Chrome
  • iOS: Native
  • iOS: mWeb Safari
  • MacOS: Chrome / Safari
  • MacOS: Desktop

Screenshots/Videos

Add any screenshot/video evidence

Bug6393963_1709036640715.bandicam_2024-02-27_08-21-50-704.mp4

View all open jobs on GitHub

@lanitochka17 lanitochka17 added the DeployBlockerCash This issue or pull request should block deployment label Feb 27, 2024
Copy link
Contributor

👋 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:

  1. Identify the pull request that introduced this issue and revert it.
  2. Find someone who can quickly fix the issue.
  3. Fix the issue yourself.

Copy link

melvin-bot bot commented Feb 27, 2024

Triggered auto assignment to @lakchote (Engineering), see https://stackoverflowteams.com/c/expensify/questions/9980/ for more details.

@lanitochka17
Copy link
Author

We think that this bug might be related to #vip-split-p2p-chat-groups
CC @arielgreen

@lakchote lakchote removed the DeployBlockerCash This issue or pull request should block deployment label Feb 27, 2024
@lakchote
Copy link
Contributor

lakchote commented Feb 27, 2024

Not a blocker or related to NewDot performance.

Instead it's an API slowdown, see the SendMoneyElseWhere api response in the video below.

api.mov

Closing the issue for these reasons.

Will ask in #fast-apis if something has been noticed for it recently.

@luacmartins luacmartins reopened this Feb 27, 2024
@luacmartins luacmartins added the DeployBlockerCash This issue or pull request should block deployment label Feb 27, 2024
Copy link
Contributor

👋 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:

  1. Identify the pull request that introduced this issue and revert it.
  2. Find someone who can quickly fix the issue.
  3. Fix the issue yourself.

@luacmartins
Copy link
Contributor

Sorry @lakchote I spoke too soon. In prod, the API also takes 6s but the page loads immediately because of the optimistic data, so this seems like a regression in App.

@lakchote
Copy link
Contributor

Sorry @lakchote I spoke too soon. In prod, the API also takes 6s but the page loads immediately because of the optimistic data, so this seems like a regression in App.

Oh, my bad. Well let's take a deeper look at this!

@lakchote
Copy link
Contributor

lakchote commented Feb 27, 2024

I've looked at all the PRs that got merged, and I don't see any that could have had an effect on Onyx optimistic data for send money.

Last changes on IOU.ts's sendMoneyElsewhere() and sendMoneyWithWallet() function were 4 weeks ago

It seems like optimistic data is correctly set judging by my screen below (on dev):
image

It's very hard to reproduce on dev since I don't have the latency problems I would have on staging.

As such, I can't see the optimistic data (or lack thereof) problem come into play.

@luacmartins
Copy link
Contributor

Just noting that this happens for other flows too, e.g. Start chat and Request money

@puneetlath puneetlath removed the DeployBlockerCash This issue or pull request should block deployment label Feb 27, 2024
@lakchote
Copy link
Contributor

The issue was elsewhere.

Now it's fast on staging, since the revert PR was deployed.

@aimane-chnaif
Copy link
Contributor

@bernhardoj please consider this case as well when re-work on Onyx

Copy link

melvin-bot bot commented Feb 27, 2024

⚠️ Looks like this issue was linked to a Deploy Blocker here

If you are the assigned CME please investigate whether the linked PR caused a regression and leave a comment with the results.

If a regression has occurred and you are the assigned CM follow the instructions here.

If this regression could have been avoided please consider also proposing a recommendation to the PR checklist so that we can avoid it in the future.

@bernhardoj
Copy link
Contributor

bernhardoj commented Feb 28, 2024

@aimane-chnaif the Onyx PR doesn't introduce the delay, maybe it was a site issue (or other things in the App). The report screen shows a skeleton loader instead of a blank screen after the Onyx PR. Same case like this one

EDIT: okay, the delay has the same root cause as #37247 because the optimistic report is overwritten. This is an App problem, not with the onyx.

@aimane-chnaif
Copy link
Contributor

@aimane-chnaif the Onyx PR doesn't introduce the delay, maybe it was a site issue (or other things in the App). The report screen shows a skeleton loader instead of a blank screen after the Onyx PR. Same case like this one

EDIT: okay, the delay has the same root cause as #37247 because the optimistic report is overwritten. This is an App problem, not with the onyx.

yes, I meant to test app thoroughly and fix app issues along with Onyx version bump.

@luacmartins
Copy link
Contributor

I think we can close this issue, since we CPed a fix and it was tested in staging.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

6 participants