oncall-engine/engine/apps/alerts
Michael Derynck 8db285e4e8
Fix escalation chain webhooks executing when disabled (#4319)
# What this PR does
Fixes issue where custom webhooks that are part of an escalation chain
were still being executed even though they were disabled. Now the
attempt will be logged in the escalation log and noted that the webhook
was disabled.

## Which issue(s) this PR closes

<!--
*Note*: if you have more than one GitHub issue that this PR closes, be
sure to preface
each issue link with a [closing
keyword](https://docs.github.com/en/get-started/writing-on-github/working-with-advanced-formatting/using-keywords-in-issues-and-pull-requests#linking-a-pull-request-to-an-issue).
This ensures that the issue(s) are auto-closed once the PR has been
merged.
-->

## 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.
2024-05-07 19:58:49 +00:00
..
escalation_snapshot Fix escalation chain webhooks executing when disabled (#4319) 2024-05-07 19:58:49 +00:00
grafana_alerting_sync_manager Revert "upgrade to Python 3.12 (#3456)" and "bump uwsgi version to latest #3466" (#3483) 2023-12-01 09:56:26 -05:00
incident_appearance Fix web alert templater with many links (#4068) 2024-03-15 17:23:24 +00:00
incident_log_builder Added Outgoing Web hooks to escalation policy log (#4150) 2024-04-05 15:57:48 +00:00
migrations cleanup orphaned CustomButton escalation policy steps (#4143) 2024-04-02 15:23:07 +00:00
models Fix escalation chain webhooks executing when disabled (#4319) 2024-05-07 19:58:49 +00:00
tasks Ignore uncompleted notifications if policy is deleted (#4260) 2024-04-23 11:40:24 +00:00
tests Fix escalation chain webhooks executing when disabled (#4319) 2024-05-07 19:58:49 +00:00
__init__.py World, meet OnCall! 2022-06-03 08:09:47 -06:00
constants.py Update alert group state by backsync (#4089) 2024-03-27 12:37:01 +00:00
integration_options_mixin.py Add support for integration additional settings via custom serializer (#4027) 2024-03-07 18:35:11 +00:00
paging.py Add transaction block and callbacks when triggering tasks (#3779) 2024-01-31 09:26:14 -05:00
representative.py apps.get_model -> import (#2619) 2023-07-25 09:43:23 +00:00
signals.py SNOW external ID (#4076) 2024-03-20 10:54:27 +00:00
utils.py cleanup CustomButton backend code + add ngrok/express outgoing webhook e2e test (#2544) 2024-03-28 15:37:22 +00:00