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

[$500] Login - Infinite loading when login via Abracadabra page #37351

Closed
1 of 6 tasks
lanitochka17 opened this issue Feb 27, 2024 · 55 comments
Closed
1 of 6 tasks

[$500] Login - Infinite loading when login via Abracadabra page #37351

lanitochka17 opened this issue Feb 27, 2024 · 55 comments
Assignees
Labels
Bug Something is broken. Auto assigns a BugZero manager. Engineering External Added to denote the issue can be worked on by a contributor Monthly KSv2 Not a priority Reviewing Has a PR in review

Comments

@lanitochka17
Copy link

lanitochka17 commented Feb 27, 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.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: https://expensify.testrail.io/index.php?/tests/view/4343102
Email or phone of affected tester (no customers): gocemate@gmail.com
Logs: https://stackoverflow.com/c/expensify/questions/4856
Expensify/Expensify Issue URL:
Issue reported by: Applause - Internal Team
Slack conversation:

Action Performed:

  1. Log out of NewDot and request a new magic link
  2. Navigate to email and locate the magic link - change to staging if needed
  3. Open an new tab and navigate to the staging link
  4. Verify the "Abracadabra, you're logged in" page is displayed
  5. Navigate to the original tab

Expected Result:

User should be logged in and there should be no long loading

Actual Result:

Infinite loading when login via Abracadabra page

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

Bug6394640_1709066728559.Recording__2389.mp4

View all open jobs on GitHub

@lanitochka17 lanitochka17 added DeployBlockerCash This issue or pull request should block deployment External Added to denote the issue can be worked on by a contributor labels Feb 27, 2024
@melvin-bot melvin-bot bot changed the title Login - Infinite loading when login via Abracadabra page [$500] Login - Infinite loading when login via Abracadabra page Feb 27, 2024
Copy link

melvin-bot bot commented Feb 27, 2024

Job added to Upwork: https://www.upwork.com/jobs/~016551bee9d1747202

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

melvin-bot bot commented Feb 27, 2024

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

@melvin-bot melvin-bot bot added the Daily KSv2 label Feb 27, 2024
@github-actions github-actions bot added Engineering Hourly KSv2 and removed Daily KSv2 labels 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 @yuwenmemon (Engineering), see https://stackoverflowteams.com/c/expensify/questions/9980/ for more details.

@yuwenmemon
Copy link
Contributor

I believe this was just due to the site slows we had just now. I'm not able to reproduce this anymore.

@lanitochka17
Copy link
Author

Hello
This issue is stil reproducible on the latest build 1.4.46-0

Recording.2451.mp4

@lanitochka17 lanitochka17 reopened this Mar 1, 2024
@yuwenmemon yuwenmemon added Daily KSv2 and removed DeployBlockerCash This issue or pull request should block deployment Hourly KSv2 labels Mar 1, 2024
@yuwenmemon
Copy link
Contributor

Damn you're right. Very odd - looking into this now.

@yuwenmemon
Copy link
Contributor

Hmmm... I can't seem to reliably reproduce

@yuwenmemon
Copy link
Contributor

I notice we don't make any calls to OpenApp when we do encounter this though
Screenshot 2024-03-01 at 12 31 50 PM

@yuwenmemon
Copy link
Contributor

yuwenmemon commented Mar 1, 2024

Okay, after some sleuthing looks like this is the PR that introduced the bug: #36852

cc @blimpich @bernhardoj @fedirjh

@yuwenmemon
Copy link
Contributor

I feel like the problem is that we're calling findLastAccessedReport before any reports are loaded:

Kapture.2024-03-01.at.13.35.47.mp4

@yuwenmemon yuwenmemon added the Bug Something is broken. Auto assigns a BugZero manager. label Mar 1, 2024
@melvin-bot melvin-bot bot added the Overdue label Apr 1, 2024
@Ollyws
Copy link
Contributor

Ollyws commented Apr 2, 2024

Just waiting to bump the Onyx version.

@melvin-bot melvin-bot bot removed the Overdue label Apr 2, 2024
Copy link

melvin-bot bot commented Apr 5, 2024

@JmillsExpensify, @yuwenmemon, @Ollyws, @bernhardoj Uh oh! This issue is overdue by 2 days. Don't forget to update your issues!

@melvin-bot melvin-bot bot added the Overdue label Apr 5, 2024
@yuwenmemon
Copy link
Contributor

Heads up I'll be OOO next week so if we need another engineer to merge anything for this feel free to ping in #expensify-open-source @Ollyws

@melvin-bot melvin-bot bot removed the Overdue label Apr 5, 2024
@bernhardoj bernhardoj mentioned this issue Apr 6, 2024
50 tasks
@melvin-bot melvin-bot bot added Reviewing Has a PR in review Weekly KSv2 and removed Daily KSv2 labels Apr 6, 2024
@bernhardoj
Copy link
Contributor

#38114 is merged, I have raised the PR to bump it to 2.0.24

cc: @Ollyws

@Ollyws
Copy link
Contributor

Ollyws commented Apr 23, 2024

Onyx upgrade was deployed to production yesterday so this should be due for payment on the 29th.

@Ollyws
Copy link
Contributor

Ollyws commented May 6, 2024

Can someone take care of payment for this one? Thanks!

@JmillsExpensify
Copy link

Payment summary:

Separately, @Ollyws what are your thoughts on regression tests?

@JmillsExpensify
Copy link

Offers sent out via Upwork.

@JmillsExpensify
Copy link

Contributor contract paid.

@JmillsExpensify
Copy link

@Ollyws Quick follow-up on this question when you get a chance.

@Ollyws
Copy link
Contributor

Ollyws commented Jun 3, 2024

Regression Test Proposal

1. Log out of NewDot and request a new magic link
2. Navigate to email and locate the magic link - change to staging if needed
3. Open an new tab and navigate to the staging link
4. Verify the "Abracadabra, you're logged in" page is displayed
5. Navigate to the original tab
6. Verify the user is logged in succesfully

Do we agree 👍 or 👎

@Ollyws
Copy link
Contributor

Ollyws commented Jun 3, 2024

Requested payment in ND.

@JmillsExpensify
Copy link

Sounds good to me. I asked a colleague to confirm the payment summary before I approve payment.

@laurenreidexpensify
Copy link
Contributor

Payment summary:

Contributor: @bernhardoj $500 paid via upwork
Contributor+: @Ollyws $500 paid via ND

@JmillsExpensify
Copy link

$500 approved for @Ollyws

@melvin-bot melvin-bot bot removed the Weekly KSv2 label Jun 27, 2024
Copy link

melvin-bot bot commented Jun 27, 2024

This issue has not been updated in over 15 days. @JmillsExpensify, @yuwenmemon, @Ollyws, @bernhardoj eroding to Monthly issue.

P.S. Is everyone reading this sure this is really a near-term priority? Be brave: if you disagree, go ahead and close it out. If someone disagrees, they'll reopen it, and if they don't: one less thing to do!

@melvin-bot melvin-bot bot added the Monthly KSv2 label Jun 27, 2024
@melvin-bot melvin-bot bot closed this as completed Aug 23, 2024
Copy link

melvin-bot bot commented Aug 23, 2024

@JmillsExpensify, @yuwenmemon, @Ollyws, @bernhardoj, this Monthly task hasn't been acted upon in 6 weeks; closing.

If you disagree, feel encouraged to reopen it -- but pick your least important issue to close instead.

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. Engineering External Added to denote the issue can be worked on by a contributor Monthly KSv2 Not a priority Reviewing Has a PR in review
Projects
Status: Done
Development

No branches or pull requests

7 participants