AshWorkflow.Verifiers.ValidateEvery (AshWorkflow v0.12.0)

Copy Markdown View Source

Verifies that an every's until and backoff are coherent, and that the columns it owns — its last_fired_field and, with max_fires or backoff, its fire count — are columns every can safely write.

Separate from AshWorkflow.Verifiers.ValidateTimeoutFields, which is about a timeout's field — a concept every does not have. every measures its interval against its own last-fired column, and its until bound always measures against state_entered_at.