Closed lanitochka17 closed 11 months ago
:wave: Friendly reminder that deploy blockers are time-sensitive ⏱ issues! Check out the open `StagingDeployCash` deploy checklist to see the list of PRs included in this release, then work quickly to do one of the following:
📣 @github-actions[bot]! 📣 Hey, it seems we don’t have your contributor details yet! You'll only have to do this once, and this is how we'll hire you on Upwork. Please follow these steps:
Contributor details
Your Expensify account email: <REPLACE EMAIL HERE>
Upwork Profile Link: <REPLACE LINK HERE>
Triggered auto assignment to @johnmlee101 (Engineering
), see https://stackoverflow.com/c/expensify/questions/4319 for more details.
I managed to reproduce on staging even when online
https://github.com/Expensify/App/assets/6474442/f100ed0e-2c3f-4b4a-b1be-b4036e2fe5fe
We drop the onyx data from the notification payload once it reaches 3.5kb. I wonder if recent additions to the onyx payloads have once again broken push notifications (cc@arosiclair)
cc @arosiclair
BTW https://www.expensify.com/_devportal/tools/logSearch/#sort=asc&size=5000&query=blob%3A%22Logging%20request%20details%22%20AND%20email%3A%22john%40expensify.com%22%20AND%20timestamp%3A%5B2023-11-21T00%3A00%20TO%202023-11-22T23%3A59%5D this seems to be 3k characters in the request, but not sure if thats going down the right path
Keeping some discussion here: https://expensify.slack.com/archives/C07J32337/p1700588638959299?thread_ts=1700588255.529729&cid=C07J32337
But this was logged in some of the requests
829a53ea89181879-EWR | staging-www1.sjc | 2023-11-21 16:32:26 933 | john@expensify.com | MobilePushNotifications - NewDot notification payload data exceeded the maximum allowable. Deleting onyxData field.
I can reproduce this in dev. It seems like there are no issues with handling the notification click:
DEBUG [info] Navigating to route - {"path":"/r/34"}
however it looks like there's code navigating back to the home page after we navigate to the chat which is breaking this functionality:
[info] Navigating to route - {"path":"/"}
Maybe one of this deploy's PRs added an extra navigation that's doing this?
DEBUG Timing:development.new.expensify.trie_initialization 2390
LOG Running "NewExpensify" with {"rootTag":11}
DEBUG [OnyxUpdateManager] Listening for updates from the server
DEBUG [info] [PushNotification] Callback triggered for com.airship.push_received - ""
DEBUG [info] [PushNotification] received report comment notification in the foreground - {"reportID":34,"reportActionID":"3096043123628849351"}
DEBUG [info] [Onyx] merge() called for key: report_34 properties: reportID,reportName,type,chatType,ownerEmail,ownerAccountID,managerEmail,managerID,policyID,participantAccountIDs,visibleChatMemberList,isPinned,lastReadTime,lastReadSequenceNumber,lastVisibleActionCreated,lastVisibleActionLastModified,lastMessageText,lastActorAccountID,notificationPreference,welcomeMessage,stateNum,statusNum,oldPolicyName,isOwnPolicyExpenseChat,lastMessageHtml,iouReportID,hasOutstandingIOU,hasOutstandingChildRequest,writeCapability,total,currency,submitterPayPalMeAddress,isWaitingOnBankAccount,nonReimbursableTotal,maxSequenceNumber,hasDraft - ""
DEBUG [info] [Onyx] merge() called for key: reportActions_34 properties: 2279458499987116741,1810592943714682823,720260980807411269,5021502884569866715,3096043123628849351 - ""
DEBUG [info] [PushNotification] Subscribing to notifications - ""
DEBUG [info] Called API write - {"command":"OptInToPushNotifications","deviceID":"sunfish13b96e6e-7517-9667-9384-7d9653abb2b6"}
DEBUG [info] [Onyx] set() called for key: networkRequestQueue properties: 0,1,2,3,4 - ""
DEBUG [info] [Onyx] merge() called for key: pushNotificationsEnabled - ""
DEBUG [info] Found existing deviceID - "sunfish13b96e6e-7517-9667-9384-7d9653abb2b6"
DEBUG [info] Making API request - {"command":"ReconnectApp"}
DEBUG [info] [PushNotification] Callback triggered for com.airship.notification_response - ""
DEBUG [info] [PushNotification] onSelected() - called - {"reportID":34,"reportActionID":"3096043123628849351"}
DEBUG [info] [PushNotification] Callback triggered for com.airship.notification_response - ""
DEBUG [info] [PushNotification] onSelected() - called - {"reportID":34,"reportActionID":"3096043123628849351"}
DEBUG [info] [NetworkConnection] NetInfo state change - {"details":{"isConnectionExpensive":false,"txLinkSpeed":780,"rxLinkSpeed":866,"linkSpeed":780,"subnet":"255.255.255.0","ipAddress":"192.168.86.118","frequency":5180,"strength":99,"bssid":"02:00:00:00:00:00"},"isConnected":true,"type":"wifi","isInternetReachable":true,"isWifiEnabled":true}
DEBUG [info] [Migrate Onyx] start - ""
DEBUG [info] [Onyx] merge() called for key: network properties: isOffline - ""
DEBUG [info] [Onyx] set() called for key: demoInfo properties: - ""
DEBUG [info] [Onyx] set() called for key: isCheckingPublicRoom - ""
DEBUG [info] [Migrate Onyx] Skipped migration RenameReceiptFilename because there are no transactions - ""
DEBUG [info] [Migrate Onyx] Skipped migration KeyReportActionsDraftByReportActionID because there were no reportActionsDrafts - ""
DEBUG [info] [Migrate Onyx] Skipped TransactionBackupsToCollection migration because there are no transactions - ""
DEBUG [info] [Migrate Onyx] finished in 47ms - ""
DEBUG [info] [NetworkConnection] listenForReconnect called - ""
DEBUG [info] [PushNotification] onSelected() - Navigation is ready. Navigating... - {"reportID":34,"reportActionID":"3096043123628849351"}
DEBUG [info] Navigating to route - {"path":"/?initial=true&screen=Report¶ms=%5Bobject%20Object%5D&path=%2Fr%2F34"}
DEBUG [info] Navigating to route - {"path":"/r/34"}
DEBUG [info] [PushNotification] onSelected() - Navigation is ready. Navigating... - {"reportID":34,"reportActionID":"3096043123628849351"}
DEBUG Timing:development.new.expensify.homepage_initial_render 641
DEBUG [info] Navigating to route - {"path":"/"}
DEBUG [info] Navigating to route - {"path":"/"}
DEBUG [hmmm] [PusherConnectionManager] state change - {"states":{"previous":"connecting","current":"connected"}}
DEBUG [hmmm] [PusherConnectionManager] connected event - ""
DEBUG [info] [Pusher] Attempting to subscribe to channel - {"channelName":"private-encrypted-user-accountID-2-f1f0504637ff4702af969520f3c069df","eventName":"multipleEvents"}
DEBUG [info] [PusherAuthorizer] Attempting to authorize Pusher - {"channelName":"private-encrypted-user-accountID-2-f1f0504637ff4702af969520f3c069df"}
DEBUG [info] Called API makeRequestWithSideEffects - {"command":"AuthenticatePusher","socket_id":"582391.201247","channel_name":"private-encrypted-user-accountID-2-f1f0504637ff4702af969520f3c069df","shouldRetry":false,"forceNetworkRequest":true}
DEBUG [info] Making API request - {"command":"AuthenticatePusher"}
Removing the blocker label since we CPed a fix.
Reviewing
label has been removed, please complete the "BugZero Checklist".
The solution for this issue has been :rocket: deployed to production :rocket: in version 1.4.2-3 and is now subject to a 7-day regression period :calendar:. Here is the list of pull requests that resolve this issue:
If no regressions arise, payment will be issued on 2023-11-30. :confetti_ball:
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.
@johnmlee101 Huh... This is 4 days overdue. Who can take care of this?
@johnmlee101 Huh... This is 4 days overdue. Who can take care of this?
I think @arosiclair fixed this with the linked PR and we can close it, right? I assigned him to give him credit since he created the PR to fix it.
This should be all set so closing this out
@arosiclair can you please reopen and add Bug
label for C+ payment? Thanks
Triggered auto assignment to @laurenreidexpensify (Bug
), see https://stackoverflow.com/c/expensify/questions/14418 for more details.
Platforms
in OP are ✅)@laurenreidexpensify can you handle payment for @aimane-chnaif's C+ review? Thanks!
Payment Summary:
C+ Review - $500 @aimane-chnaif Offer sent in Upwork https://www.upwork.com/en-gb/jobs/~01a9cda98c1c4a1734
Payment Summary:
C+ Review - $500 @aimane-chnaif paid in Upwork
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: 1.4.1.7 Reproducible in staging?: Y Reproducible in production?: N 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: Applause - Internal Team Slack conversation:
Action Performed:
Expected Result:
User is navigated to the correct chat
Actual Result:
User is navigated to the LHN
Workaround:
Unknown
Platforms:
Which of our officially supported platforms is this issue occurring on?
Screenshots/Videos
Add any screenshot/video evidence
https://github.com/Expensify/App/assets/78819774/a10060ce-ae9b-4f8b-94d1-9d68abbcf941
View all open jobs on GitHub
Issue Owner
Current Issue Owner: @laurenreidexpensify