-
-
Notifications
You must be signed in to change notification settings - Fork 4.1k
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
feat: Add notification_uuid to digest URLs #55951
Conversation
Codecov Report
@@ Coverage Diff @@
## master #55951 +/- ##
==========================================
- Coverage 80.00% 80.00% -0.01%
==========================================
Files 5066 5066
Lines 217936 217949 +13
Branches 36881 36884 +3
==========================================
+ Hits 174356 174365 +9
- Misses 38233 38235 +2
- Partials 5347 5349 +2
|
# Conflicts: # tests/sentry/notifications/notifications/test_digests.py
# Conflicts: # tests/sentry/notifications/notifications/test_digests.py
PR reverted: 6477a19 |
This reverts commit 2a46053. Co-authored-by: scttcper <1400464+scttcper@users.noreply.github.com>
@@ -42,7 +43,7 @@ def schedule_digests(): | |||
queue="digests.delivery", | |||
silo_mode=SiloMode.REGION, | |||
) | |||
def deliver_digest(key, schedule_timestamp=None): | |||
def deliver_digest(key, schedule_timestamp=None, notification_uuid: Optional[str] = None): |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
You may want an interim PR to use kwargs and then swap to a explicit variable.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I'm told that this may be a 3 way rollout:
(1) add new optional parameter
(2) start sending new parameter
(3) remove optional-ness
Add notification_uuid to digest links
closes #54415