Make main the library app; supersede scanner (defer Immich #38) #39
Loading…
Add table
Add a link
Reference in a new issue
No description provided.
Delete branch "chore/main-becomes-library-app"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
Replaces
main's tree wholesale withcodex/library-rebuild-from-scraper(1c34166) — the library app that matches the live database (AppUser/slideshow_*/library_import_*, ~1M rows). The merge tree is byte-identical to that branch tip (the code currently running in production after the manual restore).Why: the library-rebuild migration was applied to the prod DB but its branch was never integrated into
main; redeployingmain(the old scanner app) failed atdb:seed(Usertable no longer exists). This makesmainreflect reality so the auditedredeploy_media_organizerflow is safe again.Mechanic: supersede merge (
-s ours+read-tree --reset) — the scanner commits (PRs #31–#38) remain in history via the first parent; only the tree is replaced. Deterministic, no conflicts.Deferred: Immich-sync (#38) has no library-app equivalent (built on the deleted
MediaFilemodel). The 3 emptyImmich*tables are left in the DB for a possible future re-port; not addressed here.After merge (deploy-host follow-ups, not in this PR): drop the
-f docker-compose.override.ymlarg from the ops-agentcompose_up_media_organizercommand (itsmediaservice + 127.0.0.1-only web ports break the library app; the base compose already binds correctly) + restart ops-agent; then point the deploy clone back tomain.