From 1a04d76a54a4fa4c2691e017b999602dbb3d8d59 Mon Sep 17 00:00:00 2001 From: Samuel K Date: Thu, 22 Oct 2026 16:01:05 -0600 Subject: [PATCH] ci: bound WSL2 setup with timeout and one retry --- .github/workflows/pr-ci.yml | 11 +++++++++++ 1 file changed, 11 insertions(+) diff --git a/.github/workflows/pr-ci.yml b/.github/workflows/pr-ci.yml index 9d0355cbab..8e840b3530 100644 --- a/.github/workflows/pr-ci.yml +++ b/.github/workflows/pr-ci.yml @@ -738,7 +738,18 @@ jobs: --bootstrap-timeout 270s - name: setup WSL2 Ubuntu + id: setup_wsl if: matrix.setup_docker_wsl + continue-on-error: true + timeout-minutes: 5 + uses: Vampire/setup-wsl@d1da7f2c0322a5ee4f24975344f67fc0f5baf364 # v7.0.0 + with: + distribution: Ubuntu-24.04 + use-cache: true + + - name: setup WSL2 Ubuntu (retry) + if: matrix.setup_docker_wsl && steps.setup_wsl.outcome != 'success' + timeout-minutes: 5 uses: Vampire/setup-wsl@d1da7f2c0322a5ee4f24975344f67fc0f5baf364 # v7.0.0 with: distribution: Ubuntu-24.04