From 9c2ec28d597e8e5df9e7a0ea97e9859fc5c73272 Mon Sep 17 00:00:00 2001 From: ChethanUK Date: Tue, 21 Jul 2026 16:17:40 +0200 Subject: [PATCH] ci: add timeout-minutes to the release and pages jobs 3f41551 introduced a 15-minute timeout on the CI test job. This extends that same policy to the five jobs that still lack one, so the convention is applied uniformly across all four workflows. Values are set from measured durations over three runs each, not guessed: release build 33-38s -> 15, release 7m03-7m05 -> 20, npm-publish 3m15-3m17 -> 15, pages build 57-58s -> 10, pages deploy 11s -> 15. pages deploy is 15 rather than 10 deliberately: actions/deploy-pages@v4 declares its own internal polling timeout of 600000ms (10 minutes), so a 10-minute job timeout would fire simultaneously and replace the action's diagnostic error with an ambiguous job cancellation. Matters more than usual here because the runners are self-hosted: a hung job squats a real machine for the ~6h default. --- .github/workflows/deploy-pages.yml | 2 ++ .github/workflows/release.yml | 3 +++ 2 files changed, 5 insertions(+) diff --git a/.github/workflows/deploy-pages.yml b/.github/workflows/deploy-pages.yml index 4eb0d6bc..e9b2f5a0 100644 --- a/.github/workflows/deploy-pages.yml +++ b/.github/workflows/deploy-pages.yml @@ -19,6 +19,7 @@ concurrency: jobs: build: runs-on: self-hosted + timeout-minutes: 10 container: image: node:24 steps: @@ -50,6 +51,7 @@ jobs: name: github-pages url: ${{ steps.deployment.outputs.page_url }} runs-on: self-hosted + timeout-minutes: 15 container: image: node:24 needs: build diff --git a/.github/workflows/release.yml b/.github/workflows/release.yml index de4de5e5..a96375ff 100644 --- a/.github/workflows/release.yml +++ b/.github/workflows/release.yml @@ -10,6 +10,7 @@ permissions: jobs: build: runs-on: self-hosted + timeout-minutes: 15 container: image: golang:1.26.5 strategy: @@ -58,6 +59,7 @@ jobs: release: needs: build runs-on: self-hosted + timeout-minutes: 20 permissions: contents: write id-token: write @@ -159,6 +161,7 @@ jobs: npm-publish: needs: release runs-on: self-hosted + timeout-minutes: 15 container: image: node:24 permissions: