dsh-ops-cron/lib/fire-status.js
oliver 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

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'])