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

[Bug] IOS/Android/Desktop - Messages are showing sent multiple times for sender #10550

Closed
kbecciv opened this issue Aug 24, 2022 · 34 comments
Closed
Assignees
Labels
Bug Something is broken. Auto assigns a BugZero manager. Engineering Monthly KSv2

Comments

@kbecciv
Copy link

kbecciv commented Aug 24, 2022

If you haven’t already, check out our contributing guidelines for onboarding and email contributors@expensify.com to request to join our Slack channel!


Action Performed:

  1. Launch App and login
  2. Off WiFi
  3. Send some messages to an account you have access too. (Preferably you're logged in on another device with)
  4. On WiFi

Expected Result:

Messages sent without internet connection should be sent without any issues.

Actual Result:

Messages are sent twice for sender

Workaround:

Uknown

Platform:

Where is this issue occurring?

  • iOS
  • Android

Version Number: 1.1.89.0

Reproducible in staging?: Yes

Reproducible in production?: No

Email or phone of affected tester (no customers): any

Logs: https://stackoverflow.com/c/expensify/questions/4856

Notes/Photos/Videos: Any additional supporting documentation

Bug5702689_20220824_113632.mp4
RPReplay_Final1661367712.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 Aug 24, 2022
@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 24, 2022

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

@AndrewGable
Copy link
Contributor

Few thoughts:

  1. Agree I cannot reproduce on web
  2. It seems(??) like a client side only issue since the double message is only seen on iOS and not on web
  3. I think you have to leave and re-enter the page for the double message to show

@srikarparsi
Copy link
Contributor

I agree, I wasn't able to reproduce this on web either. In the second video though, it looks like the message is rendering twice in the app without the user leaving the page.

@srikarparsi
Copy link
Contributor

I'm un-assigning myself as I don't have much knowledge yet in ios/android and don't think I will be able to figure it out quick enough but will take a look back at the issue in the morning.

@srikarparsi srikarparsi removed their assignment Aug 25, 2022
@AndrewGable
Copy link
Contributor

OK we've decided to unblock this and move on. It requires a large-ish fix that is "moving backwards" in terms of where we want to go in terms of optimistic report action IDs/sequenceNumbers, so we are going to live with the bug for a little bit, then make sure it's fixed once we have removed sequenceNumbers.

@AndrewGable AndrewGable added Weekly KSv2 and removed DeployBlockerCash This issue or pull request should block deployment Hourly KSv2 labels Aug 25, 2022
@melvin-bot melvin-bot bot added the Overdue label Sep 5, 2022
@AndrewGable
Copy link
Contributor

@Expensify/applauseleads - Can you re-test?

@melvin-bot melvin-bot bot removed the Overdue label Sep 6, 2022
@kavimuru
Copy link

kavimuru commented Sep 6, 2022

@AndrewGable
Copy link
Contributor

Ok thank you - I believe the fix is still in the works.

@melvin-bot melvin-bot bot added the Overdue label Sep 16, 2022
@JmillsExpensify JmillsExpensify changed the title IOS/Android - Messages are sent twice for sender [Bug] IOS/Android - Messages are sent twice for sender Sep 22, 2022
@mallenexpensify mallenexpensify changed the title [Bug] IOS/Android - Messages are sent twice for sender [Bug] IOS/Android/Desktop - Messages are showing sent multiple times for sender Sep 22, 2022
@mallenexpensify
Copy link
Contributor

This appears to also be happening on desktop and it's semi-consistent. Thread, examples and logs here
https://expensify.slack.com/archives/C01GTK53T8Q/p1663717163964739?thread_ts=1663714013.290919&cid=C01GTK53T8Q

@JmillsExpensify I think you should add this to WA Project. I'll keep digging for more examples (inc. web) and reproducible steps

@JmillsExpensify
Copy link

Yes, agreed. I'll add it as this keeps coming up.

@mallenexpensify
Copy link
Contributor

New bits from testing - Slack post

Here's an interesting tidbit...

  1. Noticed I had multiple of the same message show from me to Scott on Desktop Version 1.2.5-0
  2. Scrolled up to see how many were showing and to get screenshot
  3. Noticed as I scrolled (both ways?) that new duplicates were loading

Seems like it's related to loading or maybe pagination? (guessing). Vid and logs.
scroll to make duplicate message.txt

2022-09-22_11-49-55.mp4

@mvtglobally
Copy link

Issue not reproducible during KI retests. (First week)

@trjExpensify
Copy link
Contributor

I'm going to update the title of this issue to put [Hold Sequence #] in it as I understand we're held here on implementing that project.

@AndrewGable AndrewGable added Monthly KSv2 and removed Weekly KSv2 labels Oct 11, 2022
@JmillsExpensify
Copy link

I'm kind of on the fence. I would almost rather track this issues elsewhere than keep them open in the repo. The focus here should be on bugs and performance improvements we can and are actively fixing. So I think I'd rather just not it somewhere, close it, and test it later.

@mallenexpensify
Copy link
Contributor

Can't we just use the [HOLD] title preface and Planning label?
What's he problem we're trying to solve by closing known bugs that aren't fixed?

@JmillsExpensify
Copy link

I'm not super passionate. Feel free to keep for now. We can circle back when API Unchained is done and bugs/performance and the like are our top priority for WAQ.

@JmillsExpensify JmillsExpensify changed the title [Hold Sequence E/E #227234] [Bug] IOS/Android/Desktop - Messages are showing sent multiple times for sender [Hold #227234] [Bug] IOS/Android/Desktop - Messages are showing sent multiple times for sender Oct 19, 2022
@JmillsExpensify JmillsExpensify changed the title [Hold #227234] [Bug] IOS/Android/Desktop - Messages are showing sent multiple times for sender [HOLD #227234] [Bug] IOS/Android/Desktop - Messages are showing sent multiple times for sender Oct 19, 2022
@puneetlath puneetlath added the Bug Something is broken. Auto assigns a BugZero manager. label Oct 19, 2022
@mvtglobally
Copy link

Issue not reproducible during KI retests. (Second week)

@melvin-bot melvin-bot bot added the Overdue label Nov 14, 2022
@AndrewGable
Copy link
Contributor

Still on hold.

@melvin-bot melvin-bot bot removed the Overdue label Nov 14, 2022
@JmillsExpensify
Copy link

Added myself so that I can keep track of this one during the sequence numbers implementation.

@JmillsExpensify JmillsExpensify self-assigned this Nov 14, 2022
@JmillsExpensify
Copy link

Still holding until we get sequence numbers out.

@JmillsExpensify
Copy link

Still waiting on sequence numbers.

@mvtglobally
Copy link

Issue not reproducible during KI retests. (Third week)

@mvtglobally
Copy link

@JmillsExpensify @AndrewGable
We noticed slightly different behavior in staging today. Could it be related to the same issue reported here?
#12886 (comment)

@JmillsExpensify
Copy link

Yes, same issue. Commented in the linked PR.

@JmillsExpensify
Copy link

Still held on sequence numbers.

@JmillsExpensify
Copy link

Still on hold for SN, though hopefully we'll be through that and ready and test in the coming week or two.

@JmillsExpensify
Copy link

Held on sequence numbers.

@JmillsExpensify JmillsExpensify changed the title [HOLD #227234] [Bug] IOS/Android/Desktop - Messages are showing sent multiple times for sender [HOLD Expensify #227234] [Bug] IOS/Android/Desktop - Messages are showing sent multiple times for sender Dec 27, 2022
@JmillsExpensify
Copy link

Still on hold for SN.

@JmillsExpensify
Copy link

Taking this off hold and trying to reproduce now.

@JmillsExpensify JmillsExpensify changed the title [HOLD Expensify #227234] [Bug] IOS/Android/Desktop - Messages are showing sent multiple times for sender [Bug] IOS/Android/Desktop - Messages are showing sent multiple times for sender Feb 2, 2023
@JmillsExpensify
Copy link

Unable to reproduce now, and this is actually similar to another recently closed issue #10615. Closing and adding the needs reproduction label.

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 Monthly KSv2
Projects
None yet
Development

No branches or pull requests

10 participants