🏷️ Discussion TypeQuestion 💬 Feature/Topic AreaActions Runner Discussion DetailsOn a standard GitHub-hosted windows-2025 runner, does a workflow have a supported way to restrict child-process creation before the Node process for actions/upload-artifact starts, preserve its normal artifact access, and let an independent supervisor enforce a wall-clock deadline and observe that process exit? If so, which documented interface provides those guarantees, and what evidence is available for an upload interrupted before finalization? |
Replies: 1 comment 2 replies
|
Not with documented guarantees, at least not the child process part. With What you do get: For the deadline, For observing the exit, give the step an For evidence of an interrupted upload, the If you really need the job object, the only way I can think of is skipping the action: call If what you're actually after is catching a hung upload, step-level |
Not with documented guarantees, at least not the child process part.
With
uses: actions/upload-artifact@v4the runner starts node.exe for the action itself. There's no hook that runs before that, so you can't put the process in a Windows job object, which is what you'd need to block child process creation at the OS level. Nothing in the workflow syntax exposes anything like that.What you do get:
For the deadline,
timeout-minutesalso works on individual steps, not just jobs. When it's hit the runner kills the step and it fails with a timeout error. It's enforced by the runner rather than something independent, but it's the supported way to cap a step.For observing the exit, give the ste…