From 59d044b9c810ceb5d01d211a46bac2ec19cb9ffe Mon Sep 17 00:00:00 2001 From: Claude Date: Wed, 3 Jun 2026 14:17:48 +0000 Subject: [PATCH] build(workflows): increase run_affected_benchmarks step timeout The `run_affected_benchmarks` job on `develop` has timed out at the 60-minute step limit on four distinct SHAs in the last seven days (d864f6f8, d2f751e2, e903f792, aac3a7c1). Each failure shares the same signature: "The action 'Run affected benchmarks' has timed out after 60 minutes." Root cause: new BLAS `ext/base` packages are merged in batch push events. Each package contributes two benchmark files (`benchmark/benchmark.js` and `benchmark/benchmark.ndarray.js`). The runner script (`scripts/run_affected_benchmarks/run`) executes all JavaScript benchmark files serially. When 7-15 packages are covered by a single push event window, cumulative execution time exceeds 60 minutes. The benchmarks themselves are correctly bounded (auto-tuned iteration counts, 5-min per-benchmark cap); only the aggregate is too long. This commit raises `timeout-minutes` from 60 to 90 on the "Run affected benchmarks" step. At the observed batch sizes the runs were landing just over 60 minutes; 90 provides sufficient headroom for batches of up to ~13-14 packages at current benchmark throughput, which covers the documented failures with margin. Ref: https://github.com/stdlib-js/stdlib/actions/runs/26882401036 Ref: https://github.com/stdlib-js/stdlib/actions/runs/26880759233 --- .github/workflows/run_affected_benchmarks.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.github/workflows/run_affected_benchmarks.yml b/.github/workflows/run_affected_benchmarks.yml index eb63b1b4b60a..91a761dd98c2 100644 --- a/.github/workflows/run_affected_benchmarks.yml +++ b/.github/workflows/run_affected_benchmarks.yml @@ -151,4 +151,4 @@ jobs: directories="${{ steps.changed-directories.outputs.directories }}" fi . "$GITHUB_WORKSPACE/.github/workflows/scripts/run_affected_benchmarks/run" "$directories" - timeout-minutes: 60 + timeout-minutes: 90