From e72568a396dba8f2687c8c2320e27a49f11f753d Mon Sep 17 00:00:00 2001 From: Julius Marminge Date: Tue, 7 Apr 2026 14:05:29 -0700 Subject: [PATCH 1/2] Add workflow timeouts to CI and release jobs - Limit CI quality and release smoke jobs to 10 minutes - Limit release preflight, build, publish, and finalize jobs to 30 minutes --- .github/workflows/ci.yml | 2 ++ .github/workflows/release.yml | 5 +++++ 2 files changed, 7 insertions(+) diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index 67b5e32860..f521ced14c 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -10,6 +10,7 @@ jobs: quality: name: Format, Lint, Typecheck, Test, Browser Test, Build runs-on: blacksmith-4vcpu-ubuntu-2404 + timeout-minutes: 10 steps: - name: Checkout uses: actions/checkout@v6 @@ -76,6 +77,7 @@ jobs: release_smoke: name: Release Smoke runs-on: ubuntu-24.04 + timeout-minutes: 10 steps: - name: Checkout uses: actions/checkout@v6 diff --git a/.github/workflows/release.yml b/.github/workflows/release.yml index 504952e3aa..07249daef3 100644 --- a/.github/workflows/release.yml +++ b/.github/workflows/release.yml @@ -19,6 +19,7 @@ jobs: preflight: name: Preflight runs-on: ubuntu-24.04 + timeout-minutes: 30 outputs: version: ${{ steps.release_meta.outputs.version }} tag: ${{ steps.release_meta.outputs.tag }} @@ -81,6 +82,7 @@ jobs: name: Build ${{ matrix.label }} needs: preflight runs-on: ${{ matrix.runner }} + timeout-minutes: 30 strategy: fail-fast: false matrix: @@ -227,6 +229,7 @@ jobs: name: Publish CLI to npm needs: [preflight, build] runs-on: ubuntu-24.04 + timeout-minutes: 30 steps: - name: Checkout uses: actions/checkout@v6 @@ -260,6 +263,7 @@ jobs: name: Publish GitHub Release needs: [preflight, build, publish_cli] runs-on: ubuntu-24.04 + timeout-minutes: 30 steps: - name: Checkout uses: actions/checkout@v6 @@ -307,6 +311,7 @@ jobs: name: Finalize release needs: [preflight, release] runs-on: ubuntu-24.04 + timeout-minutes: 30 steps: - id: app_token name: Mint release app token From e7a64cee9ec797f26cd8f6ba8b491589ce4ec79b Mon Sep 17 00:00:00 2001 From: Julius Marminge Date: Tue, 7 Apr 2026 14:07:51 -0700 Subject: [PATCH 2/2] Tighten release workflow job timeouts - Reduce release workflow job timeouts from 30 minutes to 10 minutes - Apply the limit to preflight, npm publish, GitHub release, and finalize jobs --- .github/workflows/release.yml | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/.github/workflows/release.yml b/.github/workflows/release.yml index 07249daef3..ac01ee8793 100644 --- a/.github/workflows/release.yml +++ b/.github/workflows/release.yml @@ -19,7 +19,7 @@ jobs: preflight: name: Preflight runs-on: ubuntu-24.04 - timeout-minutes: 30 + timeout-minutes: 10 outputs: version: ${{ steps.release_meta.outputs.version }} tag: ${{ steps.release_meta.outputs.tag }} @@ -229,7 +229,7 @@ jobs: name: Publish CLI to npm needs: [preflight, build] runs-on: ubuntu-24.04 - timeout-minutes: 30 + timeout-minutes: 10 steps: - name: Checkout uses: actions/checkout@v6 @@ -263,7 +263,7 @@ jobs: name: Publish GitHub Release needs: [preflight, build, publish_cli] runs-on: ubuntu-24.04 - timeout-minutes: 30 + timeout-minutes: 10 steps: - name: Checkout uses: actions/checkout@v6 @@ -311,7 +311,7 @@ jobs: name: Finalize release needs: [preflight, release] runs-on: ubuntu-24.04 - timeout-minutes: 30 + timeout-minutes: 10 steps: - id: app_token name: Mint release app token