Skip to content
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

Open
seif-fmfx opened this issue Jun 19, 2024 · 9 comments
Open

timeout_after parameter not working as expected #108

seif-fmfx opened this issue Jun 19, 2024 · 9 comments

Comments

@seif-fmfx
Copy link

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):

  • OS: windows
  • Browser edge
  • Version irrelecant

Smartphone (please complete the following information):

  • Device: [e.g. iPhone6]
  • OS: [e.g. iOS8.1]
  • Browser [e.g. stock browser, safari]
  • Version [e.g. 22]

Additional context
Attemptede a fix here #107

@seif-fmfx
Copy link
Author

For anyone else that comes here, we changed the parameter we are setting to timeout instead of timeout_after which gives you a warning from gha but it works (i.e. the timeout is respected) .

@mfalconi-perle
Copy link

Is this what is causing new seen issues, wherein a failure is received before the task can actually complete on the octopus deploy service?

@seif-fmfx
Copy link
Author

@mfalconi-perle sounds like it. for us it manifested as:

waiting for task ServerTasks-98292. Status: Executing. Error: 🐙 Could not determine Octopus Deploy task state

but the deployment in octopus was still running

@mfalconi-perle
Copy link

@mfalconi-perle sounds like it. for us it manifested as:

waiting for task ServerTasks-98292. Status: Executing. Error: 🐙 Could not determine Octopus Deploy task state

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

@cmyllis
Copy link

cmyllis commented Jul 5, 2024

@hnrkndrssn Fix done here seems wrong: #22
Can you re-open it?

@seif-fmfx
Copy link
Author

@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 timeout when it should be reading timeout_after

@bnelsonjha
Copy link

@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.

@mfalconi-perle
Copy link

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?

@seif-fmfx
Copy link
Author

@mfalconi-perle you get that warning because the action says the the field is called timeout_after but you are sending timeout which doesnt match what the action is configured to read. Nothing has changed so you need to use timeout to control it and ignore that warning.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

4 participants