Commit Graph

3 Commits

Author SHA1 Message Date
ishenwei
74458b4fab feat: add CronJob and CronJobRun models with bulk upsert API and admin
- CronJob: maps jobs.json (schedule, payload, delivery, state fields)
- CronJobRun: stores runs/*.jsonl per-job execution history with usage/tokens
- cron_bulk_upsert service: atomic upsert with GET_OR_CREATE for idempotency
- POST /api/cron/bulk_upsert/ endpoint
- Django Admin: CronJobAdmin with CronJobRunInline, CronJobRunAdmin
- sync_sessions.py --cron mode: SSH read jobs.json + runs/*.jsonl, incremental sync
- 0003_cronjob_cronjobrun migration
2026-04-13 13:34:24 +08:00
0b94b6765d feat: bulk upsert API with idempotent writes
Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
2026-04-05 14:54:33 +08:00
f115a48c59 feat: Django project skeleton with pytest setup
Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
2026-04-05 13:46:53 +08:00