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

[HOLD for payment 2024-04-03] [LOW] [Splits] [$500] Chat - Error "a previously existing chat between these users." is missing when go online #36928

Closed
1 of 6 tasks
lanitochka17 opened this issue Feb 20, 2024 · 24 comments
Assignees
Labels
Awaiting Payment Auto-added when associated PR is deployed to production Bug Something is broken. Auto assigns a BugZero manager. Daily KSv2 Internal Requires API changes or must be handled by Expensify staff

Comments

@lanitochka17
Copy link

lanitochka17 commented Feb 20, 2024

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


Version Number: 1.4.43-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:
Email or phone of affected tester (no customers): applausetester+0507gm@applause.expensifail.com
Logs: https://stackoverflow.com/c/expensify/questions/4856
Expensify/Expensify Issue URL:
Issue reported by: Applause - Internal Team
Slack conversation:

Issue found when executing PR #36538

Action Performed:

  1. Log into New Dot on two devices, user A and user B
  2. As user A, go offline and request money from user B
  3. Verify an offline, optimistic request is created
  4. As user B, go online and request money from user A
  5. Verify the money request is successfully created
  6. As user A, go back online

Expected Result:

When user A come back online error message about "a previously existing chat between these users." should appear

Actual Result:

"Hmm...It's not here" page appears

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

Bug6385908_1708447855267.Recording__2341.mp4

View all open jobs on GitHub

Upwork Automation - Do Not Edit
  • Upwork Job URL: https://www.upwork.com/jobs/~01f6be5b10ed2e0055
  • Upwork Job ID: 1759993160900755457
  • Last Price Increase: 2024-02-20
Issue OwnerCurrent Issue Owner: @sonialiap
@lanitochka17 lanitochka17 added DeployBlockerCash This issue or pull request should block deployment External Added to denote the issue can be worked on by a contributor labels Feb 20, 2024
Copy link

melvin-bot bot commented Feb 20, 2024

Job added to Upwork: https://www.upwork.com/jobs/~01f6be5b10ed2e0055

@melvin-bot melvin-bot bot changed the title Chat - Error "a previously existing chat between these users." is missing when go online [$500] Chat - Error "a previously existing chat between these users." is missing when go online Feb 20, 2024
@melvin-bot melvin-bot bot added the Help Wanted Apply this label when an issue is open to proposals by contributors label Feb 20, 2024
Copy link

melvin-bot bot commented Feb 20, 2024

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

@melvin-bot melvin-bot bot added the Daily KSv2 label Feb 20, 2024
@github-actions github-actions bot added Engineering Hourly KSv2 and removed Daily KSv2 labels Feb 20, 2024
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.

Copy link

melvin-bot bot commented Feb 20, 2024

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

@blimpich
Copy link
Contributor

@arosiclair @thienlnam @aimane-chnaif can you look at this? Looks like this is related to #36538

@arosiclair
Copy link
Contributor

arosiclair commented Feb 20, 2024

Couldn't reproduce on v1.4.43-5:

Screenshot 2024-02-20 at 3 12 28 PM

There may be a difference using the "force offline" toggle. I am using dev tools.

@aimane-chnaif
Copy link
Contributor

Screen.Recording.2024-02-20.at.9.17.18.PM.mov

Just tested on staging. Not able to reproduce other than weird unrelated bugs

Screenshot 2024-02-20 at 9 18 31 PM

@arosiclair
Copy link
Contributor

Okay I was able to reproduce using the "Force offline" toggle. This seems to be caused by the extra navigation back to the report which triggers OpenReport for the optimistic report and gets it cleared from Onyx.

This is related but slightly different from the repro steps I fixed. Since this is still an edge case, I'll remove the blocker label and take care of this flow later.

@arosiclair arosiclair added Daily KSv2 Bug Something is broken. Auto assigns a BugZero manager. and removed DeployBlockerCash This issue or pull request should block deployment Hourly KSv2 labels Feb 20, 2024
Copy link

melvin-bot bot commented Feb 20, 2024

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

@arosiclair arosiclair assigned arosiclair and unassigned sonialiap and blimpich Feb 20, 2024
@melvin-bot melvin-bot bot added the Overdue label Mar 7, 2024
@melvin-bot melvin-bot bot added Reviewing Has a PR in review Weekly KSv2 and removed Daily KSv2 Overdue labels Mar 7, 2024
@arosiclair arosiclair added Daily KSv2 and removed Reviewing Has a PR in review labels Mar 14, 2024
@melvin-bot melvin-bot bot added the Overdue label Mar 14, 2024
@arosiclair arosiclair removed the Weekly KSv2 label Mar 14, 2024
@arosiclair
Copy link
Contributor

Ran into a blocker but started a discussion in slack about it here

@melvin-bot melvin-bot bot removed the Overdue label Mar 14, 2024
@arosiclair
Copy link
Contributor

Alright per that discussion we'll make OpenReport set errorFields.notFound for reports that are inaccessible instead of deleting the report completely. errorFields.notFound will display the "it's not here" page only when there aren't any other helpful errors set.

I'll post a Web-E PR to get those changes out and then continue with the App PR.

@arosiclair
Copy link
Contributor

Alright two PRs are updated and out for review. App PR's needs to go first:

@arosiclair arosiclair added the Reviewing Has a PR in review label Mar 15, 2024
@arosiclair arosiclair assigned fedirjh and unassigned mananjadhav Mar 20, 2024
@arielgreen arielgreen changed the title [$500] Chat - Error "a previously existing chat between these users." is missing when go online [LOW] [Splits] [$500] Chat - Error "a previously existing chat between these users." is missing when go online Mar 22, 2024

This comment was marked as resolved.

@arosiclair arosiclair removed the Reviewing Has a PR in review label Apr 3, 2024
@melvin-bot melvin-bot bot added the Overdue label Apr 3, 2024
@arosiclair
Copy link
Contributor

App PR deployed a week ago so this is due for payment @sonialiap

@melvin-bot melvin-bot bot removed the Overdue label Apr 3, 2024
@sonialiap sonialiap added the Awaiting Payment Auto-added when associated PR is deployed to production label Apr 3, 2024
@sonialiap
Copy link
Contributor

App PR deployed to prod Mar 27, 7 days makes payment due on Apr 3 (today 💸 )

@sonialiap
Copy link
Contributor

@fedirjh $500 - offer sent

@sonialiap sonialiap changed the title [LOW] [Splits] [$500] Chat - Error "a previously existing chat between these users." is missing when go online [HOLD for payment 2024-04-03] [LOW] [Splits] [$500] Chat - Error "a previously existing chat between these users." is missing when go online Apr 3, 2024
@fedirjh
Copy link
Contributor

fedirjh commented Apr 3, 2024

@sonialiap Thank you. Accepted!

@sonialiap
Copy link
Contributor

Paid ✔️

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 Internal Requires API changes or must be handled by Expensify staff
Projects
None yet
Development

No branches or pull requests

7 participants