From 36f1a373e3e1bb60938a75ea5df1ac396170fbe8 Mon Sep 17 00:00:00 2001 From: Jerens Lensun <54782057+jerensl@users.noreply.github.com> Date: Thu, 31 Jul 2025 15:24:23 +0800 Subject: [PATCH] ci: Automatically cancel bootstrap step after 1 hour in wpt linux/mach (#38358) Introduces a timeout for each WPT run chunk job, set to 1 hour, after which it will be automatically canceled. Testing: Fixes: #38348 --------- Signed-off-by: Jerens Lensun --- .github/workflows/linux-wpt.yml | 1 + .github/workflows/mac-wpt.yml | 1 + 2 files changed, 2 insertions(+) diff --git a/.github/workflows/linux-wpt.yml b/.github/workflows/linux-wpt.yml index e3425a39575..0be8f5e68bb 100644 --- a/.github/workflows/linux-wpt.yml +++ b/.github/workflows/linux-wpt.yml @@ -65,6 +65,7 @@ jobs: - name: Setup Python uses: ./.github/actions/setup-python - name: Bootstrap dependencies + timeout-minutes: 60 run: | sudo apt update sudo apt install -qy --no-install-recommends mesa-vulkan-drivers fonts-noto-cjk diff --git a/.github/workflows/mac-wpt.yml b/.github/workflows/mac-wpt.yml index 637cc74f56b..3b8e89b9386 100644 --- a/.github/workflows/mac-wpt.yml +++ b/.github/workflows/mac-wpt.yml @@ -40,6 +40,7 @@ jobs: - name: Setup Python uses: ./.github/actions/setup-python - name: Prep test environment + timeout-minutes: 60 run: | gtar -xzf target.tar.gz ./mach bootstrap --skip-lints