From 553567738e8817bd9fabd30bc3a04dd577b4541a Mon Sep 17 00:00:00 2001 From: Bryan Van Deusen Date: Sun, 24 May 2026 14:38:33 -0400 Subject: [PATCH] fix: drop migration backup-gate (FC-3h supersedes) + modal Escape via document-level listener so video focus can't swallow it Co-Authored-By: Claude Opus 4.7 (1M context) --- backend/app/api/migrate.py | 7 +++- frontend/src/components/modal/ImageViewer.vue | 40 ++++++++++++------- 2 files changed, 32 insertions(+), 15 deletions(-) diff --git a/backend/app/api/migrate.py b/backend/app/api/migrate.py index ffb9dc9..81e1239 100644 --- a/backend/app/api/migrate.py +++ b/backend/app/api/migrate.py @@ -24,7 +24,12 @@ _VALID_KINDS = frozenset({ "ml_queue", "verify", "rollback", "cleanup", }) _INGEST_KINDS = frozenset({"gs_ingest", "ir_ingest"}) -_APPLY_KINDS = frozenset({"gs_ingest", "ir_ingest", "tag_apply", "rollback", "cleanup"}) +# Backup gate retired 2026-05-24 — operator-flagged the speculative-safety +# requirement was actively blocking the UI ingest path (backup itself is +# unreliable on large NFS-backed image libraries) and FC-3h will rewrite +# the backup surface as a first-class feature with its own scheduling +# + recovery. Leaving the constant for historical grep. +_APPLY_KINDS: frozenset[str] = frozenset() def _bad(error: str, *, status: int = 400, **extra): diff --git a/frontend/src/components/modal/ImageViewer.vue b/frontend/src/components/modal/ImageViewer.vue index fe458db..0ea01bc 100644 --- a/frontend/src/components/modal/ImageViewer.vue +++ b/frontend/src/components/modal/ImageViewer.vue @@ -2,9 +2,6 @@