chore: add automated staging smoke helper
This commit is contained in:
@@ -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
|
||||
|
||||
На сервере:
|
||||
|
||||
Reference in New Issue
Block a user