-
Notifications
You must be signed in to change notification settings - Fork 3.7k
Description
Description
Description
We have a C++ project which the GitHub Action runner compiles (within a docker container, which has been unchanged for months). Normally, this builds fine (and continues to the next step in our workflow). After the latest ubuntu-24.04 image update, the CI build step running the compilation is hanging.
The failed build eventually times out (after no terminal updates about 1 minute into compilation), reporting
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.
We retried the builds with similar effect.
We have verified that the code is unchanged from the working build on the previous runner image.
In previously filed issue #13182, the same symptoms occurred on the same repositories as in the current issue. In this case, several other people had issues with the image and the GitHub actions team resolved the issues by rolling back the changes from that image; I'm not sure if there's anything helpful in there.
Platforms affected
- Azure DevOps
- GitHub Actions - Standard Runners
- GitHub Actions - Larger Runners
Runner images affected
- Ubuntu 22.04
- Ubuntu 24.04
- Ubuntu Slim
- macOS 14
- macOS 14 Arm64
- macOS 15
- macOS 15 Arm64
- macOS 26
- macOS 26 Arm64
- Windows Server 2022
- Windows Server 2025
- Windows Server 2025 with Visual Studio 2026
Image version and build link
20260302.42.1
https://github.com/actions/runner-images/releases/tag/ubuntu24%2F20260302.42
Is it regression?
Yes, this worked a month ago (February 4) on image 20260126.10.1 https://github.com/actions/runner-images/releases/tag/ubuntu24%2F20260126.10
Expected behavior
We expect the build to finish and continue to the next step in our workflow.
Actual behavior
The CI build step running the compilation is hanging when using the most recent ubuntu-latest image.
The failed build eventually times out, reporting
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.
Repro steps
Unfortunately, this is not on a public code repro, but we can reproduce by running the workflow which compiles the code, and I'm happy to follow up and provide more diagnostics or run tests here.