fabro/lib
Scott Werner c437dc012d Simplify pre-start worker failure handling
Move the "which failures can happen before Starting" classification onto
FailureReason as an exhaustive predicate and use it for every
Runnable -> Failed transition, replacing the hand-maintained allowlist.
Give the pending-cancel precedence rule a single owner shared by the
worker launch and worker exit paths.

Test cleanups: share the Notify wait loop, server record fixture, and
post-failure assertions; simplify the pre-start test runtime's hold
flag; and parameterize the slate run.failed payload helper.

Co-Authored-By: Claude Fable 5.1 <noreply@anthropic.com>
2026-09-03 11:45:47 -04:00
..
apps Simplify pre-start worker failure handling 2026-09-03 11:45:47 -04:00
components Simplify pre-start worker failure handling 2026-09-03 11:45:47 -04:00
foundation Simplify pre-start worker failure handling 2026-09-03 11:45:47 -04:00
packages/fabro-api-client Merge pull request #825 from swerner/codex/automation-workflow-sources 2026-09-01 12:22:20 -04:00