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

Android- Chat - Message combinations sent offline showing again after delete it #13314

Closed
kbecciv opened this issue Dec 4, 2022 · 7 comments
Closed
Assignees
Labels
Bug Something is broken. Auto assigns a BugZero manager. Daily KSv2

Comments

@kbecciv
Copy link

kbecciv commented Dec 4, 2022

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


Issue found when executing PR #12626

Action Performed:

  1. Launch the app
  2. Log in with any account
  3. Open a chat
  4. Scroll all the way back to the beginning. Verify that you see the report welcome message at the start of the chat.
  5. Send a few messages in the chat. (1,2,3)
  6. Verify that the new chats appear in order at the end of the chat.
  7. Turn off your internet
  8. Send a few more messages in the chat. (Test 1, Test 2, Test 3)
  9. Those chats should appear as pending while you're offline, but they should appear in the correct order at the end of the chat.
  10. Come back online.
  11. The chats should become finalized and no longer be pending.
  12. Delete a message (Test1) verify that it disappears.

Expected Result:

Delete message should be disappear

Actual Result:

Message combinations sent offline showing again after delete it

Workaround:

Unknown

Platform:

Where is this issue occurring?

  • Android

Version Number: 1.2.36.0

Reproducible in staging?: Yes

Reproducible in production?: n/a

Email or phone of affected tester (no customers):

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

Notes/Photos/Videos: Any additional supporting documentation

Screen_Recording_20221203-154554_New.Expensify.mp4

Expensify/Expensify Issue URL:

Issue reported by: Applause - Internal Team

Slack conversation:

View all open jobs on GitHub

@kbecciv kbecciv added Daily KSv2 Bug Something is broken. Auto assigns a BugZero manager. labels Dec 4, 2022
@melvin-bot
Copy link

melvin-bot bot commented Dec 4, 2022

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

@francoisl
Copy link
Contributor

I wasn't able to reproduce this on the production app v1.2.35 so it sounds specific to the current staging. That said, it looks enough of an edge case that we shouldn't block the deploy on this, in my opinion. Would you agree @luacmartins?

@melvin-bot melvin-bot bot added the Overdue label Dec 7, 2022
@luacmartins
Copy link
Contributor

@francoisl I agree, let’s move on with the deploy.

@melvin-bot melvin-bot bot removed the Overdue label Dec 7, 2022
@strepanier03
Copy link
Contributor

strepanier03 commented Dec 8, 2022

Bug0 Triage Checklist

Note: see this SO for more information.

  • The "bug" is actually a bug: This looks like it would be considered a bug, yes.
  • The bug is not a duplicate report of an existing GH.
    • If it is, close the GH and add any novel details to the original GH instead
  • The bug is reproducible, following the reproduction steps: I am currently unable to reproduce on my Pixel 6 on staging server. Delete messages worked well for me and the delete message was removed from view once I deleted it.
    • If the GH doesn’t have steps to reliably reproduce the bug and you figure it out, then please add them.
    • If you’re unable to reproduce the bug, add the Needs reproduction label.
    • Comment on the issue outlining the steps you took to try to reproduce the bug, your results and tag the issue reporter and the Applause QA member who created the issue. Ask them to clarify reproduction steps and/or to check the reproduction steps again. Close issue.
  • The GH template is filled out as fully as possible
    • The GH body and title are clear (ie. could an external contributor understand it and work on it?)
  • The GH was created by an Expensify employee or a QA tester
  • If the bug is an OldDot issue, you should decide whether it is widespread enough to justify fixing or it is better to wait for reunification. If it’s better to wait, close the GH & provide this justification
  • If there's a link to Slack, check the discussion to see if we decided not to fix it
  • Decide if the GH should be resolved by an External contributor or Internal engineer, add the appropriate label

@strepanier03
Copy link
Contributor

strepanier03 commented Dec 8, 2022

I was unable to reproduce this on staging on my Android Pixel 6.

Steps I took:

  1. Open app on my Pixel 6,
  2. Confirm not on staging server,
  3. Follow documented steps from OP comment.

Results: Test messages were deleted as expected.

  1. Open app on my Pixel 6,
  2. Go to Preferences and enable Staging Server,
  3. Follow documented steps from OP comment.

Results: Test messages were deleted as expected.


I am going to try this tomorrow and if I still can't reproduce I'll add label and tag creator.

@luacmartins
Copy link
Contributor

I can't reproduce this either. My guess is that a pending request got stuck due to the sequenceNumber bug and that will be addressed by the design doc. I think we should close this issue.

android.mov

@strepanier03
Copy link
Contributor

Sounds good @luacmartins - I tested again today with the same resutls so I'm closing this for now and we can reopen later on if we need to.

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

No branches or pull requests

4 participants