Caterium v17.6.1 — Chat photo compression + server memory counters
Date: 2026-09-07

1. Photos selected in chat are optimized in the browser before upload.
   - Maximum side: 2048 px.
   - Target size: about 2 MB.
   - Absolute attachment limit remains 15 MB.
   - Non-image files are unchanged; GIF/SVG are not recompressed.
   - Browsers without DataTransfer fall back to the original chat upload path.

2. Developer Console now receives server-side memory metrics:
   - PostgreSQL database size.
   - Supabase Storage size.
   - Storage object count.
   - Total server footprint (database + Storage).
   - Per-bucket Storage breakdown is also returned by the RPC.

3. Supabase migration: SUPABASE-V17.6.1-CHAT-STORAGE-GUARD.sql.

4. GitHub QA initialization race fixed:
   - Playwright waits for SunSafe and SunPdfEngine before invoking them.
   - Added an automated large-photo compression test.

5. PWA cache bumped to v66 / v17.6.1-chat-storage-guard.

Release flow: feature/chat-storage-guard-v1761 -> GitHub QA + Cloudflare preview -> main -> Cloudflare production.
