Skip to main content

Prod support

What to do when something is wrong in production, and how changes get there.

PageUse it when
AlarmsAn alarm email arrived. What it means and what to check first.
LogsYou need to see what the API or the generator did. Where logs are, and queries that work.
Common errorsSomething specific is failing: a status code, a crash at startup, a failed deploy.
Deploy and rollbackYou need to ship, or undo, a change.
Dev loopDay-to-day work: branches, checks, flags, decision records.

The first five minutes​

  1. Is the API up? curl https://api.caretosher.com/health should answer 200 with "status":"ok". (Its version field reads 0.0.0-dev even in prod; the deploy does not set it.)
  2. What changed? Look at the latest cd-main run in GitHub Actions. Most incidents follow a merge.
  3. What is failing? Open the Caregiver-Prod-Overview dashboard in CloudWatch (us-east-2): errors, p95 duration, invocations and throttles, in 5-minute buckets.
  4. Why? Run the "errors in the last hour" query from Logs.
  5. Undo, if a merge caused it. Revert the PR. See Deploy and rollback.