This commit is contained in:
ldy
2026-06-17 08:38:15 -04:00
commit f13b8fc1ca
28 changed files with 894 additions and 0 deletions

10
jobsource/flow.py Normal file
View File

@@ -0,0 +1,10 @@
"""Prefect flow definition and interval schedule.
Scaffold stub -- not implemented yet.
"""
# TODO (scheduling): implement per CLAUDE.md "Orchestration/scheduling: Prefect".
# Wrap run_batch() in a @flow with:
# - Retries on the flow level.
# - An interval schedule (configurable; default daily).
# Run with: python -m jobsource.flow
# Cron fallback (no daemon): */0 6 * * * cd <repo> && ./.venv/bin/python -m jobsource.main --batch-size 50