US02-07: Automate Phase B End-to-End Acceptance (#60)

This commit was merged in pull request #60.
This commit is contained in:
2026-08-14 12:53:45 +02:00
parent b59bc93fcb
commit b9bcb47c68
11 changed files with 577 additions and 12 deletions

View File

@@ -27,6 +27,11 @@ def main(argv: Sequence[str] | None = None) -> int:
if args.command == "worker":
from photo_pipeline.db import create_db_engine, create_session_factory
# Importing this registers the safety/analysis job handlers into the shared
# REGISTRY the Worker defaults to; without it a standalone worker process
# claims nothing because it knows no job types.
import photo_pipeline.jobs.domain_handlers # noqa: F401
from photo_pipeline.jobs.worker import Worker
run_migrations(config.database_url)