Persist kagane covers in Postgres #49

Merged
sulthan merged 2 commits from issue-43 into main 2026-08-09 06:52:03 +07:00
Owner

Closes #43

Persist kagane cover bytes in a dedicated Postgres covers table keyed by image ID. The web handler reads storage before the browser, writes validated fetches through, and no longer keeps an in-process cover cache. Added migration, store persistence tests including reopen, handler coverage for stored/miss/rejected paths, and corrected repository guidance.

Verification:

  • go test ./...
  • CGO_ENABLED=0 go build ./...
Closes #43 Persist kagane cover bytes in a dedicated Postgres covers table keyed by image ID. The web handler reads storage before the browser, writes validated fetches through, and no longer keeps an in-process cover cache. Added migration, store persistence tests including reopen, handler coverage for stored/miss/rejected paths, and corrected repository guidance. Verification: - go test ./... - CGO_ENABLED=0 go build ./...
sulthan added 2 commits 2026-08-09 06:47:17 +07:00
sulthan merged commit bfae84c5c3 into main 2026-08-09 06:52:03 +07:00
Sign in to join this conversation.