From e7363fa669d70378bb3c2e41a882afecfcd060e0 Mon Sep 17 00:00:00 2001 From: Jordan Harband Date: Sun, 25 Oct 2026 11:43:54 -0700 Subject: [PATCH] [actions] `tests-alpine`: time out jobs well before GitHub's 6-hour limit A hung `fast` job, like the busybox `sh` lanes in `nvm debug`, otherwise ran for 6 hours before being cancelled. `fast` jobs take a few minutes and `musl-binary` jobs under one, so they now time out after 15 and 10. --- .github/workflows/tests-alpine.yml | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/.github/workflows/tests-alpine.yml b/.github/workflows/tests-alpine.yml index 941f497d..dbc33ab0 100644 --- a/.github/workflows/tests-alpine.yml +++ b/.github/workflows/tests-alpine.yml @@ -13,6 +13,8 @@ jobs: # Native runners per arch (no QEMU): arm64 uses the ubuntu-24.04-arm image. name: 'fast ${{ matrix.arch }} (alpine ${{ matrix.alpine }}, ${{ matrix.shell }})' runs-on: ${{ matrix.arch == 'arm64' && 'ubuntu-24.04-arm' || 'ubuntu-latest' }} + # a passing run takes a few minutes; a hang otherwise runs to GitHub's 6-hour limit + timeout-minutes: 15 strategy: fail-fast: false @@ -124,6 +126,8 @@ jobs: # v20.20.1/v22.21.1/v24.9.0 (built on modern Alpine), so arm64 pins modern Alpine. name: 'musl-binary ${{ matrix.arch }} (alpine ${{ matrix.alpine }}, node ${{ matrix.node }})' runs-on: ${{ matrix.arch == 'arm64' && 'ubuntu-24.04-arm' || 'ubuntu-latest' }} + # a passing run takes under a minute + timeout-minutes: 10 strategy: fail-fast: false