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

[HOLD for payment 2024-05-06] App lags and every actions happen with delay #39864

Closed
2 of 6 tasks
kbecciv opened this issue Apr 8, 2024 · 23 comments
Closed
2 of 6 tasks
Assignees
Labels
Bug Something is broken. Auto assigns a BugZero manager. Daily KSv2 Engineering Improvement Item broken or needs improvement. Internal Requires API changes or must be handled by Expensify staff

Comments

@kbecciv
Copy link

kbecciv commented Apr 8, 2024

If you haven’t already, check out our contributing guidelines for onboarding and email contributors@expensify.com to request to join our Slack channel!


Version Number: 1.4.61-0
Reproducible in staging?: y
Reproducible in production?: n
Issue reported by: Applause - Internal Team

Action Performed:

  1. Open the app and log in
  2. Go to different areas (start a chat, request money, open an expense report, switch from one workspace to another, go to profile setting and back to the chat view etc)

Expected Result:

There is no significant delay when navigating to different areas of the app

Actual Result:

The app lags and almost every action happens with a delay

Workaround:

n/a

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

Bug6442740_1712605944864.video_2024-04-08_12-53-41.mp4

View all open jobs on GitHub

@kbecciv kbecciv added the DeployBlockerCash This issue or pull request should block deployment label Apr 8, 2024
Copy link

melvin-bot bot commented Apr 8, 2024

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

Copy link
Contributor

github-actions bot commented Apr 8, 2024

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

@kbecciv
Copy link
Author

kbecciv commented Apr 8, 2024

We think that this bug might be related to #vip-vsb

@Julesssss
Copy link
Contributor

I'm not seeing the same performance issue on Android native. As the issue is also a generic performance issue I'm demoting it from a blocker.

@Julesssss Julesssss added Daily KSv2 and removed DeployBlockerCash This issue or pull request should block deployment Hourly KSv2 labels Apr 9, 2024
@roryabraham
Copy link
Contributor

I think this is too generic to be useful as an issue, but I'll bring it up in #newdot-performance

@roryabraham roryabraham closed this as not planned Won't fix, can't repro, duplicate, stale Apr 9, 2024
@Julesssss
Copy link
Contributor

Julesssss commented Apr 10, 2024

Further investigation into homepage initial render shows this is an outlier:

Screenshot 2024-04-10 at 10 57 13 Screenshot 2024-04-10 at 10 57 46

@Julesssss
Copy link
Contributor

Continuing discussion in Slack, as there is data showing an increase in render time for app switching.

@Julesssss Julesssss reopened this Apr 10, 2024
@Julesssss Julesssss added the Improvement Item broken or needs improvement. label Apr 10, 2024
@Julesssss
Copy link
Contributor

I have some more information from QA:

Issue still occurs. Reproduced in android only and not in iOS. It is affecting mostly the chats and LHN.

Devices reproduced

  • Samsung Galaxy A52s 5G / Android 14
  • iPhone 12 pro / iOS 17.4
  • Xiaomi Redmi Note 10 (4/128) / Android 12

Videos:

Screenrecorder-2024-04-10-16-18-49-610.1.mp4
MWHB9525.1.MP4
az_recorder_20240410_144434.1.mp4

@Julesssss
Copy link
Contributor

Applause have provided further logs and reproduction steps here

@Julesssss
Copy link
Contributor

Applause user accounts:
applausetester+0111pm@applause.expensifail.com, applausetester+0403rbandroid@applause.expensifail.com applausetester+bpcategory@applause.expensifail.com - Android
applausetester+110523pm@applause.expensifail.com - iOS

Logs for all Android timing events this week

iPhone Logs

  • Tap the workspace switcher
  • Select a workspace
  • Open the workspace switcher
  • Select another workspace
  • Navigate to the workspace switcher
  • Tap Expensify to show all chats
  • Tap FAB > Request money > Manual
  • Enter amount
  • Select workspace
  • Enter description, merchant and request money
  • Open the expense report

App_Info_1.4.61-6 (3).json
Profile_trace_for_1.4.61-6 (3).cpuprofile

@adhorodyski
Copy link
Contributor

Investigated to be the bottleneck on getSearchText() processing for a lot of personalDetails on an account (string concat).

Linked by @danieldoglas to #38887 - reverted in #40019. The initial bug needs a new solution to the problem.

Screenshot 2024-04-10 at 08 34 05

@Julesssss
Copy link
Contributor

Great find. Lets just make sure to check our internal timings revert to normal before closing this issue out

@roryabraham
Copy link
Contributor

ok, looks like this has probably been fixed but we'll double-check before shipping the checklist

@melvin-bot melvin-bot bot added Overdue and removed Overdue labels Apr 12, 2024
@roryabraham
Copy link
Contributor

@kavimuru
Copy link

Issue fixed now.

screen-20240415-130445.mp4

@roryabraham
Copy link
Contributor

kk, closing this out

@melvin-bot melvin-bot bot added Reviewing Has a PR in review Weekly KSv2 and removed Daily KSv2 labels Apr 15, 2024
@melvin-bot melvin-bot bot added Weekly KSv2 Awaiting Payment Auto-added when associated PR is deployed to production and removed Weekly KSv2 labels Apr 29, 2024
@melvin-bot melvin-bot bot changed the title App lags and every actions happen with delay [HOLD for payment 2024-05-06] App lags and every actions happen with delay Apr 29, 2024
@melvin-bot melvin-bot bot removed the Reviewing Has a PR in review label Apr 29, 2024
Copy link

melvin-bot bot commented Apr 29, 2024

Reviewing label has been removed, please complete the "BugZero Checklist".

Copy link

melvin-bot bot commented Apr 29, 2024

The solution for this issue has been 🚀 deployed to production 🚀 in version 1.4.67-7 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-05-06. 🎊

@mallenexpensify mallenexpensify added Internal Requires API changes or must be handled by Expensify staff Bug Something is broken. Auto assigns a BugZero manager. labels Jun 5, 2024
Copy link

melvin-bot bot commented Jun 5, 2024

Current assignee @mallenexpensify is eligible for the Bug assigner, not assigning anyone new.

@melvin-bot melvin-bot bot added Daily KSv2 and removed Weekly KSv2 labels Jun 5, 2024
@mallenexpensify mallenexpensify added Internal Requires API changes or must be handled by Expensify staff and removed Internal Requires API changes or must be handled by Expensify staff Awaiting Payment Auto-added when associated PR is deployed to production labels Jun 5, 2024
@mallenexpensify
Copy link
Contributor

@jayeshmangwani , can you please accept the job and reply here once you have?
https://www.upwork.com/nx/job-post/custom/preview?uid=1798493059688799274
(price was dropped to $250 on 4/4 and you were assigned on 4/15 to do the review)

@jayeshmangwani
Copy link
Contributor

Thanks for the quick help 🙏 @mallenexpensify , you sent the upwork offer, but now I am getting paid via NewDot payments, though i have no issues with the Upwork offer for this issue

@jayeshmangwani
Copy link
Contributor

can you please accept the job and reply here once you have?

@mallenexpensify Offer accepted

@mallenexpensify
Copy link
Contributor

Contributor+: @jayeshmangwani paid $250 via Upwork.

d'oh, sorry about that, you'd think that I would know, having invited you to NewDot payments. More of a knee-jerk habit. I paid via Upwork cuz I already clicked the button before I saw your comment abovve, sorry.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Bug Something is broken. Auto assigns a BugZero manager. Daily KSv2 Engineering Improvement Item broken or needs improvement. Internal Requires API changes or must be handled by Expensify staff
Projects
None yet
Development

No branches or pull requests

7 participants