#!/usr/bin/env python3 """partd.py — runs ON THE BENCH (/opt/upg): Part D's re-proof of immich's step 0b8272068aab36bf (server v3.0.3 -> v3.2.2, ML v3.0.3) on THAT STEP'S OWN DEFINITION with immich-postgres at 768M (templates/immich@0b82-768, pushed beside the catalog templates). The harness, unchanged, with one added edge.""" import importlib.util, sys sys.argv = ["upgrade-test.py"] spec = importlib.util.spec_from_file_location("ut", "/opt/upg/upgrade-test.py") ut = importlib.util.module_from_spec(spec); spec.loader.exec_module(ut) PG, RD = "ghcr.io/immich-app/postgres:16-vectorchord0.4.3-pgvectors0.2.0", "redis:7-alpine" ML = "ghcr.io/immich-app/immich-machine-learning:v3.0.3" ut.EDGES["D-immich-0b82-768"] = dict(app="immich", template="immich@0b82-768", note="Part D 2026-09-30: step 0b8272068aab36bf's own definition, immich-postgres 512M -> 768M (R-732)", frm={"immich-server": "ghcr.io/immich-app/immich-server:v3.0.3", "immich-machine-learning": ML, "immich-postgres": PG, "immich-redis": RD}, to={"immich-server": "ghcr.io/immich-app/immich-server:v3.2.2", "immich-machine-learning": ML, "immich-postgres": PG, "immich-redis": RD}) sys.exit(ut.main(["--soak", "600", "D-immich-0b82-768"]))