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 - Messages are delivered with long delay after changing avatar #17190

Closed
5 of 6 tasks
kbecciv opened this issue Apr 8, 2023 · 9 comments
Closed
5 of 6 tasks

Chat - Messages are delivered with long delay after changing avatar #17190

kbecciv opened this issue Apr 8, 2023 · 9 comments
Assignees

Comments

@kbecciv
Copy link

kbecciv commented Apr 8, 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. Go to https://staging.new.expensify.com/
    on 2 devices with 2 accounts
  2. Send message from A to B and back
  3. Change avatar (remove current picture or upload a new one) - tester used Web
  4. Go back to chat and send more messages

Expected Result:

Messages should be sent without any issues

Actual Result:

Looks like messages are not sent. One can see that the other account is typing but no messages arrive from A to B and back. It seems to both account that messages are sent but they are not delivered. Sometimes messages are delivered later with delay, sometimes they are not delivered at all.

Workaround:

Unknown

Platforms:

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

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

Version Number: 1.2.97.2

Reproducible in staging?: Yes

Reproducible in production?: No

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

Bug6010964_video_07-1.1.mp4

Expensify/Expensify Issue URL:

Issue reported by: Applause - Internal Team

Slack conversation:

View all open jobs on GitHub

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

OSBotify commented Apr 8, 2023

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

@MelvinBot
Copy link

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

@francoisl
Copy link
Contributor

This is a real issue but it's also happening in production. Going to remove the deploy blocker label so we can go ahead with the deploy.

Screen.Recording.2023-04-10.at.10.27.26.AM.mov

@francoisl francoisl added Daily KSv2 and removed DeployBlockerCash This issue or pull request should block deployment Hourly KSv2 labels Apr 10, 2023
@flodnv
Copy link
Contributor

flodnv commented Apr 10, 2023

Yikes! What's going on here?! 😅

@francoisl any idea if this is internal or external?

@francoisl
Copy link
Contributor

No idea sorry, I was mostly looking to see if we could unblock the NewDot deploy. I checked the JS console when I tested and didn't see any errors, so for now I'd look at the network tab and make sure the requests are sent properly after updating your profile picture. Also backend logs, to see if there are weird shenanigans going on with push notifications.

@melvin-bot melvin-bot bot added the Overdue label Apr 13, 2023
@MelvinBot
Copy link

@flodnv Whoops! This issue is 2 days overdue. Let's get this updated quick!

@MelvinBot
Copy link

@flodnv 6 days overdue. This is scarier than being forced to listen to Vogon poetry!

@flodnv
Copy link
Contributor

flodnv commented Apr 18, 2023

I finally got around to testing this, and the problem is in fact not in the API! The problem is that the NewDot client app waits on UpdateUserAvatar to be done before sending any subsequent requests! I am not sure why we do that, maybe something related to sending requests in sync / offline mode? In any case, in this scenario it really does not seem necessary to me...

Video demonstrating this here:

Screen.Recording.2023-04-18.at.3.59.56.PM.mov

@melvin-bot melvin-bot bot removed the Overdue label Apr 18, 2023
@flodnv
Copy link
Contributor

flodnv commented Apr 18, 2023

Discussed here: https://expensify.slack.com/archives/C01GTK53T8Q/p1681848506766119

This is more a feature than a bug. It is kind of a bug, but we won't fix for now.

@flodnv flodnv closed this as completed Apr 18, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

5 participants