-
Notifications
You must be signed in to change notification settings - Fork 2
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
timeout_after parameter not working as expected #108
Comments
For anyone else that comes here, we changed the parameter we are setting to |
Is this what is causing new seen issues, wherein a failure is received before the task can actually complete on the octopus deploy service? |
@mfalconi-perle sounds like it. for us it manifested as:
but the deployment in octopus was still running |
Yeah this is exactly what I am getting on my actions as well. Thanks, glad to know this was reported. We have been confused seeing our changes and seeing the deployments running but always getting failures on the actions report |
@hnrkndrssn Fix done here seems wrong: #22 |
@hnrkndrssn @cmyllis that fix is correct, but highlighted another problem which this issue is about and that is that task is reading the input from a parameter called |
@seif-fmfx Thanks for doing on this! Timeout is working for me. I am using the latest version. Either the code should be fixed or the front page documentation should be fixed. |
Was there a new release in regards to this issue? Seeing a new Actions warning pop up as of today Unexpected input(s) 'timeout', valid inputs are ['server_task_id', 'polling_interval', 'timeout_after', 'hide_progress', 'server', 'api_key', 'space'] Whereas before timeout was working where timeout_after was not has this been fixed then? |
@mfalconi-perle you get that warning because the action says the the field is called timeout_after but you are sending |
This seems like a pretty simple fix, Octopus. See... await-task-action/src/input-parameters.ts Line 46 in e1920eb
Should be reading in const timeoutInput = getInput('timeout_after') || getInput('timeout') // The "timeout_after" naming is correct, fallback to "timeout" supports old/incorrect naming. |
Describe the bug
timeout_after parameter not working as expected
To Reproduce
Steps to reproduce the behavior:
set the timeout_after parameter
Expected behavior
value is respected
Desktop (please complete the following information):
Smartphone (please complete the following information):
Additional context
Attemptede a fix here #107
The text was updated successfully, but these errors were encountered: