Repository navigation
Description
Summary
Since 2026-10-15, Windows test jobs in ci.yml have been losing their hosted runner ("The hosted runner lost communication with the server") during test steps. This is happening across many projects and is not a test-level hang. The jobs that looked slow (Hosting-1, Hosting-4, Hosting-6, Hosting.Java, Cli and others sitting in "Run tests" for 25–60+ minutes) are these runner losses. The onset matches the windows-2025-vs2026 image rollout, not an Aspire commit.
48h measurement (all ci.yml events, runs created 2026-10-29T11:16Z – 2026-10-31T08:57Z)
- 283 runs and 19,776 Windows .NET test jobs (including rerun attempts).
- 85 jobs failed with the annotation "The hosted runner lost communication with the server". The test step was still unfinished and the losses were declared 46–59 minutes into the job (median 47).
- 32 jobs were cancelled while the test step was unfinished (mostly superseded runs).
- 0 test steps hit the MTP
--hangdump-timeout 10m/--timeout 20m. Only 1 finished test step was abnormally long, and it was an ordinary failure. - Lost jobs have no logs (BlobNotFound) and no uploaded artifacts.
- Losses happen only in test steps ("Run tests (Windows)" and "Run extension E2E tests"). None happened during the 1.5–2 minute build. This includes Hosting.Java, whose whole test step normally takes about 25s.
| Project (windows-latest) | Jobs | Median job (min) | Runner lost | Cancelled with test step unfinished |
|---|---|---|---|---|
| Hosting-6 | 270 | 9.6 | 12 | 3 |
| Hosting-4 | 270 | 3.9 | 12 | 2 |
| Hosting.Dotnet | 275 | 3.6 | 10 | 3 |
| Hosting.Java | 195 | 0.4 | 10 | 3 |
| Hosting.JavaScript | 217 | 0.7 | 6 | 2 |
| Hosting-1 | 270 | 2.8 | 5 | 2 |
| Hosting.DotnetTool | 211 | 0.5 | 5 | 0 |
| Hosting.DevTunnels | 201 | 0.7 | 4 | 3 |
| Hosting.Keycloak | 196 | 0.3 | 4 | 2 |
| Cli | 211 | 5.9 | 4 | 1 |
| Hosting.Azure / Browsers / Testing | 297 / 196 / 204 | <1.5 | 3 / 3 / 3 | 3 / 3 / 0 |
| Hosting-5 / Templates-BuildAndRun / Hosting-2 | 271 / 173 / 270 | <3 | 2 / 2 / 0 | 2 / 1 / 2 |
Onset matches the runner image, not an Aspire change
Main push runs from Oct 8 to Oct 31 (217 runs, attempt 1). A run counts as a loss if any Windows job failed with no or unfinished steps; sampled detections were all confirmed "lost communication".
- Old image period, Oct 10 06:46Z – Oct 15 15:00Z: 0 of 38 runs lost a runner (about 5,300 Windows jobs). DCP 0.27.0 (Update Microsoft Developer Control Plane to 0.27.0 #20874, which contains the dcp#278 fix for Hosting-1 and Hosting-5 Windows test shards frequently lose runner communication #20567) was already in place.
- From Oct 15 15:00Z: 77 of 118 runs lost at least one runner (163 lost jobs).
By observed image version (runs where the image could be read from a job log):
windows-2025-vs2026 image |
Runs | Runs with a runner loss | Lost jobs |
|---|---|---|---|
| 20260925.250.1 | 11 | 0 | 0 |
| 20261007.264.1 (first seen 2026-10-15 15:12Z) | 44 | 20 | 29 |
| 20261018.275.1 | 9 | 6 | 12 |
| 20261021.278.1 (dominant since Oct 23) | 64 | 51 | 122 |
The image notes for 20261007.264 keep the same OS build (26100.33438) but move WSL from 2.7.14.0 to 3.0.1.0. actions/runner-images#14938 (opened 2026-10-15) reports Windows hosted-runner worker freezes on the same image family.
What was ruled out
- Real test hangs. No MTP hang or timeout fired, and lost jobs span about 15 unrelated projects.
- The WSLc runtime probe from Recognize WSLc in Aspire doctor and clarify runtime selection #21004 (merged 2026-10-15 19:19Z, near the onset). Hosting's
ContainerRuntimeResolverrestricts auto-detection to docker and podman, so Hosting test jobs do not runwslc. Losses also began on the new image a few hours before Recognize WSLc in Aspire doctor and clarify runtime selection #21004 merged. - DCP 0.27.0. It was adopted on Oct 10 and followed by 38 clean runs on the old image.
Related
- Hosting-1 and Hosting-5 Windows test shards frequently lose runner communication #20567 (closed): the earlier DCP stale-PPID mechanism.
- [Failing test]: WithUrlsTests causes Windows runner loss #20579: WithUrlsTests reproducer for that mechanism.
- Windows extension E2E jobs lose runner communication and extend CI by tens of minutes #21489: extension-E2E-scoped occurrences.
- [CI Failure] Windows Package tests job fails: hosted runner lost communication with the server #20165: Package tests occurrence.
- Restore green CI on main #21246: the CI dashboard, which currently links only to closed Hosting-1 and Hosting-5 Windows test shards frequently lose runner communication #20567.
Suggested next steps
- Report to actions/runner-images with the run and job IDs above (or add them to Consider removing the dotnet tool for aspire #14938).
- Run a controlled Windows matrix (same shard on pinned vs current images, or with WSL services disabled) to confirm the image/WSL attribution. Such a matrix is how the Hosting-1 and Hosting-5 Windows test shards frequently lose runner communication #20567 mechanism was confirmed earlier.
- Until then, treat these as infrastructure losses and don't attribute them to the test that happened to be running.
🤖 Posted by AspireAgent (AI Agent)
Activity
Accept natural ps leader exit racing a failed Windows taskkill (Fixes #…
Pin Windows CI container runtime to Docker to stop DCP wslc probes (#…
Add Windows CI resource telemetry to test and extension E2E jobs (#21644
Give the Deno AppHost inspector attach the AppHost startup budget (#2…
Let the MSI Portal diagnostic choose its hosted Windows image
Write the WinUI E2E ready marker atomically so the test never reads a…
Write the WinUI E2E ready marker atomically so the test never reads a…
Write the WinUI E2E ready marker atomically so the test never reads a…