oncall-engine/engine/settings
Ildar Iskhakov 30caa18f9d
Make telegram on_alert_group_action_triggered asynchronous (#3471)
# What this PR does


[send_alert_group_signal](https://github.com/grafana/oncall/blob/dev/engine/apps/alerts/tasks/send_alert_group_signal.py#L12)
task is not idempotent. It launches
[on_alert_group_action_triggered_async](a2851d3f81/engine/apps/slack/representatives/alert_group_representative.py (L158))
for slack and then might fail on
[on_alert_group_action_triggered](b2f4ffb98a/engine/apps/telegram/alert_group_representative.py (L79))
(not async) due to database DoesNotExist exception.

This PR makes telegram representative asyncronous

## Which issue(s) this PR fixes

## Checklist

- [ ] Unit, integration, and e2e (if applicable) tests updated
- [ ] Documentation added (or `pr:no public docs` PR label added if not
required)
- [ ] `CHANGELOG.md` updated (or `pr:no changelog` PR label added if not
required)
2023-12-01 10:49:00 +00:00
..
__init__.py World, meet OnCall! 2022-06-03 08:09:47 -06:00
base.py generate types, create http client and add exemplary usage (#3384) 2023-11-29 05:16:13 +00:00
celery_task_routes.py Make telegram on_alert_group_action_triggered asynchronous (#3471) 2023-12-01 10:49:00 +00:00
ci-test.py remove shift swap feature flag (#2755) 2023-08-04 16:12:33 +02:00
dev.py continue addressing mypy violations (#2170) 2023-06-27 10:23:08 +00:00
helm.py Allow multiple database and celery broker types (#582) 2022-10-04 09:25:53 +01:00
hobby.py Allow multiple database and celery broker types (#582) 2022-10-04 09:25:53 +01:00
prod_without_db.py Test celery tasks have queue assignment (#2922) 2023-08-31 18:42:08 +00:00