-
Notifications
You must be signed in to change notification settings - Fork 296
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
Change wording from "incident" to "alert group" in the Telegram app #1052
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.
Most of the changes are just searching & replacing "incident" to "alert group", but there are couple places that are different.
@@ -20,7 +20,7 @@ class TelegramMessage(models.Model): | |||
(ACTIONS_MESSAGE, "Actions message"), | |||
(LOG_MESSAGE, "Log message"), | |||
(FORMATTING_ERROR, "Alert can not be rendered"), | |||
(PERSONAL_MESSAGE, "Alert group message with action buttons and incident log"), | |||
(PERSONAL_MESSAGE, "Alert group message with action buttons and alert group log"), |
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.
This line here generates a migration, but I think it won't really change anything at the DB level.
@@ -111,6 +111,19 @@ def send_link_to_channel_message_or_fallback_to_full_incident( | |||
) | |||
|
|||
|
|||
@shared_dedicated_queue_retry_task(bind=True, autoretry_for=(Exception,), retry_backoff=True, max_retries=None) | |||
def send_link_to_channel_message_or_fallback_to_full_incident( |
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.
Can't just delete this straight away since it can cause celery issues. So introducing a new task with the same internals but a new name and "deprecating" this one.
# Conflicts: # CHANGELOG.md
What this PR does
Makes Telegram integration consistent with the rest of the system so it uses the word "alert group" instead of "incident" when referring to alert groups.
Checklist
CHANGELOG.md
updated