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
The await-task-action timeout value does not seem to do anything, and even the default value (600s) does not seem to work.
That action code uses the api-client's serverTaskWaiter to wait for tasks...
Looking at the serverTaskWaiter code it appears there is a bug where the timeout is cleared in a finally block immediately on the first wait loop iteration.
I have added a comment to an issue in await-task-action, see: OctopusDeploy/await-task-action#22 (comment)
The await-task-action timeout value does not seem to do anything, and even the default value (600s) does not seem to work.
That action code uses the api-client's serverTaskWaiter to wait for tasks...
Looking at the serverTaskWaiter code it appears there is a bug where the timeout is cleared in a finally block immediately on the first wait loop iteration.
api-client.ts/src/features/serverTasks/serverTaskWaiter.ts
Lines 83 to 85 in 1f265ed
Meaning the timeout period is effectively not used and the wait loop will go forever (or until the tasks complete).
The text was updated successfully, but these errors were encountered: