oncall-engine/engine/apps/alerts/tasks
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
..
__init__.py Add escalation chain support for new webhooks (#1654) 2023-04-05 12:03:55 +00:00
acknowledge_reminder.py World, meet OnCall! 2022-06-03 08:09:47 -06:00
alert_group_web_title_cache.py Improve Jinja Template feedback and error handling (#884) 2022-11-28 09:46:51 -07:00
call_ack_url.py Lint 2022-08-02 15:26:17 -06:00
check_escalation_finished.py modify check_escalation_finished_task task (#1266) 2023-03-17 10:14:08 +00:00
compare_escalations.py World, meet OnCall! 2022-06-03 08:09:47 -06:00
create_contact_points_for_datasource.py Refactor create/update contact points for Alerting integration (#872) 2023-01-25 09:42:42 +01:00
custom_button_result.py Handle JSONDecodeError for outgoing webhooks (#460) 2022-09-01 14:36:34 +01:00
custom_webhook_result.py Add escalation chain support for new webhooks (#1654) 2023-04-05 12:03:55 +00:00
delete_alert_group.py World, meet OnCall! 2022-06-03 08:09:47 -06:00
distribute_alert.py Add users_to_be_notified to new webhooks payload (#1798) 2023-04-20 16:13:48 +00:00
escalate_alert_group.py Refactor maintenance (#1340) 2023-02-23 07:13:03 +00:00
invite_user_to_join_incident.py Refactor get_user_verbal_for_team_for_slack. (#809) 2023-03-07 10:09:37 +00:00
maintenance.py Insight logs (#348) 2022-08-24 12:04:44 +05:00
notify_all.py Fix the cause of retry of notify_all and notify_group tasks (#1376) 2023-02-23 09:28:13 +00:00
notify_group.py Fix the cause of retry of notify_all and notify_group tasks (#1376) 2023-02-23 09:28:13 +00:00
notify_ical_schedule_shift.py Trigger slack shift notifications on current shift change (#2080) 2023-06-01 16:27:14 +00:00
notify_user.py Phone provider refactoring (#1713) 2023-05-24 06:27:48 +00:00
resolve_alert_group_by_source_if_needed.py Limit number of alertmanager alerts in alert group to autoresolve (#1779) 2023-04-24 05:38:21 +00:00
resolve_by_last_step.py World, meet OnCall! 2022-06-03 08:09:47 -06:00
send_alert_group_signal.py World, meet OnCall! 2022-06-03 08:09:47 -06:00
send_update_log_report_signal.py Refactor maintenance (#1340) 2023-02-23 07:13:03 +00:00
send_update_postmortem_signal.py World, meet OnCall! 2022-06-03 08:09:47 -06:00
send_update_resolution_note_signal.py World, meet OnCall! 2022-06-03 08:09:47 -06:00
sync_grafana_alerting_contact_points.py World, meet OnCall! 2022-06-03 08:09:47 -06:00
task_logger.py World, meet OnCall! 2022-06-03 08:09:47 -06:00
unsilence.py OnCall prometheus metrics exporter (#1605) 2023-05-25 18:26:13 +00:00
wipe.py World, meet OnCall! 2022-06-03 08:09:47 -06:00