Fix Docker apply crash and add safe profile test flow

Remove invalid _mirror_manager from daemon.json that prevented Docker from starting. Add 2-minute test apply with auto-rollback, final apply confirmation, emergency-restore CLI/UI, and post-restart Docker health checks.

Co-authored-by: Cursor <cursoragent@cursor.com>
This commit is contained in:
2026-06-10 20:20:10 +03:30
parent 1c9d647787
commit 63d0699cdd
20 changed files with 635 additions and 324 deletions
+1
View File
@@ -203,6 +203,7 @@ def seed_settings() -> None:
"auto_test_interval_minutes": "30",
"max_switches_per_day": "3",
"rollback_minutes": "15",
"test_rollback_minutes": "2",
"rollback_on_all_fail": "true",
}
from app.models import Setting