Open aballiet opened 2 months ago
Raise a warning in the UI (and log a warning in the logs) when retry.interval is larger than maxDuration
@loicmathieu you mentioned "there is no validator for the retry object." — are there any other validation rules missing other than this one? if so, we should define what specifically needs to be validated to add all needed validators in one go
Better an error, reject flow on save IMO
yup, this is what was meant by raising a validation error in the UI
Describe the issue
Example of retry strategy leading to no retry attempt:
=> Retry is not applied, flow execution is considered as Failed after first attempt.
Changing params to a valid one works obviously:
An error on validation should be thrown to the user:
interval (specified: PT12H) cannot be greater than maxDuration (specified: PT7H) as NOT retry would be applied in that case
Environment