Skip to content

[HOLD for payment 2023-05-22] [$1000] LHN - Duplicate chats after Request/Send money red dot error testing #15933

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

Closed
6 tasks done
kbecciv opened this issue Mar 14, 2023 · 57 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 Engineering Internal Requires API changes or must be handled by Expensify staff

Comments

@kbecciv
Copy link

kbecciv commented Mar 14, 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:

Prepare two users without messaging history

  1. In the main testing device - Disable the internet connection
  2. As the secondary user - Start a conversation with the user from the main testing device, send some messages
  3. In the main testing device - click on the global create + Request money
  4. Follow the prompts send IOU to the secondary user
  5. Verify the IOU Preview and message appear greyed out
  6. Enable the internet connection in the main testing
  7. Verify you see a solid red dot on the chat row of the report that failed to create
  8. Click/tap the X to dismiss the error message

Expected Result:

Verify the chat is removed from the LHN

Actual Result:

Red dots disappeared by themselves, duplicate split bill group chats are present in the LHN

Workaround:

Unknown

Platforms:

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

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

Version Number: 1.2.83.2

Reproducible in staging?: Yes

Reproducible in production?: Yes

If this was caught during regression testing, add the test name, ID and link from TestRail: https://expensify.testrail.io/index.php?/tests/view/3251680

Email or phone of affected tester (no customers):

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

Notes/Photos/Videos: Any additional supporting documentation

Bug5976711_Send_Money_Elsewhere_-_Error_Test.mp4
Bug5976711_Split_bill_scneario.mp4

Expensify/Expensify Issue URL:

Issue reported by: Applause - internal Team

Slack conversation:

View all open jobs on GitHub

Upwork Automation - Do Not Edit
  • Upwork Job URL: https://www.upwork.com/jobs/~01a7b820d8bd03c165
  • Upwork Job ID: 1637876841424584704
  • Last Price Increase: 2023-03-22
@kbecciv kbecciv added Daily KSv2 Bug Something is broken. Auto assigns a BugZero manager. labels Mar 14, 2023
@melvin-bot melvin-bot bot locked and limited conversation to collaborators Mar 14, 2023
@MelvinBot
Copy link

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

@MelvinBot
Copy link

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

@trjExpensify
Copy link
Contributor

Oh wow, @mountiny this looks pretty broken. 😕 The chat should have been deleted after clearing the red brick road.

@mountiny
Copy link
Contributor

Ooof yeah I think we still have something weird going on with the IOU flow, nobody got to fix this once Andre left I believe.

@melvin-bot melvin-bot bot added the Overdue label Mar 17, 2023
@trjExpensify
Copy link
Contributor

Okay, so this is going to be internal related to the API right?

@melvin-bot melvin-bot bot removed the Overdue label Mar 20, 2023
@trjExpensify trjExpensify added the Internal Requires API changes or must be handled by Expensify staff label Mar 20, 2023
@melvin-bot melvin-bot bot unlocked this conversation Mar 20, 2023
@MelvinBot
Copy link

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

@MelvinBot
Copy link

Triggered auto assignment to Contributor Plus for review of internal employee PR - @mananjadhav (Internal)

@melvin-bot melvin-bot bot added the Overdue label Mar 22, 2023
@trjExpensify
Copy link
Contributor

Hm, why didn't this assign an internal engineer?

@melvin-bot melvin-bot bot removed the Overdue label Mar 22, 2023
@trjExpensify trjExpensify added Internal Requires API changes or must be handled by Expensify staff and removed Internal Requires API changes or must be handled by Expensify staff labels Mar 22, 2023
@melvin-bot melvin-bot bot changed the title LHN - Duplicate chats after Split bill/Send money red dot error testing [$1000] LHN - Duplicate chats after Split bill/Send money red dot error testing Mar 22, 2023
@MelvinBot
Copy link

Current assignee @mananjadhav is eligible for the Internal assigner, not assigning anyone new.

@MelvinBot
Copy link

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

@neil-marcellini
Copy link
Contributor

I would like to work on this but I have one too many daily issues right now so I'll send it to someone else so that I don't slow things down.

@melvin-bot
Copy link

melvin-bot bot commented May 10, 2023

@mananjadhav, @yuwenmemon, @trjExpensify Uh oh! This issue is overdue by 2 days. Don't forget to update your issues!

@trjExpensify
Copy link
Contributor

