The four known-bug tests from #59 now pass as normal tests.
- #8 abort: each workflow execution gets an AbortController. The abort
route fires it; the engine checks it before every step and stops; wait
steps, retry delays and waits for a worker's result end as soon as it
fires. New test: aborting during a 20 s command stops the workflow
within seconds and runs no further step.
- #20 goto to a missing step: the execution now fails (it reported
completed). Workflows are also checked on save: a goto, route or prompt
route to a step id that doesn't exist is a 400 ('end' is always valid).
A workflow saved before the check still fails at runtime (tested by
writing one directly).
- #9 schedules whose worker is offline: instead of skipping silently, the
scheduler records a failed run ('Worker offline: the scheduled command
was not sent'), visible in Executions.
- An invalid cron expression (or any bad schedule) is a 400 with the
parser's message instead of a 500.
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>