v26.05.23.0: FC-5 follow-ups (pg_dump + zstd in image, lift body cap) #2

Merged
bvandeusen merged 0 commits from dev into main 2026-05-22 22:37:07 -04:00
bvandeusen commented 2026-05-22 22:37:01 -04:00 (Migrated from git.fabledsword.com)

Two patches caught during the v26.05.22.0 production migration cut. Both block migration on a fresh FC instance with realistic-size data.

Commits

  • 7f26217Dockerfile: install postgresql-client (pg_dump) + zstd in the runtime image. The FC-5 backup + rollback migrators shell out to these via subprocess; without them, the backup task fails with [Errno 2] No such file or directory: 'pg_dump'.

  • 8188985backend/app/__init__.py: raise MAX_CONTENT_LENGTH + MAX_FORM_MEMORY_SIZE to 1 GiB. Werkzeug's default form memory cap is 500 KB; a realistic IR export (281k image_tag associations on the operator's library = 61 MB) returns 413 Request Entity Too Large before reaching the ir_ingest handler.

Surface area: 2 files, +8/-1.

Post-merge

Build workflow auto-pushes fabledcurator:main + :latest. Running stacks need a --force update on each service for the new image to pick up.

Two patches caught during the v26.05.22.0 production migration cut. Both block migration on a fresh FC instance with realistic-size data. ## Commits - **`7f26217`** — `Dockerfile`: install `postgresql-client` (`pg_dump`) + `zstd` in the runtime image. The FC-5 `backup` + `rollback` migrators shell out to these via subprocess; without them, the backup task fails with `[Errno 2] No such file or directory: 'pg_dump'`. - **`8188985`** — `backend/app/__init__.py`: raise `MAX_CONTENT_LENGTH` + `MAX_FORM_MEMORY_SIZE` to 1 GiB. Werkzeug's default form memory cap is 500 KB; a realistic IR export (281k image_tag associations on the operator's library = 61 MB) returns `413 Request Entity Too Large` before reaching the `ir_ingest` handler. Surface area: 2 files, +8/-1. ## Post-merge Build workflow auto-pushes `fabledcurator:main` + `:latest`. Running stacks need a `--force` update on each service for the new image to pick up.
Sign in to join this conversation.
No Reviewers
No Label
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: bvandeusen/FabledCurator#2