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-02-02] Intercept Pusher + UrbanAirship notifications and only apply sequenceNumber-keyed updates #14452

Closed
roryabraham opened this issue Jan 21, 2023 · 7 comments
Assignees
Labels
Awaiting Payment Auto-added when associated PR is deployed to production Engineering Internal Requires API changes or must be handled by Expensify staff Weekly KSv2

Comments

@roryabraham
Copy link
Contributor

roryabraham commented Jan 21, 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!


Coming from https://expensify.slack.com/archives/C04DC6LU2UB/p1674243288556829?thread_ts=1674242808.964579&cid=C04DC6LU2UB

Problem

Pusher + UrbanAirship notifications may include ReportActions Onyx updates. However, we're in the process of re-keying reportActions to be keyed in Onyx by their reportActionID instead of their sequenceNumber. You can see the PR for that here.

Solution (part 1)

This issue represents part 1 of the rollout plan laid out here.

The task for this issue is to create an E/App PR with a temporary hack that intercepts Pusher / UrbanAirship Onyx updates, finds any reportActions updates, looks at the payload, and discards any update in which reportActions are not keyed by sequence-.

View all open jobs on GitHub

Upwork Automation - Do Not Edit
  • Upwork Job URL: https://www.upwork.com/jobs/~01bd6dfaa7206afad4
  • Upwork Job ID: 1616591563120336896
  • Last Price Increase: 2023-01-21
@roryabraham roryabraham added Engineering Daily KSv2 Internal Requires API changes or must be handled by Expensify staff labels Jan 21, 2023
@roryabraham roryabraham self-assigned this Jan 21, 2023
@melvin-bot melvin-bot bot locked and limited conversation to collaborators Jan 21, 2023
@melvin-bot melvin-bot bot added the Reviewing Has a PR in review label Jan 21, 2023
@melvin-bot melvin-bot bot unlocked this conversation Jan 21, 2023
@roryabraham
Copy link
Contributor Author

PR merged, CPing to staging for #urgency here.

@iwiznia
Copy link
Contributor

iwiznia commented Jan 24, 2023

I know we reverted the PR, but commenting here to let you know that when it was deployed, it also caused this. Just so that we can test that next time to ensure it does not happen again.

@iwiznia
Copy link
Contributor

iwiznia commented Jan 24, 2023

ok, seems the revert did not change the behavior, some people can still reproduce the issue I was seeing (but not me)

@roryabraham
Copy link
Contributor Author

The code merged for this has since been reverted, and we decided not to implement this.

@melvin-bot melvin-bot bot added Weekly KSv2 Awaiting Payment Auto-added when associated PR is deployed to production and removed Daily KSv2 labels Jan 26, 2023
@melvin-bot melvin-bot bot changed the title Intercept Pusher + UrbanAirship notifications and only apply sequenceNumber-keyed updates [HOLD for payment 2023-02-02] Intercept Pusher + UrbanAirship notifications and only apply sequenceNumber-keyed updates Jan 26, 2023
@melvin-bot
Copy link

melvin-bot bot commented Jan 26, 2023

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

@melvin-bot melvin-bot bot removed the Reviewing Has a PR in review label Jan 26, 2023
@melvin-bot

This comment was marked as resolved.

@roryabraham
Copy link
Contributor Author

No payments are due here, and the solution was merged.

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 Engineering Internal Requires API changes or must be handled by Expensify staff Weekly KSv2
Projects
None yet
Development

No branches or pull requests

2 participants