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

Retry sending failed push notifications that were intended to be sent immediately #2874

Merged
merged 10 commits into from
Aug 12, 2024

Conversation

deen13
Copy link
Contributor

@deen13 deen13 commented Jun 25, 2024

Short description

This pull request modifies the push notification command to also collect all push notifications that were intended to be sent immediately but failed, as long as they are within the FCM_NOTIFICATION_RETAIN_TIME_IN_HOURS. The discussion regarding this behavior can be found here.

Proposed changes

  • Implement unit test
  • Collect failed push notifications in send_push_notifications.py

Pull Request Review Guidelines

Base automatically changed from feature/notification-overdue-filter to develop July 1, 2024 07:38
Copy link
Member

@david-venhoff david-venhoff left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Github still shows commits from #2861 for some reason. Could you rebase this pr so that it only includes the relevant commits?

@deen13 deen13 requested a review from david-venhoff July 8, 2024 07:41
Copy link

codeclimate bot commented Jul 8, 2024

Code Climate has analyzed commit 1f59cb0 and detected 0 issues on this pull request.

The test coverage on the diff in this pull request is 100.0% (50% is the threshold).

This pull request will bring the total coverage in the repository to 82.9%.

View more on Code Climate.

Copy link
Member

@david-venhoff david-venhoff left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Thanks, LGTM

@david-venhoff
Copy link
Member

Also, could you add a release note? :)

Copy link
Member

@MizukiTemma MizukiTemma left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Sorry for late re-review 🙈 Looks good 👍

Don't forget to rebase&squash 😉

@deen13 deen13 merged commit bff00d6 into develop Aug 12, 2024
5 checks passed
@deen13 deen13 deleted the feature/retry-failed-notifications branch August 12, 2024 07:28
@PeterNerlich PeterNerlich mentioned this pull request Aug 23, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants