microsoft / microsoft/aspire

[CI Failure] Windows Package tests job fails: hosted runner lost communication with the server

Open
#20,165 0 comments 0 reactions 0 assignees View on GitHub
ci-failure-cause
Dominant language
C#
Stars
6.3k
Forks
991
Avg merge
2d 15h
Merged PRs (30d)
196

Description

## Build Information

Build: https://github.com/microsoft/aspire/actions/runs/35037910646
Build error leg: Tests / Package tests - Windows (class, Aspire.Templates.Tests, Templates-BuildAndRunTemplateTests, Templ... / Templates-BuildAndRunTemplateTests (windows-latest)
Pull request: #19848

## Classification Analysis

GitHub Actions annotation reports 'The hosted runner lost communication with the server', a known transient infrastructure condition. Failed steps are post-test/upload steps (Copy CLI E2E recordings for upload, Upload CLI E2E recordings, Generate test results summary, Post Checkout code), not build or test-assertion steps. The PR only removes the retired GitHub Models integration and does not touch template/package test infrastructure, so this is unrelated to PR changes.

## Failure Information

Job output snippet

Job: Tests / Package tests - Windows (class, Aspire.Templates.Tests, Templates-BuildAndRunTemplateTests, Templ... / Templates-BuildAndRunTemplateTests (windows-latest)

Failed Steps: Copy CLI E2E recordings for upload, Upload CLI E2E recordings, Generate test results summary, Post Checkout code
Annotation: The hosted runner lost communication with the server. Anything in your workflow that terminates the runner process, starves it for CPU/Memory, or blocks its network access can cause this error.
Job logs: (Failed to fetch logs for job 104617090560)

## Description

Windows Package tests job fails: hosted runner lost communication with the server

**Type**: infra-failure

## Occurrences

| Date | Build | Job | PR |
|------|-------|-----|----|
| 2026-09-16 | [35037910646](https://github.com/microsoft/aspire/actions/runs/35037910646) | Tests / Package tests - Windows (class, Aspire.Templates.Tests, Templates-BuildAndRunTemplateTests, Templ... / Templates-BuildAndRunTemplateTests (windows-latest) | #19848 |

Contributor guide

Open the contributing guide

Research direction

Start with the linked Actions run and the Windows package-test job, focusing on the listed post-test and upload steps; the job logs are currently unavailable. Compare the failure with PR #19848 and determine whether the runner communication loss recurs or requires a workflow change. Done means the cause and resolution or rerun outcome are documented.

Written by the indexing model from the issue text.

Assessment

Tech stack
csharp, github-actions
Domain
ci-cd, infrastructure, testing
Issue type
Bug
Difficulty
4/5
Estimated time
3-5 days
Activity status
Active
Clarity
Needs clarification
Newbie friendliness
25/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.