Stelle bestehende Quellzuordnungen wieder her und halte Connectoren beim eigenen Konto.
Deploy Development / deploy (push) Successful in 28s
Test Suite / pytest-backend (push) Failing after 2m11s
Test Suite / smoke-dev (push) Successful in 0s
Test Suite / frontend-build (push) Successful in 10s

Co-authored-by: Cursor <cursoragent@cursor.com>
This commit is contained in:
LarsandCursor committed 2026-10-19 16:58:50 +02:00
1 parent d6b70d8f92
commit c3a07cee64
8 files changed
+250 -9

No files matched your search

+4
View File
@@ -58,7 +58,11 @@ def _prepare_source_storage(settings: Settings) -> None:
from app.media.port import ensure_legacy_instance
from app.sourcebind import backfill_source_bindings
from app.sources import _install_sources
# The process that migrates has not imported the application yet.
# Without the modules, a legacy reference would stay unresolved.
_install_sources()
with psycopg.connect(settings.dsn(), row_factory=dict_row) as conn:
backfill_source_bindings(conn)
ensure_legacy_instance(conn, settings.media_root)