You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
If retry_on is set to any (timeout + error), and timeout_minutes and retry_on_exit_code have valid values specified, then both timeouts and specific exit codes should support retrying.
Implementation details
In the code, it looks like this happens because retry_on_exit_code is evaluated without considering whether the command has finished running. It could be that fixing this issue is as simple as checking that the command has finished executing before evaluating exit codes.
Describe the bug
When both a
timeout
andretry_on_exit_code
are specified, timeouts are not retried.Expected behavior
If
retry_on
is set toany
(timeout + error), andtimeout_minutes
andretry_on_exit_code
have valid values specified, then both timeouts and specific exit codes should support retrying.Implementation details
In the code, it looks like this happens because
retry_on_exit_code
is evaluated without considering whether the command has finished running. It could be that fixing this issue is as simple as checking that the command has finished executing before evaluating exit codes.retry/src/index.ts
Line 146 in 86d18a3
The text was updated successfully, but these errors were encountered: