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

A notification is successful as long as we can send to at least one user #2000

Merged

Conversation

RebeccaMahany
Copy link
Contributor

@RebeccaMahany RebeccaMahany commented Dec 13, 2024

Addresses part of #1999.

We realized that notifications were being successfully sent to user 501 but not 502, which launcher interpreted as a failure to notify. Therefore, it retried notification. However, the actual end user received the original notification when logged in as user 501 -- and then received repeat notifications every minute thereafter.

This PR corrects that issue, by counting one successfully sent notification as a success.

I also added a log for successfully sending a notification; it would have made tracking down this issue a little easier.

James-Pickett
James-Pickett previously approved these changes Dec 13, 2024
@RebeccaMahany RebeccaMahany marked this pull request as ready for review December 13, 2024 16:24
@RebeccaMahany RebeccaMahany added the bug-fixes Bug Fixes label Dec 13, 2024
@RebeccaMahany RebeccaMahany added this pull request to the merge queue Dec 13, 2024
Merged via the queue into kolide:main with commit 0c60d4c Dec 13, 2024
31 checks passed
@RebeccaMahany RebeccaMahany deleted the becca/notify-requires-one-success branch December 13, 2024 19:21
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug-fixes Bug Fixes
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants