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

@@ -14,6 +14,10 @@ from photo_pipeline.services.jobs import ItemState, JobService, JobState
REPO = Path(__file__).resolve().parents[2]
# Worker-recovery is also part of the Phase B acceptance command (US02-07: the
# "resume" journey); it stays mapped to US02-03 for traceability.
pytestmark = pytest.mark.phase_b
# A worker that claims the job, marks its item running, signals it started, then
# blocks — so the test can kill it mid-item.
WORKER_SCRIPT = """