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

[$250] Search - Infinite loading when searching for a non existing user #39866

Closed
2 of 6 tasks
lanitochka17 opened this issue Apr 8, 2024 · 18 comments
Closed
2 of 6 tasks
Assignees
Labels
Bug Something is broken. Auto assigns a BugZero manager. Daily KSv2 Engineering External Added to denote the issue can be worked on by a contributor Reviewing Has a PR in review

Comments

@lanitochka17
Copy link

lanitochka17 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
If this was caught during regression testing, add the test name, ID and link from TestRail: N/A
Issue reported by: Applause - Internal Team

Issue found when executing PR #39384

Action Performed:

  1. Access staging.new.expensify.com
  2. Sign into a valid account
  3. Search for a non existing user
  4. Once the DM is open, tap on the header

Expected Result:

User expects that when tapping on the header, the users info modal will open from the right

Actual Result:

When user first tries to tap on search modal, there is a small "Locked" symbol, then after a while, the header name will completely disappear and begin to load indefinitely. On Desktop app, the app even crashed once while performing this

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

Bug6442599_1712597864799.Infinite_loading_.mp4

View all open jobs on GitHub

Upwork Automation - Do Not Edit
  • Upwork Job URL: https://www.upwork.com/jobs/~01fe30a5f76eb81164
  • Upwork Job ID: 1777450137396224000
  • Last Price Increase: 2024-04-08
@lanitochka17 lanitochka17 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 @aldo-expensify (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.

@lanitochka17
Copy link
Author

@aldo-expensify FYI I haven't added the External label as I wasn't 100% sure about this issue. Please take a look and add the label if you agree it's a bug and can be handled by external contributors

@lanitochka17
Copy link
Author

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

@aldo-expensify
Copy link
Contributor

I can reproduce often, but doesn't always happen. And sometimes the top bar goes into loading state and the email disappears from the LHN without having to even click on it:

image

@aldo-expensify
Copy link
Contributor

Can't reproduce in Production. I'll open it to external as I don't see a difference in the onyxData coming from the server when comparing production vs staging.

@aldo-expensify aldo-expensify added the External Added to denote the issue can be worked on by a contributor label Apr 8, 2024
@melvin-bot melvin-bot bot changed the title Search - Infinite loading when searching for a non existing user [$250] Search - Infinite loading when searching for a non existing user Apr 8, 2024
Copy link

melvin-bot bot commented Apr 8, 2024

Job added to Upwork: https://www.upwork.com/jobs/~01fe30a5f76eb81164

@melvin-bot melvin-bot bot added the Help Wanted Apply this label when an issue is open to proposals by contributors label Apr 8, 2024
Copy link

melvin-bot bot commented Apr 8, 2024

Triggered auto assignment to Contributor-plus team member for initial proposal review - @jayeshmangwani (External)

@aldo-expensify aldo-expensify added Bug Something is broken. Auto assigns a BugZero manager. and removed Help Wanted Apply this label when an issue is open to proposals by contributors labels Apr 8, 2024
Copy link

melvin-bot bot commented Apr 8, 2024

Triggered auto assignment to @alexpensify (Bug), see https://stackoverflow.com/c/expensify/questions/14418 for more details.

@allgandalf
Copy link
Contributor

@aldo-expensify , can you ask the tester to test again, i cannot reproduce on staging :

simplescreenrecorder-2024-04-09_03.37.20.mp4

@aldo-expensify
Copy link
Contributor

Thanks for checking @GandalfGwaihir. Now I see that I can reproduce only reproduce with @expensifail.com accounts but not logged in as a @gmail.com account. I think this can mean one of two things:

  • The problem is because the domain is excluded from reliable updates because of beta flags, or
  • The problem is related to domain-controlled accounts

@aldo-expensify
Copy link
Contributor

Reproduced in dev disabling "reliable updates" for a @gmail.com account

@aldo-expensify
Copy link
Contributor

aldo-expensify commented Apr 8, 2024

Seems like the personal details somehow go missing from onyx. No, the report onyx update is missing in the OpenReport response, so we end up with the optimistic report only which has the wrong accountIDs

@aldo-expensify
Copy link
Contributor

I think this is a product of my work moving the OpenReport onyx updates from Web-Expensify to Auth. These two PRs:

https://github.com/Expensify/Web-Expensify/pull/41310
https://github.com/Expensify/Auth/pull/10226

That works based on the assumption that the onyx update created and queued in Auth will be automatically included in the response in PHP later, but this doesn't happen thanks to the Reliable updates check here: https://github.com/Expensify/Web-Expensify/blob/9665848765ad8df8dd478dd3a3a242a6ead62ea6/lib/Onyx.php#L368

Then, I made this third PR to kill some code I thought unnecessary https://github.com/Expensify/Web-Expensify/pull/41492. The removed code unintentionally was still adding the missing report update for accounts with reliable updates disabled.

Considering the above, this is not an App deploy blocker because the bug is in the staging PHP API.

@aldo-expensify aldo-expensify added Daily KSv2 and removed Hourly KSv2 DeployBlockerCash This issue or pull request should block deployment Daily KSv2 labels Apr 8, 2024
@aldo-expensify aldo-expensify added Hourly KSv2 Reviewing Has a PR in review Daily KSv2 and removed Hourly KSv2 labels Apr 8, 2024
@aldo-expensify
Copy link
Contributor

I merged this PR which should fix the problem once deployed: https://github.com/Expensify/Web-Expensify/pull/41588
Also, we are trying to get rid of the reliable updates beta asap, so that would have fixed it too.

@alexpensify
Copy link
Contributor

Aldo, I think the only action is the get rid of the beta-- is that right? Thanks!

@aldo-expensify
Copy link
Contributor

I think the only action is the get rid of the beta-- is that right? Thanks!

This is fixed now, I just tested.

@alexpensify
Copy link
Contributor

No payment is due here, all reviews were handled internally

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 External Added to denote the issue can be worked on by a contributor Reviewing Has a PR in review
Projects
None yet
Development

No branches or pull requests

5 participants