Commit add3586e46e for woocommerce
commit add3586e46e160255f7a4bd871953f2ec9a82134
Author: Rostislav Wolný <1082140+costasovo@users.noreply.github.com>
Date: Thu Sep 3 15:17:41 2026 +0200
Revert "Give woocommercebot PRs a larger e2e timeout" (#68331)
This reverts commit 39c58f628857d53754379daa2a8974ef3b4aaa5c (#67178).
The larger budget covered the WooCommerce Release Checks runner group
being about 1.45x slower than ubuntu-latest, which pushed Blocks e2e
shard 10/10 past the 20-minute cap on package-release PRs. That gap is
gone. Since late August the slowest shard on that group finishes in 17
minutes, the same as on ubuntu-latest, and the Blocks e2e speedups
merged on trunk on 2 September cut the slowest shard to 13 minutes. Bot
PRs no longer need their own budget, so restore the single 20-minute
cap.
diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml
index 905b2a9989d..a31f36b98be 100644
--- a/.github/workflows/ci.yml
+++ b/.github/workflows/ci.yml
@@ -405,9 +405,7 @@ jobs:
path: '${{ runner.temp }}/last-run-info'
- name: 'Run tests (${{ matrix.testType }})'
- # `woocommercebot` PRs run on the `WooCommerce Release Checks` group (see `runs-on` above),
- # which is slower than `ubuntu-latest`, so they need a larger e2e budget than other PRs.
- timeout-minutes: ${{ ( github.event_name == 'pull_request' && ( ( matrix.testType == 'e2e' && ( github.event.pull_request.user.login == 'woocommercebot' && 30 || 20 ) ) || ( matrix.testType == 'unit:php' && 20 ) ) ) || 360 }}
+ timeout-minutes: ${{ ( github.event_name == 'pull_request' && ( ( matrix.testType == 'e2e' && 20 ) || ( matrix.testType == 'unit:php' && 20 ) ) ) || 360 }}
env:
E2E_ENV_KEY: ${{ secrets.E2E_ENV_KEY }}
CODEVITALS_PROJECT_TOKEN: ${{ secrets.CODEVITALS_PROJECT_TOKEN }} # required by Metrics tests