From c43581322e04de0aa6f155d1683476c482a46538 Mon Sep 17 00:00:00 2001 From: sachinsharma Date: Tue, 11 Aug 2026 22:53:38 -0700 Subject: [PATCH 1/2] Drop PHP 8.1 support PHP 8.1 reached end of life. Bump minimum to 8.2, remove 8.1 from CI matrix, and update lowest-deps validation to run on 8.2. Closes #790. --- .github/workflows/run-test-suite.yml | 5 ++--- composer.json | 2 +- 2 files changed, 3 insertions(+), 4 deletions(-) diff --git a/.github/workflows/run-test-suite.yml b/.github/workflows/run-test-suite.yml index 2c4461c41..ec26f0e86 100644 --- a/.github/workflows/run-test-suite.yml +++ b/.github/workflows/run-test-suite.yml @@ -55,7 +55,6 @@ jobs: fail-fast: ${{ inputs.fail-fast }} matrix: php: - - 8.1 - 8.2 - 8.3 - 8.4 @@ -67,7 +66,7 @@ jobs: # Add Windows - os: windows-latest extensions-suffix: ', protobuf' - php: 8.1 + php: 8.2 dependencies: highest steps: - name: Set Git To Use LF @@ -94,7 +93,7 @@ jobs: - name: Validate lowest dependencies id: validate - if: matrix.dependencies == 'lowest' && matrix.php == '8.1' + if: matrix.dependencies == 'lowest' && matrix.php == '8.2' env: COMPOSER_POOL_OPTIMIZER: 0 run: vendor/bin/validate-prefer-lowest diff --git a/composer.json b/composer.json index 90f9c970a..ecb14f291 100644 --- a/composer.json +++ b/composer.json @@ -21,7 +21,7 @@ "source": "https://github.com/temporalio/sdk-php" }, "require": { - "php": ">=8.1", + "php": ">=8.2", "ext-curl": "*", "ext-json": "*", "google/common-protos": "^4.9", From af562851b32f97cc49c6defecf9615805b1de47e Mon Sep 17 00:00:00 2001 From: sachinsharma Date: Mon, 17 Aug 2026 12:43:59 -0700 Subject: [PATCH 2/2] Cache runtime binaries to avoid GitHub API rate limits The dload binary downloader uses GitHub API to find and download release assets for RoadRunner, Temporal CLI, and Temporal test server. When many CI jobs run concurrently, the 5000 req/hr rate limit is exhausted causing widespread failures. Cache the extracted binaries keyed on the dload.xml configuration hash. --- .github/workflows/run-test-suite.yml | 16 +++++++++++++++- 1 file changed, 15 insertions(+), 1 deletion(-) diff --git a/.github/workflows/run-test-suite.yml b/.github/workflows/run-test-suite.yml index ec26f0e86..2468fa44a 100644 --- a/.github/workflows/run-test-suite.yml +++ b/.github/workflows/run-test-suite.yml @@ -99,8 +99,22 @@ jobs: run: vendor/bin/validate-prefer-lowest continue-on-error: true - - name: Download binaries + - name: Cache runtime binaries + id: cache-binaries if: inputs.download-binaries == true + uses: actions/cache@v4 + with: + path: | + ./rr + ./rr.exe + ./temporal + ./temporal.exe + ./temporal-test-server + ./temporal-test-server.exe + key: ${{ runner.os }}-binaries-${{ hashFiles('dload.xml') }} + + - name: Download binaries + if: inputs.download-binaries == true && steps.cache-binaries.outputs.cache-hit != 'true' run: composer get:binaries - name: Run tests