Public status page with Upptime

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

Maintainers usually reply within 1 day

Nobody has claimed this yet.

Assessment

Difficulty
4/5
Estimated time
3-5 days
Newbie friendliness
18/100
Issue type
Feature
Clarity
Mostly clear
Activity status
Active
Tech stack
github, github-actions, python

Research direction

This is a multi-part infrastructure task spanning a new ADR, a new status repository built from the Upptime template, and GitHub Actions monitoring of /api/v1/health/ready in this backend repo. Read the linked #63 and #66 for the existing health endpoint and runbook before anything else. Done means ADR 0007 is merged, the status page loads with the backend stopped, and a failed check notifies maintainers.

Written by the indexing model from the issue text.

Description

area:infra priority:p1 size:M type:feature

Epic: #111

Problem: Partners, organizers, and players need one place to see whether OPEN is working. It must keep working while OPEN is down, so it cannot run on OPEN's own App Platform apps or call the backend when someone opens it.

Decision: OPEN shows a coarse public status page and keeps detailed monitoring for maintainers. The public page uses Upptime: an open source status page that runs on GitHub Actions and GitHub Pages, so it costs nothing and runs outside DigitalOcean. Incidents are GitHub issues in the status repository, so anyone can follow them.

Scope:

  • A new ADR (next free number; ADR 0007 is the audit log): public status page versus internal monitoring. Record what is public (up, degraded, or down for each component, incidents, and maintenance notices), what stays internal (per-dependency results, queue depths, versions, hosts, capacity), the tools (Upptime, App Platform alerts, Sentry), and who may post incidents
  • Create openpickleball/status from the Upptime template, with GitHub Pages at status.openpb.org (#182)
  • Monitor /api/v1/health/ready on production, shown as two components: Results API and Ratings API. Until production exists (#68), monitor staging and keep the page private or labeled as staging
  • Also show the other public pieces, each as one component with only up, degraded, or down: Web app (app.openpb.org), Rating updates (#140), Partner docs (partner.openpb.org, #184), and Developer site (dev.openpb.org). Email and Webhooks are added when their coarse health signals exist (#35, #85). Upptime can only probe public URLs, so a background component needs its own coarse public endpoint, as #140 does for rating updates
  • The page is the public view of all of OPEN's services, not of its infrastructure: never list databases, Valkey, workers, hosts, or regions by name
  • Check every 5 minutes (the shortest GitHub Actions schedule). The page shows stored results, so visitors never reach the probes
  • Notify maintainers when a check fails (Upptime's notifications, for example email or a chat webhook). Keep the notification secrets in the status repository's secrets
  • Document how to post an incident and a maintenance notice, and who has write access to the status repository
  • Add the status page URL to the runbook from #66

Acceptance criteria:

  • The status page loads while the backend is stopped
  • Stopping the staging web component turns its components to down within one check interval, and maintainers get a notification
  • The page shows only component status and incident text: no hostnames, versions, error details, or player data
  • The status page ADR is merged and lists who may post incidents

Out of scope:

  • The footer link in the web app (openpickleball/frontend#19)
  • Incident banners in the apps, until the mobile apps ship
  • Restricting or rate limiting /health/ready

Depends on: #63

Related: #182 (domain layout), #66 (App Platform alerts and runbook), #68 (production), #105 (incident response plan)

Size: M

Dominant language
Python
Stars
0
Forks
1
Avg merge
1h 7m
Merged PRs (30d)
206

Getting set up

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 openpickleball/backend

All issues in openpickleball/backend

Similar issues

More Python issues

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.