[epic] Add service readiness checks and outage alerts

Aperta
#46 0 commenti 0 reazioni 0 assegnatari Vedi su GitHub

I maintainer di solito rispondono entro 1 giorno

Nessuno ha ancora preso questa issue.

Valutazione

Difficoltà
5/5
Tempo stimato
Più di una settimana
Idoneità per principianti
15/100
Tipo di issue
Funzionalità
Chiarezza
Abbastanza chiara
Stato di attività
Tranquilla
Stack tecnologico
python

Direzione di ricerca

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.

Scritto dal modello di indicizzazione a partire dal testo della issue.

Descrizione

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.

Lingua principale
Python
Stelle
0
Fork
2
Merge medio
3g 3h
PR unite (30g)
31

Preparare l'ambiente

  • Nessun Dockerfile né file Docker Compose
  • Ha un modello di pull request
  • Nessuna guida per i contributori

Come iniziare

  1. Leggi tutta la issue e poi la guida ai contributi del progetto.
  2. Commenta sulla issue per dire che te ne occupi tu — evita che due persone facciano lo stesso lavoro.
  3. Fai un fork del repository e lavora su un branch.
  4. Apri una pull request che faccia riferimento al numero della issue.

Altre issue di UTMIST/Misty

Tutte le issue di UTMIST/Misty

Issue simili

Altre issue su Python

Ricevi le nuove issue nella tua casella

Un breve riepilogo di issue GitHub adatte ai principianti.