[epic] Add service readiness checks and outage alerts

Abierto
#46 0 comentarios 0 reacciones 0 asignados Ver en GitHub

Los mantenedores suelen responder en 1 día

Nadie ha tomado este issue todavía.

Evaluación

Dificultad
5/5
Tiempo estimado
Más de una semana
Aptitud para principiantes
15/100
Tipo de issue
Nueva funcionalidad
Claridad
Bastante claro
Estado de actividad
Tranquilo
Stack tecnológico
python

Línea de trabajo

This is an umbrella epic, so start with its child issues #54 (readiness probes in services/team-tracking, services/documentation-system and discord-bot) and #55 (external checker and Discord alerts). Read AGENTS.md and each affected service's CONTRIBUTING.md, and look at the existing audit middleware and the PR-to-Discord webhook. Done means the child issues are closed and the alerting runbook exists.

Escrito por el modelo de indexación a partir del texto del issue.

Descripción

area/bot area/deployment area/integration area/observability area/service epic type/feature
Current delivery status

Readiness probes (#54) and the external checker implementation (PR #283) are complete. Offline debounce, timeout, failed-delivery and recovery regressions and the runbook are merged.

External readiness polling was explicitly deferred during production release #319. The dedicated webhook is configured, but READINESS_ENDPOINTS remains unset; a successful workflow run with no endpoints is not a monitoring acceptance test. #55 is in Backlog for endpoint setup and the controlled outage/recovery exercise. Keep this epic open for that operational outcome.

Area

bot, service, deployment, integration, observability

Outcome

Maintainers currently lack dependable signals when a service or its dependencies fail. This epic covers meaningful health checks and external outage/recovery alerts so the team can detect failures.

Definition of done
  • #54 provides dependency-aware API readiness and a bot gateway health signal, with non-success responses when the dependency is unavailable.
  • #55 polls readiness externally and emits one debounced down notification and one recovery notification to Discord.
  • The alerting runbook identifies the destination, outage test, and maintenance-silencing procedure.
Ownership

This epic owns readiness probes and outage notifications. Probe work in #54 touches services/team-tracking, services/documentation-system, and discord-bot. #55 owns the external checker and runbook; its GitHub Actions implementation and runbook are merged; external endpoint activation remains explicitly deferred.

Delivery and remaining work

#54 and the checker implementation #283 are complete. #55 retains the deferred external endpoint setup and live outage/recovery acceptance. The production release configured the dedicated webhook; it left readiness endpoints unset.

Task breakdown
Task Area Effort
#54 — Add API readiness probes and bot health checks bot, service, deployment, observability S
#55 — Poll service readiness and send Discord outage alerts deployment, integration, observability M
Scope and implementation notes

Child issues: #54 (health checks) and #55 (external checks and alerts). #55 has a native dependency on #54.

Existing audit middleware emits actor, endpoint, status, and duration; API engines already use pool pre-ping. The existing PR-to-Discord webhook offers a transport pattern.

Choose the actual reachable endpoint coverage when #55 is resumed. Probe implementation, GitHub Actions hosting and alert transport are already settled; do not reopen those implementation decisions merely for cleanup.

Out of scope: log aggregation and error-rate alerts. Choosing a log sink, thresholds, and wiring those alerts remains deferred; promote it only when that work is selected.

Working conventions

Filed tasks are direct sub-issues of this epic. GitHub Relationships record the existing hard prerequisites; the task table summarizes the work and existing project Size estimates. Keep each task independently reviewable and normally within one CODEOWNERS zone; explain deliberate cross-zone changes. Misty issues may carry several area labels; zones apply to PRs. Follow AGENTS.md and the affected service's CONTRIBUTING.md for implementation, tests, and documentation.

Lenguaje dominante
Python
Estrellas
0
Forks
2
Merge medio
3 d 3 h
PR fusionados (30 d)
31

Preparar el entorno

  • Sin Dockerfile ni archivo de Docker Compose
  • Tiene una plantilla de pull request
  • Sin guía de contribución

Primeros pasos

  1. Lee el issue completo y luego la guía de contribución del proyecto.
  2. Comenta en el issue que vas a ocuparte — evita que dos personas hagan lo mismo.
  3. Haz un fork del repositorio y trabaja en una rama.
  4. Abre un pull request que haga referencia al número del issue.

Más de UTMIST/Misty

Todos los issues de UTMIST/Misty

Issues similares

Más issues de Python

Recibe los nuevos issues en tu correo

Un resumen breve de issues de GitHub para principiantes.