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

Move slack log report from message thread to button #4686

Merged
merged 8 commits into from
Aug 19, 2024

Conversation

iskhakov
Copy link
Contributor

@iskhakov iskhakov commented Jul 17, 2024

What this PR does

Continuation of Add slack button to show log report #4641

Which issue(s) this PR closes

Closes #3849

Checklist

  • Unit, integration, and e2e (if applicable) tests updated
  • Documentation added (or pr:no public docs PR label added if not required)
  • Added the relevant release notes label (see labels prefixed w/ release:). These labels dictate how your PR will
    show up in the autogenerated release notes.

@iskhakov iskhakov added release:enhancement PR will be added to "Exciting New Features 🎉" section of release notes pr:no public docs Added to a PR that does not require public documentation updates labels Jul 17, 2024
@iskhakov iskhakov marked this pull request as ready for review July 17, 2024 08:15
@iskhakov iskhakov requested a review from a team July 17, 2024 08:15
Copy link
Member

@vstpme vstpme left a comment

Choose a reason for hiding this comment

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

I propose to remove the "post log message" logic but keep the "update log message" logic (at least for some time), otherwise existing messages will just suddenly stop updating. WDYT?

@iskhakov
Copy link
Contributor Author

good point Vadim

@iskhakov iskhakov marked this pull request as draft July 29, 2024 12:10
@iskhakov
Copy link
Contributor Author

Here is the intermediate step to stop posting new messages #4750

github-merge-queue bot pushed a commit that referenced this pull request Jul 29, 2024
Stop posting a new message, as it is available from the button
(#4641)
This is an intermediate step, so we will only update posted messages but
not post new ones
Once the majority of messages are updated, we can remove this step
(#4686)
Comment on lines -159 to -161
"apps.slack.helpers.alert_group_representative.on_alert_group_action_triggered_async": {"queue": "slack"},
"apps.slack.helpers.alert_group_representative.on_alert_group_update_log_report_async": {"queue": "slack"},
"apps.slack.helpers.alert_group_representative.on_create_alert_slack_representative_async": {"queue": "slack"},
Copy link
Contributor

Choose a reason for hiding this comment

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

removing these because apps.slack.helpers is not a valid directory and there's no logs over the past 30 days for apps.slack.helpers

@joeyorlando joeyorlando marked this pull request as ready for review August 19, 2024 19:16
@joeyorlando
Copy link
Contributor

Will do a follow up PR shortly to actually drop these two tasks (once there’re none left in the queue) + drop the AlertGroup. slack_log_message column

@joeyorlando joeyorlando enabled auto-merge August 19, 2024 19:23
@joeyorlando joeyorlando added this pull request to the merge queue Aug 19, 2024
Merged via the queue into dev with commit 4872588 Aug 19, 2024
24 checks passed
@joeyorlando joeyorlando deleted the iskhakov/remove-slack-log-report branch August 19, 2024 20:22
joeyorlando added a commit that referenced this pull request Aug 19, 2024
# What this PR does

Follow up to #4686

## Checklist

- [x] Unit, integration, and e2e (if applicable) tests updated
- [x] Documentation added (or `pr:no public docs` PR label added if not
required)
- [x] Added the relevant release notes label (see labels prefixed w/
`release:`). These labels dictate how your PR will
    show up in the autogenerated release notes.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
pr:no public docs Added to a PR that does not require public documentation updates release:enhancement PR will be added to "Exciting New Features 🎉" section of release notes
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Ability to disable "Alert Group log" on the Slack integration
3 participants