question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

Add configurable cancel timeout parameter

See original GitHub issue

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.

Issue Analytics

  • State:closed
  • Created 3 years ago
  • Reactions:4
  • Comments:5 (2 by maintainers)

github_iconTop GitHub Comments

1reaction
t3micommented, Dec 29, 2022

Created a discussion #42850

0reactions
nikola-jokiccommented, Dec 26, 2022

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.

Read more comments on GitHub >

github_iconTop Results From Across the Web

add configurable cancel timeout parameter · community ...
For our case we need to do some infrastructure cleanup (which was provisioned for the test runs in the same workflow) but with...
Read more >
Adding a default timeout to CancellationToken parameters in ...
Set a default timeout for CancellationToken that ASP.NET Core binds to action parameters.
Read more >
c# - Change default timeout
The default timeout of an HttpClient is 100 seconds. HttpClient Timeout. You can adjust to your HttpClient and set a custom timeout duration ......
Read more >
Timeouts
Playwright Test enforces a timeout for each test, 30 seconds by default. Time spent by the test function, fixtures, beforeEach and afterEach hooks...
Read more >
Start and stop timeout configuration parameter
This parameter specifies the time, in minutes, within which all database partition servers must respond to a START DBM or a STOP DBM...
Read more >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found