Spaces:
Sleeping
Sleeping
Commit History
-
chore: small review leftovers
- Recompute resets queued/failed reels to Unclustered instead of clustering their empty text as "Uncategorized content". - Log full LLM responses at debug, not info. - check_queue.py only inspects; it no longer deletes a hard-coded test row. - Dockerfile: drop unused curl. - Fix stale model names in .env.example, a docstring and two UI labels; give the page a real title. Claude-Session: https://claude.ai/code/session_0166W7S7XvHg5P2uyJtP4GiC9a7ec08 -
refactor(backend): route batch and cluster queries through db.py
- main.py no longer touches the Supabase client: batch status/enqueue use db.statuses_for_urls and db.insert_pending_reels. - Recompute writes one update per cluster (chunked) instead of one per reel. - reels_for_clustering pages past the 1000-row request cap. - Fold mark_failed_with_status into mark_failed and keep one FAILURE_STATUSES set in db.py. - Batch endpoints are sync so their blocking DB calls stay off the event loop. Claude-Session: https://claude.ai/code/session_0166W7S7XvHg5P2uyJtP4GiCef8a11d
-
fix(worker): add recovery and bounded retries
274b7fb
-
chore: update MEMORY.md + add check_queue.py diagnostic script
- MEMORY.md: rewrote project snapshot to reflect fully live hybrid pipeline (Supabase, HF Space, Vercel, local worker); added 2026-06-07 session entry documenting the 3 iPhone Shortcut root causes fixed today: 1. id column needed gen_random_uuid() default for anon REST inserts 2. Shortcut URL/body were swapped (posting TO IG URL, not Supabase endpoint) 3. VITE_API_URL was empty in Vercel production - backend/check_queue.py: handy diagnostic to inspect and clean up pending/processing/failed rows in the Supabase queue - docs/superpowers/plans/2026-06-06-silent-windows-worker.md: commit previously untracked worker plan doc7ffeb0f