oncall-engine/engine/apps/alerts
Matias Bordese 5d383c7d1d
Trigger slack shift notifications on current shift change (#2080)
Before this change, a diff ical check (which happens with frequency with
imported ical), particularly with overrides in an API/terraform schedule
would trigger unexpected slack notifications because the prev vs current
ical comparison will flag a diff, but when comparing current and
previous shifts, `current_shifts` will have the shift in progress while
the `prev_shifts` calculated from the overrides-only diff will most of
the time be empty (unless you set/change an override at current time).

Simplified the checks to always compare previous current shifts (ie. the
ones in the schedule from the DB) vs the recalculated ones using the
(refreshed) ical data from the schedule.
2023-06-01 16:27:14 +00:00
..
escalation_snapshot add several new database columns + emit two new Django signals (#1522) 2023-04-14 09:15:57 +02:00
grafana_alerting_sync_manager Update find contact point name, receiver could be missing key (#2046) 2023-05-29 18:52:24 +00:00
incident_appearance Fix orphaned messages in Slack (#2023) 2023-06-01 10:21:30 +00:00
incident_log_builder modify check_escalation_finished_task task (#1266) 2023-03-17 10:14:08 +00:00
migrations OnCall prometheus metrics exporter (#1605) 2023-05-25 18:26:13 +00:00
models OnCall prometheus metrics exporter (#1605) 2023-05-25 18:26:13 +00:00
tasks Trigger slack shift notifications on current shift change (#2080) 2023-06-01 16:27:14 +00:00
terraform_renderer World, meet OnCall! 2022-06-03 08:09:47 -06:00
tests Trigger slack shift notifications on current shift change (#2080) 2023-06-01 16:27:14 +00:00
__init__.py World, meet OnCall! 2022-06-03 08:09:47 -06:00
admin.py Alert group search (#488) 2022-09-06 11:30:12 +01:00
constants.py OnCall prometheus metrics exporter (#1605) 2023-05-25 18:26:13 +00:00
integration_options_mixin.py Change integrations page wording and add more guidance (#1986) 2023-05-31 11:26:36 +00:00
paging.py Keep track of direct paging schedule/importance in logs (#1269) 2023-02-02 09:21:31 -03:00
representative.py World, meet OnCall! 2022-06-03 08:09:47 -06:00
signals.py Add users_to_be_notified to new webhooks payload (#1798) 2023-04-20 16:13:48 +00:00
utils.py Fix outgoing webhook to resolve IP from parsed hostname 2022-09-22 14:35:37 -03:00