oncall-engine/engine/apps/slack
Joey Orlando 758c12790d
fix slack API rate limit errors in send_message_to_thread_if_bot_not_in_channel task (#3803)
# What this PR does

See [this
conversation](https://raintank-corp.slack.com/archives/C04JCU51NF8/p1706722752735009)
for more context.

Additionally, improves logging for this task + adds unit tests.

## 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] `CHANGELOG.md` updated (or `pr:no changelog` PR label added if not
required)
2024-01-31 13:42:52 -05:00
..
migrations Fix Slack access token length issue (#3016) 2023-09-13 11:53:17 +01:00
models Improve OpenAPI schema coverage (#3629) 2024-01-12 15:11:22 +00:00
representatives Refactor AlertGroup.slack_message (#2957) 2023-09-04 18:03:18 +00:00
scenarios remove manual alert group (/oncall) slack slash command + force_route_id (#3790) 2024-01-30 17:28:23 -05:00
tests fix slack API rate limit errors in send_message_to_thread_if_bot_not_in_channel task (#3803) 2024-01-31 13:42:52 -05:00
types Revert "upgrade to Python 3.12 (#3456)" and "bump uwsgi version to latest #3466" (#3483) 2023-12-01 09:56:26 -05:00
__init__.py World, meet OnCall! 2022-06-03 08:09:47 -06:00
alert_group_slack_service.py Enable flake8-bugbear, fix issues (#3454) 2023-11-29 15:04:48 +00:00
client.py Update when slack client ratelimit retry handler is enabled (#3447) 2023-11-30 12:35:46 +00:00
constants.py Truncate resolution note text in slack message to satisfy block limits (#3351) 2023-11-16 13:15:04 +00:00
errors.py Update slack user group update not to retry on some errors (#3363) 2023-11-16 13:41:42 +00:00
slack_formatter.py Fix alert group rendering (#3424) 2023-11-24 15:39:37 +00:00
tasks.py fix slack API rate limit errors in send_message_to_thread_if_bot_not_in_channel task (#3803) 2024-01-31 13:42:52 -05:00
test_slack_message.py Improve Slack error handling (#3000) 2023-09-12 09:49:16 +00:00
urls.py Slack and telegram routes to test chatops-proxy v3 (#3723) 2024-01-22 13:48:19 +08:00
utils.py Fix post message to slack channel (#3701) 2024-01-17 13:05:36 +00:00
views.py remove manual alert group (/oncall) slack slash command + force_route_id (#3790) 2024-01-30 17:28:23 -05:00