Commit graph

4 commits

Author SHA1 Message Date
c11221606a Add cron_retrigger for consumed one-shot jobs.
Resume only unpauses; listeners need a native way to re-fire the same job id with a new run without creating duplicate executors.

Co-authored-by: Cursor <cursoragent@cursor.com>
2026-09-10 17:40:39 +08:00
839660d12f Fix monitor test syntax after settleRun duration coverage.
Co-authored-by: Cursor <cursoragent@cursor.com>
2026-09-10 15:46:53 +08:00
8cc3bed5f1 Preserve run start timestamps when settling terminal status.
cron_runs entered/exited were identical because settleRun rewrote stateEnteredAt and actualAt to the finish instant.

Co-authored-by: Cursor <cursoragent@cursor.com>
2026-09-10 15:46:27 +08:00
b6934b20a3 Add cron monitor APIs: labels, watch, progress, and query tools.
Extend jobs with lifecycle projection and history policies so listeners can poll state at scale without breaking existing cron_* flows.

Co-authored-by: Cursor <cursoragent@cursor.com>
2026-09-10 15:23:42 +08:00