You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
Badge is shown though there is no outstanding IOU for a chat of a High Traffic account #12850
BugSomething is broken. Auto assigns a BugZero manager.DailyKSv2InternalRequires API changes or must be handled by Expensify staffReviewingHas a PR in review
changed the title [-]Android- Chat - Chat conversation is not loading for High Traffic account[/-][+][$250] Android- Chat - Chat conversation is not loading for High Traffic account[/+]on Nov 18, 2022
One thing I am still wondering is: Could be possible that the item 1 from my comment #12850 (comment) is occurring due to the same issue? I mean because the account was closed while having outstanding IOUs?
Yeah, it's probably likely, but a good one to test once we fix the logic to make sure we are canceling outstanding IOU transactions in the case where you're owed money when you close your account (like we are when you owe money which works without issue). 👍
I looked at the code which cancels the IOU transactions when closing an account. The thing that caught my eye is that the IOU transaction is canceled only if the user is the manager of that report (see code here). I am going to ask for help on Slack as I need to understand what is a report manager (I guess it's a role with some permissions on the report) and what kind of transactions we have on a report. I want to better understand the impact of my changes.
@trjExpensify I tested having your hunch on my mind and I could reproduce the other issue as well (chat does not load). What I can tell is that it happens when the close account operation fails due to multiple possible exceptions. By canceling all outstanding IOUs we narrow down the possible exceptions that could be thrown.
we should more broadly consider how DMs with closed accounts should work. I.e why aren't they archived, just like rooms? Why can you still request money from someone who's actively closed their account, and further why do you still get email summaries when the NotifyOfflineUsersAboutActivity job runs when you've closed your account?
IIRC it has always been a built-in feature of chat reports that they would never get closed. I think that initially stemmed from the support requirement where people who have closed their accounts may still need to interact with Concierge. And my guess would be we just extended that out to all chat reports.
BugSomething is broken. Auto assigns a BugZero manager.DailyKSv2InternalRequires API changes or must be handled by Expensify staffReviewingHas a PR in review
Activity
melvin-bot commentedon Nov 17, 2022
Triggered auto assignment to @NicMendonca (
Bug), see https://stackoverflow.com/c/expensify/questions/14418 for more details.melvin-bot commentedon Nov 18, 2022
Current assignee @NicMendonca is eligible for the External assigner, not assigning anyone new.
melvin-bot commentedon Nov 18, 2022
Job added to Upwork: https://www.upwork.com/jobs/~01f9455eddfbef1f61
melvin-bot commentedon Nov 18, 2022
Triggered auto assignment to Contributor-plus team member for initial proposal review - @rushatgabhane (
External)melvin-bot commentedon Nov 18, 2022
Triggered auto assignment to @cristipaval (
External), see https://stackoverflow.com/c/expensify/questions/7972 for more details.[-]Android- Chat - Chat conversation is not loading for High Traffic account[/-][+][$250] Android- Chat - Chat conversation is not loading for High Traffic account[/+]rushatgabhane commentedon Nov 18, 2022
@NicMendonca this should be $1k issue as per https://expensify.slack.com/archives/C01GTK53T8Q/p1668726522584349
markarmanus commentedon Nov 18, 2022
@kbecciv @rushatgabhane is it possible to get the login details for the account, to reproduce the issue ?
62 remaining items
trjExpensify commentedon Dec 20, 2022
Yeah, it's probably likely, but a good one to test once we fix the logic to make sure we are canceling outstanding IOU transactions in the case where you're owed money when you close your account (like we are when you owe money which works without issue). 👍
cristipaval commentedon Dec 22, 2022
I looked at the code which cancels the IOU transactions when closing an account. The thing that caught my eye is that the IOU transaction is canceled only if the user is the manager of that report (see code here). I am going to ask for help on Slack as I need to understand what is a report manager (I guess it's a role with some permissions on the report) and what kind of transactions we have on a report. I want to better understand the impact of my changes.
cristipaval commentedon Dec 22, 2022
@trjExpensify I tested having your hunch on my mind and I could reproduce the other issue as well (chat does not load). What I can tell is that it happens when the close account operation fails due to multiple possible exceptions. By canceling all outstanding IOUs we narrow down the possible exceptions that could be thrown.
melvin-bot commentedon Dec 30, 2022
@cristipaval Whoops! This issue is 2 days overdue. Let's get this updated quick!
marcaaron commentedon Jan 2, 2023
IIRC it has always been a built-in feature of chat reports that they would never get closed. I think that initially stemmed from the support requirement where people who have closed their accounts may still need to interact with Concierge. And my guess would be we just extended that out to all chat reports.
melvin-bot commentedon Jan 3, 2023
@cristipaval Still overdue 6 days?! Let's take care of this!
melvin-bot commentedon Jan 5, 2023
@cristipaval Now this issue is 8 days overdue. Are you sure this should be a Daily? Feel free to change it!
melvin-bot commentedon Jan 9, 2023
@cristipaval 12 days overdue now... This issue's end is nigh!
cristipaval commentedon Jan 11, 2023
PR is still in review due to a technical debate.
Trying to push it forward here.
cristipaval commentedon Jan 12, 2023
I don't know why Melvin didn't close this one. PR is in production.