[epic] Add service readiness checks and outage alerts

Open
#46 0 comments 0 reactions 0 assignees View on GitHub

Maintainers usually reply within 1 day

Nobody has claimed this yet.

Assessment

Difficulty
5/5
Estimated time
Over a week
Newbie friendliness
15/100
Issue type
Feature
Clarity
Mostly clear
Activity status
Quiet
Tech stack
python

Research direction

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.

Written by the indexing model from the issue text.

Description

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.

Dominant language
Python
Stars
0
Forks
2
Avg merge
3d 3h
Merged PRs (30d)
31

Getting set up

  • No Dockerfile or Docker Compose file
  • Has a pull request template
  • No contributing guide

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

More from UTMIST/Misty

All issues in UTMIST/Misty

Similar issues

More Python issues

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.