oncall-engine/engine/apps
Innokentii Konstantinov 26a2bd9c91
Refactor maintenance (#1340)
# What this PR does
This PR simplifies code of maintenance mode.
1. Perform distribution/escalation maintenance checks in send_signal...
tasks.
2. Use usual alert distribution flow for the maintenance incident.
3. Decouple maintenance mode from slack (all, except
**notify_about_maintenance_action** methods, I don't want to make this
PR too big)

As a bonus from these changes, maintenance mode now mute alert group
delivery in all chatops integrations, not only in slack. (Before,
incidents happened while maintenance were posted to telegram and msteams
anyway)

## Checklist

- [ ] Tests updated
- [ ] Documentation added
- [ ] `CHANGELOG.md` updated
2023-02-23 07:13:03 +00:00
..
alerts Refactor maintenance (#1340) 2023-02-23 07:13:03 +00:00
api Refactor maintenance (#1340) 2023-02-23 07:13:03 +00:00
api_for_grafana_incident Include alert details in Grafana Incident alert-group endpoint (#1280) 2023-02-03 13:43:21 +00:00
auth_token Add database migrations linter (#1020) 2023-02-06 16:01:37 +08:00
base Add database migrations linter (#1020) 2023-02-06 16:01:37 +08:00
email Add database migrations linter (#1020) 2023-02-06 16:01:37 +08:00
grafana_plugin Refactor plugin sync (#1200) 2023-01-25 09:12:08 +08:00
heartbeat Add database migrations linter (#1020) 2023-02-06 16:01:37 +08:00
integrations Cleanup ScenarioStep (#1213) 2023-02-21 20:22:11 +01:00
mobile_app Add database migrations linter (#1020) 2023-02-06 16:01:37 +08:00
oss_installation Add database migrations linter (#1020) 2023-02-06 16:01:37 +08:00
public_api Add ratelimit for phone number verification (#1354) 2023-02-21 16:47:52 +08:00
schedules Revert "Revert "Rework schedules cached ical file values"" (#1382) 2023-02-22 07:30:19 +01:00
slack Refactor maintenance (#1340) 2023-02-23 07:13:03 +00:00
social_auth Rework slack login to check backend before redirecting (#1306) 2023-02-08 09:08:18 -03:00
telegram Add database migrations linter (#1020) 2023-02-06 16:01:37 +08:00
twilioapp Add database migrations linter (#1020) 2023-02-06 16:01:37 +08:00
user_management Refactor maintenance (#1340) 2023-02-23 07:13:03 +00:00
__init__.py World, meet OnCall! 2022-06-03 08:09:47 -06:00