chore: add automated staging smoke helper

This commit is contained in:
a.tolmachev
2026-04-07 12:51:09 +03:00
parent b26ab3d85c
commit a8aaf65918
6 changed files with 147 additions and 5 deletions
+23
View File
@@ -33,6 +33,29 @@
- включенный `CRANK_DEMO_SEED=true`, если нужен предзаполненный smoke state;
- bootstrap admin credentials для входа в UI.
## 3.1. Быстрый automated smoke
Есть helper script:
```bash
just staging-smoke https://<domain>
```
или напрямую:
```bash
bash scripts/staging-smoke.sh https://<domain>
```
Он проверяет:
- public routes;
- `/api/auth/session` JSON contract;
- `/mcp/health`;
- legacy `/html/...` redirects.
Это не заменяет ручной smoke pass ниже, а только быстро отсеивает грубые deploy/routing поломки.
## 4. Server-side smoke
На сервере: