Expensify / App

Welcome to New Expensify: a complete re-imagination of financial collaboration, centered around chat. Help us build the next generation of Expensify by sharing feedback and contributing to the code.
https://new.expensify.com
MIT License
3.48k stars 2.84k forks source link

Messages sent on staging web are only appearing after navigate away from the report and run OpenReport again #51132

Open m-natarajan opened 2 hours ago

m-natarajan commented 2 hours ago

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: Reproducible in staging?: Needs Reproduction Reproducible in production?: Needs Reproduction If this was caught on HybridApp, is this reproducible on New Expensify Standalone?: 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: @muttmuure Slack conversation: https://expensify.slack.com/archives/C05LX9D6E07/p1729266448987419

Action Performed:

  1. Log in to web and native app with same account as user A
  2. Send messages to User A from user B

Expected Result:

Messages delivered to both the devices at the same time

Actual Result:

Not receiving messages in web on real time but getting push notifications for the same in app. Messages sent on staging web are only appearing after navigate away from the report and run OpenReport again

Workaround:

Unknown

Platforms:

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

Screenshots/Videos

Add any screenshot/video evidence ``` { "chatType": "group", "currency": "USD", "description": "", "errorFields": {}, "hasOutstandingChildRequest": false, "hasOutstandingChildTask": false, "isCancelledIOU": false, "isOwnPolicyExpenseChat": false, "isPinned": true, "isWaitingOnBankAccount": false, "lastActionType": "ADDCOMMENT", "lastActorAccountID": 6851710, "lastMentionedTime": "2024-10-16 15:23:27.935", "lastMessageHtml": "that's so weird", "lastMessageText": "could you ping me on Slack if you've replied already? I'll copy the onyx data f…", "lastReadSequenceNumber": 0, "lastReadTime": "2024-10-18 15:24:29.471", "lastVisibleActionCreated": "2024-10-18 15:24:29.471", "lastVisibleActionLastModified": "2024-10-18 15:23:06.471", "nonReimbursableTotal": 0, "notificationPreference": "always", "oldPolicyName": "", "ownerAccountID": 0, "participants": { "778531": { "hidden": false, "notificationPreference": "always", "role": "member" }, "2697693": { "hidden": false, "notificationPreference": "always", "role": "member" }, "6851710": { "hidden": false, "notificationPreference": "always", "role": "member" }, "10160771": { "hidden": false, "notificationPreference": "always", "role": "admin" } }, "permissions": [ "read", "write", "share" ], "policyID": "_FAKE_", "private_isArchived": "", "reportID": "4160486413986541", "reportName": "NewDot Quality Curation", "stateNum": 0, "statusNum": 0, "total": 0, "type": "chat", "unheldTotal": 0, "welcomeMessage": "", "writeCapability": "all", "lastMessageTranslationKey": "", "state": "OPEN", "unheldNonReimbursableTotal": 0 } ``` [logs-2024-10-18 15_34_39.778.txt](https://github.com/user-attachments/files/17446966/logs-2024-10-18.15_34_39.778.txt)

View all open jobs on GitHub

melvin-bot[bot] commented 2 hours ago

Triggered auto assignment to @justinpersaud (AutoAssignerNewDotQuality)

melvin-bot[bot] commented 2 hours ago

Triggered auto assignment to @zanyrenney (Bug), see https://stackoverflow.com/c/expensify/questions/14418 for more details. Please add this bug to a GH project, as outlined in the SO.

MelvinBot commented 2 hours ago

This has been labelled "Needs Reproduction". Follow the steps here: https://stackoverflowteams.com/c/expensify/questions/16989