Skip to content

Pin runner build SDK to 8.0.421 to mitigate macOS arm64 Process.Start deadlock in 2.336.0#4572

Draft
TingluoHuang with Copilot wants to merge 2 commits into
mainfrom
copilot/fix-macos-runner-deadlock
Draft

Pin runner build SDK to 8.0.421 to mitigate macOS arm64 Process.Start deadlock in 2.336.0#4572
TingluoHuang with Copilot wants to merge 2 commits into
mainfrom
copilot/fix-macos-runner-deadlock

Conversation

Copilot AI commented Jul 23, 2026

Copy link
Copy Markdown
Contributor

After the 2.336.0 update, macOS arm64 self-hosted runners can hang in Runner.Worker during Process.Start, with a forked child spinning pre-exec and jobs stalling indefinitely. This change targets the release-line regression surface by reverting the .NET SDK pin to the pre-regression version used before 2.336.0.

  • Build/runtime pin rollback

    • Reverted SDK pin from 8.0.423 to 8.0.421 in all runner build entry points:
      • src/global.json
      • src/dev.sh
      • .devcontainer/devcontainer.json
  • Scope

    • No worker/listener process-invocation logic changes.
    • No behavior changes outside SDK/runtime selection for builds.
// src/global.json
{
  "sdk": {
    "version": "8.0.421"
  }
}

Copilot AI changed the title [WIP] Fix deadlock issue on macOS runner after update to v2.336.0 Pin runner build SDK to 8.0.421 to mitigate macOS arm64 Process.Start deadlock in 2.336.0 Jul 23, 2026
Copilot AI requested a review from TingluoHuang July 23, 2026 19:14
@TingluoHuang

Copy link
Copy Markdown
Member

@copilot is there any bug in the dotnet SDK you can find that might cause the issue?

Copilot AI commented Jul 23, 2026

Copy link
Copy Markdown
Contributor Author

@copilot is there any bug in the dotnet SDK you can find that might cause the issue?

I couldn’t find a .NET release note that explicitly says “8.0.422 introduces this exact hang,” but I did find strong upstream signals that this area is runtime-sensitive on macOS:

So: no single confirmed 8.0.422 bug ID yet, but there is credible evidence this is a .NET runtime process-spawn issue on macOS rather than runner-specific logic.

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

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

v2.336.0 on macOS (arm64): Runner.Worker deadlocks in Process.Start — forked child never execs, spins at 100% CPU; every job hangs seconds after start

2 participants