From c69499b299dc443d415384977c32f45c2454ecdf Mon Sep 17 00:00:00 2001 From: Hood Chatham Date: Tue, 24 Mar 2026 14:19:56 +0100 Subject: [PATCH 1/2] gh-146376: Reduce timeout in Emscripten workflow --- .github/workflows/reusable-emscripten.yml | 15 ++++++++++++++- 1 file changed, 14 insertions(+), 1 deletion(-) diff --git a/.github/workflows/reusable-emscripten.yml b/.github/workflows/reusable-emscripten.yml index fd269df9eada24..ace5c111dc63bf 100644 --- a/.github/workflows/reusable-emscripten.yml +++ b/.github/workflows/reusable-emscripten.yml @@ -10,7 +10,20 @@ jobs: build-emscripten-reusable: name: 'build and test' runs-on: ubuntu-24.04 - timeout-minutes: 60 + # It seems to take about 20 minutes without the cache, broken down as follows: + # (All times recorded from one run chosen arbitrarily.) + # + # 0.5 install Emscripten (skipped by cache) + # 1.0 configure & build native python + # 0.5 build dependencies (skipped by cache) + # 3.0 configure Emscripten Python + # 1.5 build Emscripten Python + # 0.7 build Emscripten ports (skipped by cache) + # 14.0 Test + # + # So if we add time for a rerun of the entire test suite, we get to 34 + # minutes. Adding an extra 5% gets us to 36. + timeout-minutes: 36 steps: - uses: actions/checkout@v6 with: From 0e77b7ee50ca674f4bba5c85a9c7044412cc377b Mon Sep 17 00:00:00 2001 From: Hood Chatham Date: Mon, 30 Mar 2026 22:11:54 +0200 Subject: [PATCH 2/2] Remove long comment and round timeout to 40 minutes --- .github/workflows/reusable-emscripten.yml | 15 +-------------- 1 file changed, 1 insertion(+), 14 deletions(-) diff --git a/.github/workflows/reusable-emscripten.yml b/.github/workflows/reusable-emscripten.yml index ace5c111dc63bf..b79cb5bca293d6 100644 --- a/.github/workflows/reusable-emscripten.yml +++ b/.github/workflows/reusable-emscripten.yml @@ -10,20 +10,7 @@ jobs: build-emscripten-reusable: name: 'build and test' runs-on: ubuntu-24.04 - # It seems to take about 20 minutes without the cache, broken down as follows: - # (All times recorded from one run chosen arbitrarily.) - # - # 0.5 install Emscripten (skipped by cache) - # 1.0 configure & build native python - # 0.5 build dependencies (skipped by cache) - # 3.0 configure Emscripten Python - # 1.5 build Emscripten Python - # 0.7 build Emscripten ports (skipped by cache) - # 14.0 Test - # - # So if we add time for a rerun of the entire test suite, we get to 34 - # minutes. Adding an extra 5% gets us to 36. - timeout-minutes: 36 + timeout-minutes: 40 steps: - uses: actions/checkout@v6 with: