AshDispatch.Validations.ValidateCanRetry (AshDispatch v0.6.1)
View SourceValidates that a delivery receipt can be retried.
Checks:
- Receipt is in :failed status (state machine handles this)
- retry_count is less than the configured max (
config :ash_dispatch, max_retries: n— default 5, same knob RetryFailedDeliveries reads; previously hardcoded to 5 here, which silently overrode the config)