feat(админка): predeploy и откат с полом

This commit is contained in:
anor
2026-11-06 20:47:50 +10:00
parent 03684fc63b
commit e504ad9754
5 changed files with 194 additions and 8 deletions
+7
View File
@@ -148,6 +148,13 @@
- На копии прода: 30,8 / 15,0 / 7,3 мс; integrity ok; повтор — exists/absent.
- Тесты: `tests/test_admin_migrate.py` — 6 passed.
## 4.15. P1.8 (частично) — predeploy/deploy
- `predeploy.sh`: `--prod` требует `--db`-копию, отказ на боевой путь и тот же inode; migrate→admin_gate→pytest; dev — полный набор.
- `deploy.sh`: `--no-pull`, `--check`, `ROLLBACK_TAG`, `ROLLBACK_FLOOR` (пол обязателен как предок цели), `pip install` после фактического reset.
- Тесты: `tests/test_predeploy.py` — 7 passed; `--check` не двигает HEAD; ниже пола — отказ.
- P1.8b (requirements-dev) — остаток.
## 5. Следующий шаг
P0.0 design-gate → P0.1 backup/restore → P0.2 (release `feat/topup` отдельно, не в рамках выравнивания).