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
When the optional timeout parameter is set, and the commands execution time exceeds this timeout, the command is forcefully killed.
Use Case
Sometimes commands can hang. Someone unaccustomed to running the workflow might not know what a reasonable amount of time is to wait. Adding a timeout, ensures that the command will abort after some known amount of time.
Describe Ideal Solution
Support human readable timeouts.
ms, s, m, h, etc We do this else where in atmos. Let's reuse the function.
Further more, if no modifier is specified, we should assume the timeout is in seconds.
We could use another command like the timeout command on Linux and Mac, but the execution interface is not uniform. We want workflows to work easily across multiple platforms.
Additional Context
No response
The text was updated successfully, but these errors were encountered:
Describe the Feature
Steps in workflow can hang.
When the timeout is set, it will abort the step. If there is a retry configured and max retires is not reached. It will retry
We should support human friendly time expressions.
Update the docs for workflows and custom commands with the new field
https://atmos.tools/core-concepts/workflows/
Implement a tests to verify the behavior.
Expected Behavior
When the optional timeout parameter is set, and the commands execution time exceeds this timeout, the command is forcefully killed.
Use Case
Sometimes commands can hang. Someone unaccustomed to running the workflow might not know what a reasonable amount of time is to wait. Adding a timeout, ensures that the command will abort after some known amount of time.
Describe Ideal Solution
Support human readable timeouts.
ms
,s
,m
,h
, etc We do this else where in atmos. Let's reuse the function.Further more, if no modifier is specified, we should assume the timeout is in seconds.
Alternatives Considered
We could use another command like the
timeout
command on Linux and Mac, but the execution interface is not uniform. We want workflows to work easily across multiple platforms.Additional Context
No response
The text was updated successfully, but these errors were encountered: