Skip to content

Optimize plant photo storage and cleanup - #8

Merged
myaschmitz merged 1 commit into
mainfrom
myaschmitz-optimize-photo-storage
Aug 1, 2026
Merged

Optimize plant photo storage and cleanup#8
myaschmitz merged 1 commit into
mainfrom
myaschmitz-optimize-photo-storage

Conversation

@myaschmitz

Copy link
Copy Markdown
Owner

Summary

  • resize future full-size uploads to a 2048px maximum edge at 80% JPEG quality
  • centralize photo processing and storage deletion with retries
  • roll back uploaded objects when database persistence fails
  • remove both originals and thumbnails when deleting photos, plants, or all household photos
  • add coverage for processing settings, upload rollback, and plant photo cleanup

Validation

  • npx tsc --noEmit
  • npm test -- --runInBand (90 tests)

Co-authored-by: Copilot App <223556219+Copilot@users.noreply.github.com>
@vercel

vercel Bot commented Aug 1, 2026

Copy link
Copy Markdown

The latest updates on your projects. Learn more about Vercel for GitHub.

Project Deployment Actions Updated (UTC)
rooted Ready Ready Preview Aug 1, 2026 6:07am

@myaschmitz
myaschmitz merged commit 84f810e into main Aug 1, 2026
4 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant