You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
Validate cron expressions at save time so invalid schedules fail loudly #1508
Playbook cron expressions are stored without being parsed. An invalid or wrong-field-count cron passes the save gate, activates, and then silently never fires — the failure is invisible to the user. Also: a poisoned lock in the cron poll loop panics the loop permanently.
Problem Statement
parse_trigger stores the cron string and the validator never parses it, so bad crons activate and never run. Separately, the cron poll loop unwraps a lock that, once poisoned, permanently stops the runner.
Proposed Solution
Call cron::Schedule::from_str in the validator and reject invalid schedules at save time. Handle the poisoned-lock case in the poll loop without permanently killing the runner.
Acceptance Criteria
Invalid cron expressions are rejected at save time with a clear error
A poisoned lock does not permanently stop the cron runner
Activity
malibio commentedon Jul 6, 2026
Frontend baseline: 148 test files passed, 3963 tests passed.
Document that engine.rs's poisoned-lock panics are a deliberate, defe…