oncall-engine/engine/apps/alerts/tests
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
..
__init__.py World, meet OnCall! 2022-06-03 08:09:47 -06:00
conftest.py modify check_escalation_finished_task task (#1266) 2023-03-17 10:14:08 +00:00
factories.py Backend support for "connected" integrations (#4030) 2024-03-07 17:47:33 +00:00
test_acknowledge_reminder.py Update xdist load to use loadscope setting (#4187) 2024-04-08 19:03:58 +00:00
test_alert.py Handle alert group deleted when task is already queued (#4230) 2024-04-16 14:39:00 +00:00
test_alert_group.py Fix docs and UI for connecting Grafana Alerting from other stack (#4243) 2024-04-24 08:02:51 +00:00
test_alert_group_log_record.py Do not trigger alert group update log signal before setting alert (#3514) 2023-12-06 13:04:13 +00:00
test_alert_group_renderer.py Fix web alert templater with many links (#4068) 2024-03-15 17:23:24 +00:00
test_alert_manager.py World, meet OnCall! 2022-06-03 08:09:47 -06:00
test_alert_receiver_channel.py Add ability to migrate one org (#3809) 2024-02-01 18:25:36 +08:00
test_channel_filter.py remove manual alert group (/oncall) slack slash command + force_route_id (#3790) 2024-01-30 17:28:23 -05:00
test_check_escalation_finished_task.py Ignore uncompleted notifications if policy is deleted (#4260) 2024-04-23 11:40:24 +00:00
test_custom_webhook_result.py Add escalation chain support for new webhooks (#1654) 2023-04-05 12:03:55 +00:00
test_default_templates.py Support alert routing based on labels (#3778) 2024-01-30 13:07:19 -05:00
test_escalation_chain.py Allow changing team for escalation chains (#1658) 2023-03-30 10:43:00 +01:00
test_escalation_policy_snapshot.py Fix escalation chain webhooks executing when disabled (#4319) 2024-05-07 19:58:49 +00:00
test_escalation_snapshot.py cleanup CustomButton backend code + add ngrok/express outgoing webhook e2e test (#2544) 2024-03-28 15:37:22 +00:00
test_escalation_snapshot_mixin.py Add escalation step to notify all members from a team (#3908) 2024-02-20 10:02:23 -03:00
test_grafana_alerting_sync.py Improve getting/updating contact points for Grafana Alerting integration (#2742) 2023-08-18 12:12:29 +02:00
test_incident_log_builder.py Added Outgoing Web hooks to escalation policy log (#4150) 2024-04-05 15:57:48 +00:00
test_maintenance.py Enable flake8-bugbear, fix issues (#3454) 2023-11-29 15:04:48 +00:00
test_notify_ical_schedule_shift.py Move cache clear to fixtures, fix some deprecation notices (#3269) 2023-11-06 16:52:50 +00:00
test_notify_user.py Retry perform_notification with Telegram ratelimit countdown on RetryAfter error (#3744) 2024-01-24 15:31:56 +00:00
test_paging.py Add transaction block and callbacks when triggering tasks (#3779) 2024-01-31 09:26:14 -05:00
test_representative.py World, meet OnCall! 2022-06-03 08:09:47 -06:00
test_silence.py OnCall prometheus metrics exporter (#1605) 2023-05-25 18:26:13 +00:00