mirror of
https://github.com/hansjone/dsh-ops-cron.git
synced 2026-10-09 03:03:18 +08:00
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>
5 lines
223 B
JavaScript
5 lines
223 B
JavaScript
/** Shared run status constants — keep free of fire/monitor imports. */
|
|
|
|
export const ACTIVE_RUN_STATUSES = new Set(['queued', 'running'])
|
|
|
|
export const TERMINAL_RUN_STATUSES = new Set(['succeeded', 'failed', 'skipped'])
|