oncall-engine/engine/apps/alerts
Vadim Stepanov 6caacf4048
Handle Slack ratelimit on alert group deletion (#3038)
# What this PR does

- gracefully retry
`apps.alerts.tasks.delete_alert_group.delete_alert_group` when hitting
Slack ratelimits
- remove Slack messages from the DB as soon as they are deleted from
Slack, so the tasks are not retrying perpetually

## 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)
2023-09-19 08:41:47 +00:00
..
escalation_snapshot Fix escalation step "Notify if num alerts in time window" (#2965) 2023-09-05 10:32:59 +00:00
grafana_alerting_sync_manager Alerting integration use get for receiver key (#2894) 2023-08-29 02:01:45 +00:00
incident_appearance remove some references to amixr (#2698) 2023-08-01 14:22:42 -04:00
incident_log_builder Shift Swap Requests in Slack + improve typing for Slack django app (#2653) 2023-07-28 15:11:38 +00:00
migrations Refactor AlertGroup.slack_message (#2957) 2023-09-04 18:03:18 +00:00
models Trigger alert group signal after transaction commit (#3001) 2023-09-11 14:28:37 +00:00
tasks Handle Slack ratelimit on alert group deletion (#3038) 2023-09-19 08:41:47 +00:00
tests Handle Slack ratelimit on alert group deletion (#3038) 2023-09-19 08:41:47 +00:00
__init__.py World, meet OnCall! 2022-06-03 08:09:47 -06:00
constants.py OnCall prometheus metrics exporter (#1605) 2023-05-25 18:26:13 +00:00
integration_options_mixin.py AlertManager v2 (#2643) 2023-08-01 12:18:52 +08:00
paging.py Re-enable a few mypy rules + fix existing errors (#2725) 2023-08-03 09:43:03 +00:00
representative.py apps.get_model -> import (#2619) 2023-07-25 09:43:23 +00:00
signals.py Fix warnings when running backend tests (#2079) 2023-06-06 18:38:00 +00:00
utils.py remove deprecated call_ack_url celery task (#2545) 2023-07-25 02:50:18 -04:00