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

[PAID] Workspace - Endless skeleton loader after login if the account is added to a workspace #45212

Closed
1 of 6 tasks
lanitochka17 opened this issue Jul 10, 2024 · 19 comments
Closed
1 of 6 tasks
Assignees
Labels
Awaiting Payment Auto-added when associated PR is deployed to production 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

Comments

@lanitochka17
Copy link

lanitochka17 commented Jul 10, 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: 9.0.6-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 https://github.com/Expensify/Web-Expensify/pull/42621 https://github.com/Expensify/Web-Expensify/pull/42602

Action Performed:

  1. Navigate to https://staging.new.expensify.com/
  2. User A: Log in with a new Gmail account
  3. User A: Create a workspace
  4. User A: Navigate to Workspace settings - Members
  5. User A: Invite a Gmail address that doesn't have an account yet (User B)
  6. User B: Open Chrome in incognito mode
  7. User B: Navigate to https://staging.new.expensify.com/
  8. User B: Log in

Expected Result:

The workspace chat should load with minimal loading animation

Actual Result:

Endless skeleton loader after login if the account is added to a workspace

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

Bug6538239_1720636518054.bandicam_2024-07-10_20-27-19-679.mp4

View all open jobs on GitHub

Issue OwnerCurrent Issue Owner: @strepanier03
@lanitochka17 lanitochka17 added DeployBlockerCash This issue or pull request should block deployment DeployBlocker Indicates it should block deploying the API labels Jul 10, 2024
Copy link

melvin-bot bot commented Jul 10, 2024

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

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.

@lanitochka17
Copy link
Author

@francoisl 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

@francoisl
Copy link
Contributor

I can repro too.

One difference between prod and staging is that on production there's a call to OpenReport at some point after signing in, which I don't see on staging. I don't know if that's the reason, but could be a lead.

Production Staging
image image

@francoisl francoisl added External Added to denote the issue can be worked on by a contributor Bug Something is broken. Auto assigns a BugZero manager. labels Jul 10, 2024
Copy link

melvin-bot bot commented Jul 10, 2024

Unable to auto-create job on Upwork. The BZ team member should create it manually for this issue.

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

melvin-bot bot commented Jul 10, 2024

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

Copy link

melvin-bot bot commented Jul 10, 2024

Triggered auto assignment to @strepanier03 (Bug), see https://stackoverflow.com/c/expensify/questions/14418 for more details. Please add this bug to a GH project, as outlined in the SO.

@francoisl
Copy link
Contributor

Ran a git bisect, this appears to come from commit fce482497a3d6c0c5b2d93de6688e01a653c8d27 in #44955.

Did a local revert and it seems to fix the issue. Going to see if I can figure out the issue, otherwise we can proceed with the revert.

@francoisl
Copy link
Contributor

Ok it seems like partially reverting this change and moving back the lastAccessedReportID as a dependency of the useEffect fixes the issue. Going to run more tests and submit a fix.

@francoisl francoisl removed the DeployBlocker Indicates it should block deploying the API label Jul 10, 2024
@mountiny
Copy link
Contributor

cc @kosmydel for visibility

@melvin-bot melvin-bot bot added Reviewing Has a PR in review Weekly KSv2 and removed Hourly KSv2 labels Jul 10, 2024
@melvin-bot melvin-bot bot removed the Help Wanted Apply this label when an issue is open to proposals by contributors label Jul 11, 2024
@francoisl
Copy link
Contributor

Reassigning C+s because @rayane-djouah is online now and able to review the fix.

@kosmydel
Copy link
Contributor

Thanks for handling that.

Ok it seems like partially reverting this change and moving back the lastAccessedReportID as a dependency of the useEffect fixes the issue. Going to run more tests and submit a fix.

This might degrade performance a bit, but together with 2nd PR it should work fine for now. I will revisit it, probably next week, as I have other projects in progress.

@francoisl francoisl removed the DeployBlockerCash This issue or pull request should block deployment label Jul 11, 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 Jul 16, 2024
@melvin-bot melvin-bot bot changed the title Workspace - Endless skeleton loader after login if the account is added to a workspace [HOLD for payment 2024-07-24] Workspace - Endless skeleton loader after login if the account is added to a workspace Jul 17, 2024
@melvin-bot melvin-bot bot removed the Reviewing Has a PR in review label Jul 17, 2024
Copy link

melvin-bot bot commented Jul 17, 2024

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

Copy link

melvin-bot bot commented Jul 17, 2024

The solution for this issue has been 🚀 deployed to production 🚀 in version 9.0.7-8 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-07-24. 🎊

For reference, here are some details about the assignees on this issue:

Copy link

melvin-bot bot commented Jul 17, 2024

BugZero Checklist: The PR fixing this issue has been merged! The following checklist (instructions) will need to be completed before the issue can be closed:

  • [@rayane-djouah] The PR that introduced the bug has been identified. Link to the PR:
  • [@rayane-djouah] The offending PR has been commented on, pointing out the bug it caused and why, so the author and reviewers can learn from the mistake. Link to comment:
  • [@rayane-djouah] A discussion in #expensify-bugs has been started about whether any other steps should be taken (e.g. updating the PR review checklist) in order to catch this type of bug sooner. Link to discussion:
  • [@rayane-djouah] Determine if we should create a regression test for this bug.
  • [@rayane-djouah] If we decide to create a regression test for the bug, please propose the regression test steps to ensure the same bug will not reach production again.
  • [@strepanier03] Link the GH issue for creating/updating the regression test once above steps have been agreed upon:

@rayane-djouah
Copy link
Contributor

@strepanier03
Copy link
Contributor

@rayane-djouah - Thanks for the checklist!

I sent you an offer on Upwork and will keep an eye for the acceptance email to come through.

@rayane-djouah
Copy link
Contributor

@strepanier03 - Accepted, Thanks!

@strepanier03
Copy link
Contributor

Paid out the contract and closed it. Thanks @rayane-djouah for accepting it so quickly.

@strepanier03 strepanier03 changed the title [HOLD for payment 2024-07-24] Workspace - Endless skeleton loader after login if the account is added to a workspace [PAID] Workspace - Endless skeleton loader after login if the account is added to a workspace Jul 24, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Awaiting Payment Auto-added when associated PR is deployed to production 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
Projects
None yet
Development

No branches or pull requests

7 participants