-
Notifications
You must be signed in to change notification settings - Fork 291
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
Fix message is too big
exception for mobile push notification
#3556
Conversation
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.
LGTM! (just a few stray print
statements leftover 🙂 )
print(f"ALERTS COUNT: {alert_group.alerts.count}") # TODO: debugging test. remove after debugging | ||
alert = alert_group.alerts.first() | ||
print(f"ALERT TITLE: {alert.title}, DATA: {alert.raw_request_data}") # TODO: debugging test. remove after debugging | ||
templated_alert = AlertMobileAppTemplater(alert).render() | ||
print(f"TEMPLATED ALERT: {templated_alert}") # TODO: debugging test. remove after debugging |
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.
remove print
statements
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 debugging failing tests, that work locally
What this PR does
Adds limit for alert title length in mobile app push notifications
Which issue(s) this PR fixes
https://github.com/grafana/oncall-private/issues/2375
Checklist
pr:no public docs
PR label added if not required)CHANGELOG.md
updated (orpr:no changelog
PR label added if not required)