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
File tree
4 files changed
+887
-16
lines changed- app/api/cron
- check-research
- ingest
- sanity/schemas/documents
- supabase/migrations
4 files changed
+887
-16
lines changed
0 commit comments