From 2ec1162702248b6e18960271e5dbc6982ae400c8 Mon Sep 17 00:00:00 2001 From: Ivan Shumkov Date: Thu, 24 Sep 2026 17:14:11 +0700 Subject: [PATCH] ci(release): raise NPM and Swift SDK release job timeouts The v4.2.0-beta.4 release run lost both jobs to their timeouts before either one reached the publish step. - Release NPM packages: 60 -> 120 min. A release rebuilds every WASM package with no cached js-build artifact. Across the 4.2 releases this job took 44-58 min and grew over time; beta.4 went over 60 min while still in `yarn build`. - Release Swift SDK FFI: 45 -> 90 min, the same limit as swift-sdk-build.yml. build_ios.sh --target all does two cold release-profile builds; the device build alone took 24 min on beta.4. This job has timed out on every 4.2 release except dev.9, which passed in 40 min. Co-Authored-By: Claude Opus 5.5 (1M context) --- .github/workflows/release-swift-sdk.yml | 3 ++- .github/workflows/release.yml | 4 +++- 2 files changed, 5 insertions(+), 2 deletions(-) diff --git a/.github/workflows/release-swift-sdk.yml b/.github/workflows/release-swift-sdk.yml index fa07385bbdc..4d6669c244e 100644 --- a/.github/workflows/release-swift-sdk.yml +++ b/.github/workflows/release-swift-sdk.yml @@ -31,7 +31,8 @@ jobs: build-and-release: name: Build and release DashSDKFFI runs-on: macos-15 - timeout-minutes: 45 + # Two cold release-profile builds (device + simulator) of ~25 min each. + timeout-minutes: 90 permissions: contents: write # attach the xcframework to the platform release # Serialize same-tag runs (e.g. an emergency dispatch racing the diff --git a/.github/workflows/release.yml b/.github/workflows/release.yml index 3c0c9127c90..a9b44af23dc 100644 --- a/.github/workflows/release.yml +++ b/.github/workflows/release.yml @@ -27,7 +27,9 @@ jobs: release-npm: name: Release NPM packages runs-on: ubuntu-24.04 - timeout-minutes: 60 + # A release usually misses the js-build artifact cache and rebuilds every + # WASM package from scratch, which already takes close to an hour. + timeout-minutes: 120 if: github.event_name != 'workflow_dispatch' steps: - name: Check out repo