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 #37281][$1000] Onyx data does not get removed cleanly on sign out #34473

Closed
1 of 6 tasks
m-natarajan opened this issue Jan 13, 2024 · 73 comments
Closed
1 of 6 tasks
Assignees
Labels
Bug Something is broken. Auto assigns a BugZero manager. retest-weekly Apply this label if you want this issue tested on a Weekly basis by Applause Weekly KSv2

Comments

@m-natarajan
Copy link

m-natarajan commented Jan 13, 2024

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


Version Number:
Reproducible in staging?: needs reproduction ( Don't have account with several hundreds of chats)
Reproducible in production?:
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
Expensify/Expensify Issue URL:
Issue reported by: @marcaaron
Slack conversation: https://expensify.slack.com/archives/C049HHMV9SM/p1705012041676559

Action Performed:

  1. Signed into an account with many many chats
  2. Signed out
  3. Signed in with a brand new account (which should have only the Concierge chat)

Expected Result:

Nothing from the account that I signed out from should be persisted in the client data whatsoever.

Actual Result:

Tons of chats from the first account show up in the second account. A ton of Onyx keys still have values of {hasDraft: false} and there are also straight up reports that shouldn't be there at all. These also show up in the LHN.

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
2024-01-11_12-21-12
2024-01-11_12-22-20

2024-01-11_12-19-23

View all open jobs on GitHub

Upwork Automation - Do Not Edit
  • Upwork Job URL: https://www.upwork.com/jobs/~01211aa8ecc46d7a5e
  • Upwork Job ID: 1759703332875366400
  • Last Price Increase: 2024-03-24
@m-natarajan m-natarajan added Daily KSv2 Needs Reproduction Reproducible steps needed Bug Something is broken. Auto assigns a BugZero manager. labels Jan 13, 2024
Copy link

melvin-bot bot commented Jan 13, 2024

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

@melvin-bot melvin-bot bot added the Overdue label Jan 15, 2024
Copy link

melvin-bot bot commented Jan 16, 2024

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

@anmurali
Copy link

I cannot reproduce
image
The two reports I see are Concierge DM and domain room, and the new account has both.

@marcaaron can you test this again and reopen if you still run into it?

@melvin-bot melvin-bot bot removed the Overdue label Jan 16, 2024
@marcaaron
Copy link
Contributor

It seems dependent on how much data you have in the first account when signing out. If you have a lot - not all of it gets cleared.

We can close it - but feels like there is some obvious reason why this is happening and it should be patched at some point. Switching from one account to another is not such a common thing though so we can deprioritize it for now (but it is still happening for me).

2024-01-16_14-41-03

Copy link

melvin-bot bot commented Feb 19, 2024

Job added to Upwork: https://www.upwork.com/jobs/~01211aa8ecc46d7a5e

Copy link

melvin-bot bot commented Feb 19, 2024

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

@mallenexpensify
Copy link
Contributor

Experiencing what I believe is the same bug
https://expensify.slack.com/archives/C049HHMV9SM/p1708356217921739

I put the below on hold

@thesahindia can you see if you're able to reproduce? thx

@thesahindia
Copy link
Member

Yeah it's the same issue. I have experienced it in the past.

@thesahindia
Copy link
Member

Please reassign. I am planning to go OOO.

@thesahindia thesahindia removed their assignment Feb 20, 2024
@mallenexpensify mallenexpensify 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 Feb 21, 2024
@melvin-bot melvin-bot bot changed the title Onyx data does not get removed cleanly on sign out [$500] Onyx data does not get removed cleanly on sign out Feb 21, 2024
Copy link

melvin-bot bot commented Feb 21, 2024

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

@melvin-bot melvin-bot bot added the Overdue label Feb 23, 2024
Copy link

melvin-bot bot commented Feb 26, 2024

@anmurali, @s77rt Huh... This is 4 days overdue. Who can take care of this?

Copy link

melvin-bot bot commented Feb 28, 2024

@anmurali, @s77rt Still overdue 6 days?! Let's take care of this!

Copy link

melvin-bot bot commented Mar 1, 2024

@anmurali, @s77rt Now this issue is 8 days overdue. Are you sure this should be a Daily? Feel free to change it!

@melvin-bot melvin-bot bot added the Overdue label Mar 18, 2024
@s77rt
Copy link
Contributor

s77rt commented Mar 18, 2024

Still discussing in Slack

@melvin-bot melvin-bot bot removed the Overdue label Mar 18, 2024
@mvtglobally
Copy link

Issue not reproducible during KI retests. (First week)

@melvin-bot melvin-bot bot added the Overdue label Mar 20, 2024
@s77rt
Copy link
Contributor

s77rt commented Mar 21, 2024

No update. Still discussing in Slack

@melvin-bot melvin-bot bot removed the Overdue label Mar 21, 2024
Copy link

melvin-bot bot commented Mar 24, 2024

📣 It's been a week! Do we have any satisfactory proposals yet? Do we need to adjust the bounty for this issue? 💸

@melvin-bot melvin-bot bot added the Overdue label Mar 24, 2024
@s77rt
Copy link
Contributor

s77rt commented Mar 24, 2024

Bumped the slack thread

@melvin-bot melvin-bot bot removed the Overdue label Mar 24, 2024
@shubham1206agra
Copy link
Contributor

@anmurali This might be fixed with #37281.
cc @roryabraham @s77rt

@s77rt
Copy link
Contributor

s77rt commented Mar 26, 2024

@shubham1206agra Thank you! Indeed that PR shall prevent this issue from happening. Let's put this one on hold

@mallenexpensify mallenexpensify changed the title [$1000] Onyx data does not get removed cleanly on sign out [HOLD #37281][$1000] Onyx data does not get removed cleanly on sign out Mar 26, 2024
@mallenexpensify mallenexpensify added Weekly KSv2 and removed External Added to denote the issue can be worked on by a contributor Daily KSv2 Help Wanted Apply this label when an issue is open to proposals by contributors labels Mar 26, 2024
@mallenexpensify
Copy link
Contributor

mallenexpensify commented Mar 26, 2024

Put on hold, removed External and Help Wanted, bumped to Weekly

Thanks @shubham1206agra for the tip!

@s77rt
Copy link
Contributor

s77rt commented Apr 5, 2024

#37281 is merged. Issue not longer reproducible. Let's close this

@melvin-bot melvin-bot bot removed the Overdue label Apr 5, 2024
@mallenexpensify mallenexpensify added the retest-weekly Apply this label if you want this issue tested on a Weekly basis by Applause label Apr 7, 2024
@mallenexpensify
Copy link
Contributor

Throwing retest-weekly on this to confirm, then we can close. thx!

@melvin-bot melvin-bot bot added the Overdue label Apr 15, 2024
@anmurali
Copy link

@mallenexpensify any updates?

@melvin-bot melvin-bot bot removed the Overdue label Apr 17, 2024
@mallenexpensify
Copy link
Contributor

Closing, just tried to repro with no luck
image

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. retest-weekly Apply this label if you want this issue tested on a Weekly basis by Applause Weekly KSv2
Projects
No open projects
Archived in project
Development

No branches or pull requests