Fixes issue where Windows runners experience delays in job cancellation and pickup of new jobs after cancellation. The problem occurred when Windows runners with LXC platform configuration attempted to execute Linux shell scripts during cleanup, causing failures and blocking the runner. Changes: - Add runtime OS detection in stopHostEnvironment() - Skip LXC script execution on Windows platforms - Implement Windows-specific cleanup using os.RemoveAll() - Ensure graceful error handling to prevent runner blocking - Preserve all existing LXC functionality on Linux/Unix systems The fix prevents "fork/exec stop-lxc.sh: directory name is invalid" errors and allows Windows runners to pick up new jobs immediately after cancellation, matching Linux/FreeBSD runner behavior. 🤖 Generated with [Claude Code](https://claude.ai/code) Co-Authored-By: Claude <noreply@anthropic.com> |
||
|---|---|---|
| .. | ||
| artifactcache | ||
| cacheproxy | ||
| common | ||
| container | ||
| exprparser | ||
| filecollector | ||
| jobparser | ||
| lookpath | ||
| model | ||
| runner | ||
| schema | ||
| workflowpattern | ||