[STAGE6] Correct Gitea restore: real dump 117 tables/6 repos
lint / hygiene (push) Failing after 35s
lint / hygiene (pull_request) Failing after 35s
standard / check (pull_request) Successful in 16s

This commit is contained in:
architect committed 2026-11-29 22:30:49 +03:00
1 parent 14f15ad591
commit 7f1cc9e02f
2 files changed
+14 -17

No files matched your search

@@ -437,16 +437,15 @@ sprint_items: 58
duration: 0s
temp DB dropped
Gitea: gitea_restore_stage0-20261129-0315.sql.gz
temp DB: gitea_restore_test_20261129
tables: 117
repository rows: 0
duration: 0s
temp DB dropped
Gitea schema-only: gitea_restore_stage0-20261129-0315.sql.gz
tables 117 / repos 0
Gitea real: gitea_db-20261129-0315.sql.gz
tables 117 / repos 6 / duration 4s
temp DBs dropped
```
**Gitea finding:** схема восстановилась, но 0 repository в stage0 dump.
Нужно проверить, не schema-only ли дамп, и повторить на актуальном.
**Gitea finding:** `stage0` dump — schema-only; настоящий `gitea_db` dump восстанавливается с 6 репозиториями. Не путать файлы.
Критично: backup disk 94%.
Не удалять старые бэкапы без решения владельца.
+7 -9
View File
@@ -36,7 +36,7 @@ G6 закрывается только когда:
| Код | Задача | Статус |
|---|---|---|
| S6-01 | Inventory: RAM/диск/UPS/GPU/backup | open |
| S6-02 | Restore drill Tier0/1 | partial: Audit OK; Gitea 117 tables, но 0 repository в stage0 dump |
| S6-02 | Restore drill Tier0/1 | partial: Audit OK; Gitea real dump 117 tables/6 repos/4s |
| S6-03 | Degradation ladder | open |
| S6-04 | NATS/Postgres/SSO failure tests | open |
| S6-05 | GPU lease → real allocation | open |
@@ -75,16 +75,14 @@ temp DB dropped
Gitea:
```text
dump: gitea_restore_stage0-20261129-0315.sql.gz
temp DB: gitea_restore_test_20261129
tables: 117
repository rows: 0
duration: 0s
temp DB dropped
schema-only dump: gitea_restore_stage0-20261129-0315.sql.gz → 117 tables / 0 repos
real dump: gitea_db-20261129-0315.sql.gz → 117 tables / 6 repos / 4s
temp DBs dropped
```
**Вывод:** restore схемы проходит; наличие данных репозиториев в этом дампе не доказано.
Нужно проверить, не является ли stage0 dump schema-only, и снять restore с актуального дампа.
Вывод: `stage0` dump — schema-only.
Настоящий `gitea_db` dump восстанавливается с 6 репозиториями.
Не путать эти файлы при будущих drill.
- Audit 360: dump → temp DB → 14 таблиц.
- Gitea: UTF8 restore → 117 таблиц/5 репо.