mirror of
https://github.com/hansjone/dsh-ops-cron.git
synced 2026-10-13 08:40:45 +08:00
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>
This commit is contained in:
parent
43facd608a
commit
b6934b20a3
10 changed files with 1501 additions and 53 deletions
5
lib/fire-status.js
Normal file
5
lib/fire-status.js
Normal file
|
|
@ -0,0 +1,5 @@
|
|||
/** 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'])
|
||||
Loading…
Add table
Add a link
Reference in a new issue