Waiting on a prod deploy, chill.

@melvin-bot melvin-bot bot added Weekly KSv2 Awaiting Payment Auto-added when associated PR is deployed to production and removed Daily KSv2 labels May 15, 2023
@melvin-bot melvin-bot bot changed the title [$1000] LHN - Duplicate chats after Request/Send money red dot error testing [HOLD for payment 2023-05-22] [$1000] LHN - Duplicate chats after Request/Send money red dot error testing May 15, 2023
@melvin-bot melvin-bot bot removed the Reviewing Has a PR in review label May 15, 2023
@melvin-bot
Copy link

melvin-bot bot commented May 15, 2023

Reviewing label has been removed, please complete the "BugZero Checklist".

@melvin-bot
Copy link

melvin-bot bot commented May 15, 2023

The solution for this issue has been 🚀 deployed to production 🚀 in version 1.3.13-5 and is now subject to a 7-day regression period 📆. Here is the list of pull requests that resolve this issue:

If no regressions arise, payment will be issued on 2023-05-22. 🎊

After the hold period is over and BZ checklist items are completed, please complete any of the applicable payments for this issue, and check them off once done.

  • External issue reporter
  • Contributor that fixed the issue
  • Contributor+ that helped on the issue and/or PR

As a reminder, here are the bonuses/penalties that should be applied for any External issue:

  • Merged PR within 3 business days of assignment - 50% bonus
  • Merged PR more than 9 business days after assignment - 50% penalty

@melvin-bot
Copy link

melvin-bot bot commented May 15, 2023

BugZero Checklist: The PR fixing this issue has been merged! The following checklist (instructions) will need to be completed before the issue can be closed:

  • [@mananjadhav] The PR that introduced the bug has been identified. Link to the PR:
  • [@mananjadhav] The offending PR has been commented on, pointing out the bug it caused and why, so the author and reviewers can learn from the mistake. Link to comment:
  • [@mananjadhav] A discussion in #expensify-bugs has been started about whether any other steps should be taken (e.g. updating the PR review checklist) in order to catch this type of bug sooner. Link to discussion:
  • [@mananjadhav] Determine if we should create a regression test for this bug.
  • [@mananjadhav] If we decide to create a regression test for the bug, please propose the regression test steps to ensure the same bug will not reach production again.
  • [@trjExpensify] Link the GH issue for creating/updating the regression test once above steps have been agreed upon:

@melvin-bot melvin-bot bot added Daily KSv2 and removed Weekly KSv2 labels May 21, 2023
@mananjadhav
Copy link
Collaborator

@yuwenmemon @trjExpensify I am unable to trace the offending PR, and because it is likely we added fixes from the API too, do we know if this was an App only bug resulted from a previous PR?

Also while this is an edge case, I think we can add a regression test? wdyt? In my opinion, the Test Steps in the PR are good enough for the regression test.

@yuwenmemon
Copy link
Contributor

Sounds great

@luacmartins
Copy link
Contributor

Re-adding Bug label to assign a new BZ since @trjExpensify is ooo.

@luacmartins luacmartins added Bug Something is broken. Auto assigns a BugZero manager. and removed Bug Something is broken. Auto assigns a BugZero manager. labels May 24, 2023
@melvin-bot
Copy link

melvin-bot bot commented May 24, 2023

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

@melvin-bot

This comment was marked as off-topic.

@luacmartins
Copy link
Contributor

@michaelhaxhiu just re-added the Bug label since @trjExpensify is ooo and the payment is overdue. Could you please help with that?

@trjExpensify
Copy link
Contributor

I'm back, we can take Hax off this. Processing now.

@trjExpensify
Copy link
Contributor

trjExpensify commented May 25, 2023

Also while this is an edge case, I think we can add a regression test? wdyt? In my opinion, the Test Steps in the PR are good enough for the regression test.

Applause caught this bug through executing the regression tests, so I don't think we need to add anything new for this.

@mananjadhav I've sent you an offer for $1000 here.

@michaelhaxhiu
Copy link
Contributor

Sorry I didn't get to this yesterday :( tag me in today if you need on any other GHs (I know you had fulls hands at EC3 the past week @trjExpensify)

@mananjadhav
Copy link
Collaborator

Accepted @trjExpensify

@trjExpensify
Copy link
Contributor

Perfect, settled up!

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

No branches or pull requests

10 participants