oncall-engine/engine/settings
Michael Derynck 2a466a0c4f
Add transaction on_commit before signals for alert group actions (#3731)
# What this PR does
Add transactions around log record creation and check transaction
on_commit before sending signals passing DB id of alert group log
records. In cases for delete we can then assume any missing IDs on tasks
are from intentionally deleted alert groups and we can stop tasks from
retrying endlessly.

## Which issue(s) this PR fixes

## 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 15:54:50 -07:00
..
__init__.py World, meet OnCall! 2022-06-03 08:09:47 -06:00
base.py Refactor gaps and empty shift checks (#3785) 2024-01-31 15:25:06 +01:00
celery_task_routes.py Add transaction on_commit before signals for alert group actions (#3731) 2024-01-31 15:54:50 -07:00
ci-test.py Mobile app proxy gateway (#3449) 2023-12-05 19:58:05 +00: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 Improve OpenAPI schema coverage (#3629) 2024-01-12 15:11:22 +00:00