Prod support
What to do when something is wrong in production, and how changes get there.
| Page | Use it when |
|---|---|
| Alarms | An alarm email arrived. What it means and what to check first. |
| Logs | You need to see what the API or the generator did. Where logs are, and queries that work. |
| Common errors | Something specific is failing: a status code, a crash at startup, a failed deploy. |
| Deploy and rollback | You need to ship, or undo, a change. |
| Dev loop | Day-to-day work: branches, checks, flags, decision records. |
The first five minutes
- Is the API up?
curl https://api.caretosher.com/healthshould answer200with"status":"ok". (Itsversionfield reads0.0.0-deveven in prod; the deploy does not set it.) - What changed? Look at the latest
cd-mainrun in GitHub Actions. Most incidents follow a merge. - What is failing? Open the Caregiver-Prod-Overview dashboard in CloudWatch (us-east-2): errors, p95 duration, invocations and throttles, in 5-minute buckets.
- Why? Run the "errors in the last hour" query from Logs.
- Undo, if a merge caused it. Revert the PR. See Deploy and rollback.