Skip to content

8.8 - Nothing monitors the mainnet service #162

Description

@determined-001

Complexity: Medium - 150 Points · type:ops

Milestone: M6 - Ops & rigor

Band lever: none

Context
scripts/uptime-check.mjs pings an API and a web origin, records history, and
files a GitHub issue when a target stays down. Its defaults are
quay-api.onrender.com and quay-web.vercel.app — the testnet/staging pair.

Problem
render.mainnet.yaml deliberately stands up a separate service,
quay-api-mainnet, at a different URL. Nothing pings it. After cutover, the
service that actually moves money can be down with no automated signal at all:
no issue filed, no badge change, nothing in docs/STATUS.md — while the
monitoring that does exist keeps reporting green for a testnet service nobody is
paying through. This is distinct from the anchor-probe and db-backup gaps
already listed in TODO.md; those are known, this one is not written down
anywhere.

What needs to be done

  1. Make the checker multi-environment: take a list of targets (id, label, API
    URL, web URL) rather than one pair, from a small config file or env.
  2. Give each environment its own history series and its own section in
    docs/STATUS.md, so a green testnet cannot mask a red mainnet.
  3. Include the environment name in the auto-filed issue title and body.
  4. Document in docs/RUNBOOK.md which secrets/variables must be set for the
    mainnet environment to be watched.

Key files

  • scripts/uptime-check.mjs:17API_URL / WEB_URL defaults, TARGETS
  • .github/workflows/uptime.yml — the (currently disabled) schedule
  • render.mainnet.yaml:39 — the mainnet service name
  • docs/STATUS.md

Done when

  • Both environments are checked in one run and reported separately.
  • A mainnet outage files an issue naming mainnet.

Tracked in ISSUES.md — issue 8.8.

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Labels

Stellar WaveDrips Wave Program - opt an issue in by applying this labelarea:opsCI, Docker, metrics, backups, uptimecomplexity:medium150 pointstype:ops

Projects

No projects

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions