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
[HOLD for payment 2024-06-05] [$250] CRITICAL: Tapping on Push Notification fails to retrieve Onyx updates #40227
Awaiting PaymentAuto-added when associated PR is deployed to productionBugSomething is broken. Auto assigns a BugZero manager.DailyKSv2ExternalAdded to denote the issue can be worked on by a contributor
Version Number: v1.4.62-3 Reproducible in staging?: Yes Reproducible in production?: Yes 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:
Action Performed:
Tap a push notification
Expected Result:
100% of the time, the message that generated that push should be rendered in the chat when you tap it
Actual Result:
Since we removed GetMissingOnyxMessages from push and reconnect app, messages fail to be inserted into the client.
Workaround:
Opening chats and closing them retrieves the updates successfully, further suggesting that the command queue is to blame
Platforms:
Which of our officially supported platforms is this issue occurring on?
changed the title [-]HIGH [Reliability] Tapping on Push Notification fails to retrieve Onyx updates [/-][+][HOLD ON #38748] HIGH [Reliability] Tapping on Push Notification fails to retrieve Onyx updates [/+]on Apr 15, 2024
changed the title [-][HOLD ON #38748] HIGH [Reliability] Tapping on Push Notification fails to retrieve Onyx updates [/-][+]HIGH: [Reliability] [HOLD ON #38748] Tapping on Push Notification fails to retrieve Onyx updates [/+]on Apr 16, 2024
Alright upon further investigation and testing, I've found that we should not add functionality to apply onyx updates when selecting a push notification. We have a PushReceived handler that applies the onyx update and this should work even when the app killed (the handler runs in the background OR the next time the app is re-opened). I confirmed that with Airship here. So adding extra functionality on select would be redundant.
However, I did notice two other issues
Push notification Onyx updates are not applied correctly when there are no gaps detected. This is because the update is applied with a placeholder eventTypehere which results in a no-op since it's unrecognized here. I'll fix this with a separate code flow for applying Airship onyx updates rather than re-using the pusher flow.
Background refresh doesn't seem to be working on iOS anymore. The app doesn't wake in the background and only processes push notification events once you re-open the app.
I'm going to create two follow up issues to address those and leave this open since we still need to handle payment for the last C+ review
Awaiting PaymentAuto-added when associated PR is deployed to productionBugSomething is broken. Auto assigns a BugZero manager.DailyKSv2ExternalAdded to denote the issue can be worked on by a contributor
Activity
melvin-bot commentedon Apr 15, 2024
Triggered auto assignment to @lschurr (
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.muttmuure commentedon Apr 15, 2024
The proposed solution to this from @quinthar is:
[-]HIGH [Reliability] Tapping on Push Notification fails to retrieve Onyx updates [/-][+][HOLD ON #38748] HIGH [Reliability] Tapping on Push Notification fails to retrieve Onyx updates [/+]muttmuure commentedon Apr 15, 2024
#38748
[-][HOLD ON #38748] HIGH [Reliability] Tapping on Push Notification fails to retrieve Onyx updates [/-][+]HIGH: [Reliability] [HOLD ON #38748] Tapping on Push Notification fails to retrieve Onyx updates [/+]lschurr commentedon Apr 23, 2024
On hold.
48 remaining items
arosiclair commentedon May 29, 2024
Yeah this is not done but @allroundexperts should get a payment for his C+ review on that first PR. @lschurr
arosiclair commentedon Jun 4, 2024
Alright upon further investigation and testing, I've found that we should not add functionality to apply onyx updates when selecting a push notification. We have a
PushReceivedhandler that applies the onyx update and this should work even when the app killed (the handler runs in the background OR the next time the app is re-opened). I confirmed that with Airship here. So adding extra functionality on select would be redundant.However, I did notice two other issues
eventTypehere which results in a no-op since it's unrecognized here. I'll fix this with a separate code flow for applying Airship onyx updates rather than re-using the pusher flow.I'm going to create two follow up issues to address those and leave this open since we still need to handle payment for the last C+ review
arosiclair commentedon Jun 4, 2024
Follow up issues:
melvin-bot commentedon Jun 5, 2024
Payment Summary
Upwork Job
BugZero Checklist (@lschurr)
lschurr commentedon Jun 5, 2024
The payment summary is correct. No payments will happen in Upwork. @allroundexperts you can request via NewDot :)
lschurr commentedon Jun 5, 2024
Oh wait, should this one still be open @arosiclair? #40227 (comment)
arosiclair commentedon Jun 5, 2024
As long as this payment was handled then we should be all set
lschurr commentedon Jun 6, 2024
Yep, that's handled in the payment summary here: #40227 (comment)
Going to close :)
JmillsExpensify commentedon Jul 9, 2024
$250 approved for @allroundexperts