App icon indicating copy to clipboard operation
App copied to clipboard

HIGH: [UX Reliability] Incorrect previousReportActionID for a whisper

Open roryabraham opened this issue 2 years ago • 26 comments

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


Reproducible in staging?: yes Reproducible in production?: yes Issue reported by: @perunt Slack conversation: https://expensify.slack.com/archives/C035J5C9FAP/p1709726899587219?thread_ts=1705035404.136629&cid=C035J5C9FAP

Action Performed:

  1. Create a workspace with Account A.
  2. Add Account B to the workspace using Account A.
  3. Send messages from Account A to Account B in the workspace.
  4. Check the messages in the workspace with Account A.
  5. Refresh the page

Expected Result:

All reportActions should form a continuous chain where the previousReportActionID of one points at the reportActionID of the next.

Actual Result:

One of the whispers breaks the chain.

image

Workaround:

@perunt implemented a front-end workaround, but we should still fix this.

View all open jobs on GitHub

Upwork Automation - Do Not Edit
  • Upwork Job URL: https://www.upwork.com/jobs/~01abf9781cd5d16284
  • Upwork Job ID: 1765785466235363328
  • Last Price Increase: 2024-03-07

roryabraham avatar Mar 07 '24 17:03 roryabraham

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

melvin-bot[bot] avatar Mar 07 '24 17:03 melvin-bot[bot]

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

melvin-bot[bot] avatar Mar 07 '24 17:03 melvin-bot[bot]

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

melvin-bot[bot] avatar Mar 07 '24 17:03 melvin-bot[bot]

@roryabraham, coming from this comment:

@perunt implemented a front-end workaround, but we should still fix this.

are you implying this will require a back end fix?

johncschuster avatar Mar 11 '24 14:03 johncschuster

are you implying this will require a back end fix?

yes, correct

roryabraham avatar Mar 11 '24 17:03 roryabraham

Sweet. Thanks for clarifying that!

johncschuster avatar Mar 13 '24 20:03 johncschuster

I chatted with Rory about this, and it looks like this is a part of Comment Linking which is a Q1 deliverable. I'm going to raise this to #engineering to get someone to work on it.

johncschuster avatar Mar 13 '24 21:03 johncschuster

Brought it to Slack yesterday and have bumped it today

johncschuster avatar Mar 14 '24 21:03 johncschuster

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

melvin-bot[bot] avatar Mar 18 '24 19:03 melvin-bot[bot]

Bumped it again today

johncschuster avatar Mar 18 '24 22:03 johncschuster

Bumped again!

johncschuster avatar Mar 26 '24 21:03 johncschuster

My thread in #engineering got no traction. I've raised this to #vip-vsb and asked for help there.

johncschuster avatar Apr 01 '24 21:04 johncschuster

Ok! I chatted with @quinthar and confirmed this is a high priority that needs to be delivered in Q1. I've updated the title to reflect the urgency.

johncschuster avatar Apr 02 '24 12:04 johncschuster

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

melvin-bot[bot] avatar Apr 05 '24 18:04 melvin-bot[bot]

Raising in #engineering again to get a BE engineer on this.

johncschuster avatar Apr 05 '24 18:04 johncschuster

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

melvin-bot[bot] avatar Apr 09 '24 18:04 melvin-bot[bot]

Bumped again!

johncschuster avatar Apr 09 '24 21:04 johncschuster

I'm going to bump this again Monday so I can get more visibility

johncschuster avatar Apr 12 '24 21:04 johncschuster

Bumped again in Slack

johncschuster avatar Apr 15 '24 22:04 johncschuster

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

melvin-bot[bot] avatar Apr 19 '24 18:04 melvin-bot[bot]

brought this one up in slack: https://expensify.slack.com/archives/C03TQ48KC/p1713552934772489?thread_ts=1713540323.130089&cid=C03TQ48KC

roryabraham avatar Apr 19 '24 18:04 roryabraham

@johncschuster, @ntdiary 6 days overdue. This is scarier than being forced to listen to Vogon poetry!

melvin-bot[bot] avatar Apr 23 '24 18:04 melvin-bot[bot]

Does this issue require c+'s attention now? If so, I can request another c+ to take over it on slack, because my bandwidth is limited. 😄

ntdiary avatar Apr 24 '24 13:04 ntdiary

@ntdiary Thanks for asking! I'm under the impression this requires a backend engineer to work on it.

johncschuster avatar Apr 26 '24 22:04 johncschuster

Is this still reproducible?

quinthar avatar Apr 27 '24 05:04 quinthar

I'm also unclear on the problem. It says "One of the whispers breaks the chain." -- what does this mean in terms of user impact?

quinthar avatar Apr 27 '24 19:04 quinthar

Great questions! I'm not super familiar with how to validate what the expected behavior or the actual behavior looks like. I've tested a conversation between User A and User B, and the chat seems to be going well.

@perunt, you originally reported this. Are you still able to reproduce the behavior you've reported? If so, can you:

  1. clarify why it's a problem, and illuminate what kind of impact it might have.
  2. point me to how you validated the errant behavior and in the console, as well as what the correct behavior should look like in the console?

I'm happy to test this further, but I'm not sure I know what a pass/fail looks like.

johncschuster avatar Apr 29 '24 22:04 johncschuster

Pinged here for clarity and making this a weekly in the meantime.

I think this is probably something we'll want to button up, but I'm not sure off-hand the user impact of the problem - probably just an additional unnecessary network request. Need to dig into this one a bit to uncover more, but need to prioritize May 1st release stuff first. Making this a weekly in the meantime.

roryabraham avatar Apr 29 '24 22:04 roryabraham

I think I may actually have a proposal that will superfluize this issue: https://expensify.slack.com/archives/C05LX9D6E07/p1714672294012849?thread_ts=1714656403.682529&cid=C05LX9D6E07.

going to throw this on HOLD for a bit while that issue simmers. I confirmed that we have a front-end workaround in place for this for the time being.

roryabraham avatar May 03 '24 02:05 roryabraham

I'm also unclear on the problem. It says "One of the whispers breaks the chain." -- what does this mean in terms of user impact?

The issue was that when a whisper message indicating that the user was invited to chat got added to the list, the report actions around it didn't recognize its presence. This created a gap in the user's interaction flow, making it seem like the conversation abruptly ended, even though it hadn't.

I've seen we've brought back showing whispers for users. I've tested it a few times, and the new whispers have the right reportActionId and previousReportActionId without causing any issues. But it looks like we'll still need that front-end workaround for older accounts to keep it running smoothly. Just rechecked on the original account and yes, the issue's still there, for obvious reasons. Screenshot 2024-05-04 at 11 06 06

perunt avatar May 04 '24 09:05 perunt