Skip to content

Add configurable cancel timeout parameter #464

Closed

Description

@t3mi

Describe the enhancement
For our case we need to do some infrastructure cleanup (which was provisioned for the test runs in the same workflow) but with current static 5 min cancelation timeout we unable to do it in time if deployment fails. It would be great if there would be a configurable parameter added, at least for self-hosted runners, which will cover such scenario.

Code Snippet

...
  runs-on: self-hosted
    timeout-minutes: 60
    cancel-timeout-minutes: 15
    defaults:
...

Current behaviour
Runner agent name did not respond to a cancelation request with 00:05:00.

Activity

  1. added
    enhancement
    on May 3, 2020
  2. TingluoHuang commented on May 19, 2020

    @TingluoHuang
    Member

    @chrispat from the product team for feedback.

  3. added
    Service Feature
    and removed
    enhancement
    on Jun 8, 2020
  4. t3mi commented on Jun 11, 2020

    @t3mi
    Author

    Is there any progress for this to be added to the roadmap?

  5. jasongornall commented on Jan 27, 2021

    @jasongornall

    bumping this

  6. nikola-jokic commented on Dec 26, 2022

    @nikola-jokic
    Contributor

    Hey @t3mi,

    Could you please post this enhancement on the GitHub Community Support Forum? This enhancement is not scoped to the runner itself, it affects the platform more generally.

    Using this forum can help us prioritize features and ensure that the correct team sees them.

    I will close this issue now since we are trying to scope issues related to the runner itself. For more information on this policy please read our contribution guidelines.

  7. t3mi commented on Dec 29, 2022

    @t3mi
    Author

    Created a discussion #42850

  8. thiagomarafeli commented on Jan 19, 2024

    @thiagomarafeli

    Guys, it seems to me that this feature was implemented, right? But, although I found it on VSCode Github Actions autocomplete, in Github online editor it says "Unknown key" and I can't find any documentation of it in the syntax docs.

    So, overall, is this implemented? If it is, there seems to be no documentation and it should have at least some description of what it actually does.

  9. bryan-bar commented on Jul 1, 2024

    @bryan-bar

    Guys, it seems to me that this feature was implemented, right? But, although I found it on VSCode Github Actions autocomplete, in Github online editor it says "Unknown key" and I can't find any documentation of it in the syntax docs.

    So, overall, is this implemented? If it is, there seems to be no documentation and it should have at least some description of what it actually does.

    I do not see updated docs on the timeout but I see that actions/languageservices uses cancel-timeout-minutes: https://github.com/actions/languageservices/blob/main/workflow-parser/testdata/reader/job-cancel-timeout-minutes.yml#L6-L21

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    Service Feature

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions