Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[HOLD for payment 2023-04-20] Push notification background updates don't seem to be working #17240

Closed
2 of 6 tasks
arosiclair opened this issue Apr 10, 2023 · 18 comments
Closed
2 of 6 tasks
Assignees
Labels
Awaiting Payment Auto-added when associated PR is deployed to production Bug Something is broken. Auto assigns a BugZero manager. Daily KSv2 Internal Requires API changes or must be handled by Expensify staff

Comments

@arosiclair
Copy link
Contributor

arosiclair commented Apr 10, 2023

If you haven’t already, check out our contributing guidelines for onboarding and email contributors@expensify.com to request to join our Slack channel!


Action Performed:

  1. Receive some NewDot messages
  2. Check logs for handling Airship notifications for those messages (eg: logsearch)

Expected Result:

We should have at least a few results for some of these messages

Actual Result:

We have no logs for Airship messages since 4/2 at least (my logs)

Workaround:

No workaround necessary, but this being broken is a subpar UX.

Platforms:

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

  • Android / native
  • Android / Chrome
  • iOS / native
  • iOS / Safari
  • MacOS / Chrome / Safari
  • MacOS / Desktop

Version Number: v1.2.97-2
Reproducible in staging?: Yes
Reproducible in production?: Not sure
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
Notes/Photos/Videos: Any additional supporting documentation
Expensify/Expensify Issue URL:
Issue reported by: @quinthar
Slack conversation: https://expensify.slack.com/archives/C04E99DVBTP/p1681152024687099?thread_ts=1680980284.168379&cid=C04E99DVBTP

View all open jobs on GitHub

Upwork Automation - Do Not Edit
  • Upwork Job URL: https://www.upwork.com/jobs/~017276e0552aa2476d
  • Upwork Job ID: 1645534952654491648
  • Last Price Increase: 2023-04-10
@arosiclair arosiclair added Daily KSv2 Internal Requires API changes or must be handled by Expensify staff Bug Something is broken. Auto assigns a BugZero manager. labels Apr 10, 2023
@arosiclair arosiclair self-assigned this Apr 10, 2023
@MelvinBot
Copy link

Job added to Upwork: https://www.upwork.com/jobs/~017276e0552aa2476d

@MelvinBot
Copy link

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

@MelvinBot
Copy link

Bug0 Triage Checklist (Main S/O)

  • This "bug" occurs on a supported platform (ensure Platforms in OP are ✅)
  • This bug is not a duplicate report (check E/App issues and #expensify-bugs)
    • If it is, comment with a link to the original report, close the issue and add any novel details to the original issue instead
  • This bug is reproducible using the reproduction steps in the OP. S/O
    • If the reproduction steps are clear and you're unable to reproduce the bug, check with the reporter and QA first, then close the issue.
    • If the reproduction steps aren't clear and you determine the correct steps, please update the OP.
  • This issue is filled out as thoroughly and clearly as possible
    • Pay special attention to the title, results, platforms where the bug occurs, and if the bug happens on staging/production.
  • I have reviewed and subscribed to the linked Slack conversation to ensure Slack/Github stay in sync

@MelvinBot
Copy link

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

@arosiclair
Copy link
Contributor Author

Internal access only for logs so removing C+

@melvin-bot melvin-bot bot added the Reviewing Has a PR in review label Apr 10, 2023
@marcaaron marcaaron removed the Reviewing Has a PR in review label Apr 11, 2023
@arosiclair
Copy link
Contributor Author

Okay this was caused by the Airship 15 migration. I missed migrating the event listener callbacks. Specifically, they changed the shape of the notification object we receive. So we weren't getting the payload properly resulting in this error:

[warn] [PushNotification] Notification has null or undefined payload, not executing any callback

@melvin-bot melvin-bot bot added Reviewing Has a PR in review labels Apr 11, 2023
@dylanexpensify
Copy link
Contributor

@arosiclair anything needed here on my end? From the looks of it I don't think so, but wanna make sure I'm not missing anything :)

@arosiclair
Copy link
Contributor Author

Nope you should be good! Fixes for this'll hit prod very soon

@melvin-bot melvin-bot bot added Weekly KSv2 Awaiting Payment Auto-added when associated PR is deployed to production and removed Daily KSv2 labels Apr 13, 2023
@melvin-bot melvin-bot bot changed the title Push notification background updates don't seem to be working [HOLD for payment 2023-04-20] Push notification background updates don't seem to be working Apr 13, 2023
@melvin-bot melvin-bot bot removed the Reviewing Has a PR in review label Apr 13, 2023
@MelvinBot
Copy link

Reviewing label has been removed, please complete the "BugZero Checklist".

@MelvinBot
Copy link

The solution for this issue has been 🚀 deployed to production 🚀 in version 1.2.99-6 and is now subject to a 7-day regression period 📆. Here is the list of pull requests that resolve this issue:

If no regressions arise, payment will be issued on 2023-04-20. 🎊

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.

  • External issue reporter
  • Contributor that fixed the issue
  • Contributor+ that helped on the issue and/or PR

As a reminder, here are the bonuses/penalties that should be applied for any External issue:

  • Merged PR within 3 business days of assignment - 50% bonus
  • Merged PR more than 9 business days after assignment - 50% penalty

@MelvinBot
Copy link

MelvinBot commented Apr 13, 2023

BugZero Checklist: The PR fixing this issue has been merged! The following checklist (instructions) will need to be completed before the issue can be closed:

@arosiclair
Copy link
Contributor Author

Let's see where the discussion goes before proposing regression test steps

@melvin-bot melvin-bot bot added Daily KSv2 and removed Weekly KSv2 labels Apr 19, 2023
@dylanexpensify
Copy link
Contributor

@arosiclair any updates on where we're at with Regression test?

@arosiclair
Copy link
Contributor Author

I think we're not gonna add any new regression steps for this. If we do, it would be for this related bug on notification click through instead. However, it looks like we already have regression test steps for that here.

Continuing discussion here

@melvin-bot melvin-bot bot added the Overdue label Apr 24, 2023
@dylanexpensify
Copy link
Contributor

Cool cool, no payments here are due, right?

@melvin-bot melvin-bot bot removed the Overdue label Apr 24, 2023
@arosiclair
Copy link
Contributor Author

Yup no payment. Everything was internal

@melvin-bot melvin-bot bot added the Overdue label Apr 27, 2023
@dylanexpensify
Copy link
Contributor

Not overdue, any updates @arosiclair?

@melvin-bot melvin-bot bot removed the Overdue label Apr 27, 2023
@arosiclair
Copy link
Contributor Author

arosiclair commented Apr 27, 2023

Yeah we do have existing regression steps for notification click through here so no need to add more.

Looks like this bug made it into production because we already had an open bug for it. So next time we just have to be more diligent about labeling it as a deploy blocker when it hits staging. With that said, I think this is all set!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Awaiting Payment Auto-added when associated PR is deployed to production Bug Something is broken. Auto assigns a BugZero manager. Daily KSv2 Internal Requires API changes or must be handled by Expensify staff
Projects
None yet
Development

No branches or pull requests

5 participants