Commit 50d3731
authored
feat: multi-step cron — check-research + ingest refactor + pg_cron (#604)
New check-research cron route polls NotebookLM every 5min for docs in 'researching' status. Ingest refactored to fire-and-forget research (returns in ~15s). pg_cron SQL migration for all 4 schedules. Fixes: after() pattern, CRON_SECRET fail-closed auth, stuck detection independent of NotebookLM, researchData schema field.1 parent f372e56 commit 50d3731
4 files changed
Lines changed: 887 additions & 16 deletions
File tree
- app/api/cron
- check-research
- ingest
- sanity/schemas/documents
- supabase/migrations
0 commit comments