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
If a process is expected to be killed after a timeout with utils.ExecContext or utils.ExecContextVerbose when running inside a GH runner it's only killed the parent process and not the child ones.
The text was updated successfully, but these errors were encountered:
locnnil
changed the title
Cancelation of process with Context and Timeout on GH Runner only kills the parent
Cancelation of process with Context and Timeout/Deadline on GH Runner only kills the parent
Feb 20, 2024
The issue isn't related to just cancellation via context. Reaching the timeout or deadline triggers the cancellation, which in turn kills the process. The same behavior should be expected when using os.Process.Kill.
If a process is expected to be killed after a timeout with
utils.ExecContext
orutils.ExecContextVerbose
when running inside a GH runner it's only killed the parent process and not the child ones.The text was updated successfully, but these errors were encountered: