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

Chat - Chat disappears & shows skeleton when going offline (web) or backgrounding the app (native) #24573

Closed
6 tasks done
lanitochka17 opened this issue Aug 15, 2023 · 17 comments
Assignees
Labels
Daily KSv2 Engineering Reviewing Has a PR in review

Comments

@lanitochka17
Copy link

lanitochka17 commented Aug 15, 2023

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


Action Performed:

  1. IMPORTANT: Sign out and sign into the app again
  2. Background the app
  3. Bring the app into the foreground again

Expected Result:

The user expects the chats in the LHN to continue displaying throughout this entire process

Actual Result:

The chats are loading and displaying "skeletons" when the user switches the internet on and off

Workaround:

Unknown

Platforms:

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

  • Android / native
  • Android / Chrome
  • iOS / native
  • iOS / Safari
  • MacOS / Chrome
  • MacOS / Desktop

Version Number: 1.3.54.7

Reproducible in staging?: Yes

Reproducible in production?: Yes

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

Notes/Photos/Videos: Any additional supporting documentation

Bug6165311_Chat_reloads_on_staging.mp4

Expensify/Expensify Issue URL:

Issue reported by: Applause - Internal Team

Slack conversation:

View all open jobs on GitHub

@lanitochka17 lanitochka17 added Daily KSv2 Bug Something is broken. Auto assigns a BugZero manager. labels Aug 15, 2023
@melvin-bot
Copy link

melvin-bot bot commented Aug 15, 2023

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

@melvin-bot
Copy link

melvin-bot bot commented Aug 15, 2023

Bug0 Triage Checklist (Main S/O)

  • This "bug" occurs on a supported platform (ensure Platforms in OP are ✅)
  • This bug is not a duplicate report (check E/App issues and #expensify-bugs)
    • If it is, comment with a link to the original report, close the issue and add any novel details to the original issue instead
  • This bug is reproducible using the reproduction steps in the OP. S/O
    • If the reproduction steps are clear and you're unable to reproduce the bug, check with the reporter and QA first, then close the issue.
    • If the reproduction steps aren't clear and you determine the correct steps, please update the OP.
  • This issue is filled out as thoroughly and clearly as possible
    • Pay special attention to the title, results, platforms where the bug occurs, and if the bug happens on staging/production.
  • I have reviewed and subscribed to the linked Slack conversation to ensure Slack/Github stay in sync

@lanitochka17 lanitochka17 added DeployBlockerCash This issue or pull request should block deployment and removed Daily KSv2 Bug Something is broken. Auto assigns a BugZero manager. labels Aug 15, 2023
@OSBotify
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.

@melvin-bot
Copy link

melvin-bot bot commented Aug 15, 2023

Triggered auto assignment to @madmax330 (Engineering), see https://stackoverflow.com/c/expensify/questions/4319 for more details.

@s-alves10
Copy link
Contributor

I can't reproduce this

@madmax330
Copy link
Contributor

I was able to reproduce, however, I don't think it's a blocker since the chat list loads up after you get back online

@madmax330 madmax330 added Daily KSv2 and removed DeployBlockerCash This issue or pull request should block deployment Hourly KSv2 labels Aug 15, 2023
@situchan situchan mentioned this issue Aug 17, 2023
59 tasks
@marcaaron
Copy link
Contributor

Coming from #25426 (comment) the repro steps are wrong we think. It has nothing to do with inviting a WS member. Just going offline and coming back is enough to trigger it. BUT...

  1. You have to have logged in during that session (not rehydrating state from storage).
  2. It's on production already so can't be a blocker.

@melvin-bot melvin-bot bot added the Overdue label Aug 17, 2023
@marcaaron marcaaron changed the title Chat - Chat disappears & shows skeleton when inviting WS member offline Chat - Chat disappears & shows skeleton when going offline (web) or backgrounding the app (native) Aug 17, 2023
@s-alves10
Copy link
Contributor

This issue can be fixed with this PR
Some modification might be needed

@marcaaron
Copy link
Contributor

In this case we are good as it's on prod already, but this looks like an otherwise legitimate blocker to me. The offending PR is here.

@aldo-expensify
Copy link
Contributor

This issue can be fixed with this PR
Some modification might be needed

what kind of modifications? Are you saying that it doesn't fix it in the current state?

@s-alves10
Copy link
Contributor

If there are only a few reports, turning back on internet would show skeleton below the exiting reports with the current PR
I'm not sure if this is expected

@s-alves10
Copy link
Contributor

I think we need to set the expectation here before moving forward

@melvin-bot
Copy link

melvin-bot bot commented Aug 17, 2023

⚠️ 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.

@tienifr tienifr mentioned this issue Aug 18, 2023
59 tasks
@melvin-bot
Copy link

melvin-bot bot commented Aug 21, 2023

@madmax330, @bfitzexpensify Eep! 4 days overdue now. Issues have feelings too...

@melvin-bot melvin-bot bot removed the Overdue label Aug 21, 2023
@madmax330
Copy link
Contributor

@aldo-expensify going to assign you then since this is a regression cause by that PR you're assigned to.

@aldo-expensify
Copy link
Contributor

PR under review

@melvin-bot melvin-bot bot added Overdue and removed Overdue labels Aug 29, 2023
@aldo-expensify aldo-expensify added the Reviewing Has a PR in review label Sep 1, 2023
@melvin-bot melvin-bot bot removed the Overdue label Sep 1, 2023
@aldo-expensify
Copy link
Contributor

PR is in production, verified that it is working now:

Screen.Recording.2023-08-31.at.7.19.38.PM.mov
Screen.Recording.2023-08-31.at.7.21.25.PM.mov

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Daily KSv2 Engineering Reviewing Has a PR in review
Projects
None yet
Development

No branches or pull requests

7 participants