# F19 — Rollback drill checklist

## Railway (API)

1. `railway deployment list` — son **SUCCESS** deployment id not al.
2. Railway Dashboard → Faunamix service → Deployments → önceki SUCCESS → **Rollback**.
3. Smoke (kayıt: `frontend/qa/logs/f19/`):
   ```bash
   API=https://faunamix-production.up.railway.app
   curl -sS "$API/health.php" | tee frontend/qa/logs/f19/health-after-railway-rollback.json
   curl -sS -o /dev/null -w "filter:%{http_code}\n" -X POST "$API/api/filter.php" \
     -H "Content-Type: application/json" -d '{"page":1,"page_size":1}'
   ```

## Vercel (vitrin)

1. Vercel → Project → Deployments → önceki production deployment → **Promote** / Instant Rollback.
2. Smoke:
   ```bash
   SITE=https://www.faunamix.com
   curl -sS -o /dev/null -w "home:%{http_code}\n" "$SITE/"
   curl -sS -o /dev/null -w "listing:%{http_code}\n" "$SITE/listing"
   curl -sS -o /dev/null -w "product:%{http_code}\n" "$SITE/product/16"
   ```

## Kanıt dosyaları

- `frontend/qa/logs/f19/railway-deployment-list.txt` — `railway deployment list`
- `frontend/qa/logs/f19/smoke-*.txt` — curl çıktıları
- Dashboard rollback ekran görüntüsü (opsiyonel) → `frontend/qa/evidence/f19/`

**Durum (Tur 5):** Vercel rollback + promote ve Railway `down`/`up` drill yapıldı → F19 **PASS**. Kanıt: `frontend/qa/logs/f19/railway-rollback-drill-tur5.txt`, `vercel-rollback-tur5.txt`, `vercel-promote-latest-tur5.txt`.
