Skip to content

Remove the WSL 2 VM limit, and limit the build and test jobs to 90 minutes - #544

Merged
lo-simon merged 2 commits into
sony:masterfrom
garethsb:bugfix/ci-windows-wsl2-timeout
Nov 18, 2026
Merged

lo-simon merged 2 commits into
sony:masterfrom
garethsb:bugfix/ci-windows-wsl2-timeout

Conversation

@garethsb

Copy link
Copy Markdown
Contributor

Follow-up to #542.

A few windows-2025 jobs freeze while the WSL 2 VM is running, until GitHub reports that the runner lost communication with the server. This is actions/runner-images#14938. It happened both before and after #542, including in a run with #542's limit on the WSL 2 VM, so this PR:

  • removes the limit of 2 GB of memory and 2 processors on the WSL 2 VM, which did not help
  • limits the build and test jobs to 90 minutes, because step timeouts do not fire when the runner freezes, so a frozen job otherwise runs until the runner is lost or until the default limit of 6 hours. The slowest job, on windows-2022 with an empty Conan cache, takes about an hour.

Co-authored-by: Gareth's 🤖 buddy

Limiting the WSL 2 VM to 2 GB of memory and 2 processors did not stop
windows-2025 runners from freezing while the VM boots, and the jobs do
not need the limit; see actions/runner-images#14938.

Signed-off-by: Gareth Sylvester-Bradley <garethsb@nvidia.com>
A Windows runner can freeze while the WSL 2 VM runs, and step timeouts
do not fire then; see actions/runner-images#14938. The job then runs
until GitHub reports that the runner lost communication, or until the
default limit of 6 hours. The slowest job, on windows-2022 with an empty
Conan cache, takes about an hour, so limit every job to 90 minutes.

Signed-off-by: Gareth Sylvester-Bradley <garethsb@nvidia.com>

@lo-simon lo-simon left a comment

Copy link
Copy Markdown
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM

@lo-simon
lo-simon merged commit 3c37669 into sony:master Nov 18, 2026
12 checks passed
@garethsb
garethsb deleted the bugfix/ci-windows-wsl2-timeout branch November 18, 2026 18:27
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.

2 participants