feat: add deployment smoke check
Quality / test (push) Canceled after 0s

This commit is contained in:
2026-09-09 20:21:55 -04:00
parent 73b4b9795e
commit 75b956e7b5
3 changed files with 45 additions and 0 deletions
+11
View File
@@ -80,6 +80,17 @@ database schema. If the release included an incompatible schema change, restore
the matching PostgreSQL backup before starting the previous images. Always
verify the API and web health checks after a rollback.
Run the post-deploy smoke check against the public endpoints:
```sh
API_HEALTH_URL=http://localhost:3000/health \
WEB_BASE_URL=http://localhost:8080 \
./scripts/smoke-production.sh
```
The check performs read-only requests against API health, the web health path,
and public search. It exits nonzero on the first failed request.
## Health Checks
Production Compose waits for healthy PostgreSQL, Redis, and API services before