From ba816bb99d06d296f724608f9d5e0271a7ae5d5f Mon Sep 17 00:00:00 2001 From: sachinsharma Date: Thu, 13 Aug 2026 16:43:51 -0700 Subject: [PATCH 1/3] Bump roadrunner-api-dto to ^1.15.0 for Temporal API 1.62.8 Requires roadrunner-php/roadrunner-api-dto v1.15.0+ which includes roadrunner-server/api v4.24.0 (Temporal API 1.62.8). After the DTO package is released, run `make generate-client` to regenerate ServiceClient and ServiceClientInterface with new API methods. Depends on: roadrunner-php/roadrunner-api-dto#22 Closes #741. --- composer.json | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/composer.json b/composer.json index 90f9c970a..e5d67a24d 100644 --- a/composer.json +++ b/composer.json @@ -32,7 +32,7 @@ "nesbot/carbon": "^2.72.6 || ^3.8.4", "psr/log": "^2.0 || ^3.0.2", "ramsey/uuid": "^4.7.6", - "roadrunner-php/roadrunner-api-dto": "^1.14.0", + "roadrunner-php/roadrunner-api-dto": "^1.15.0", "roadrunner-php/version-checker": "^1.0.2", "spiral/attributes": "^3.1.8", "spiral/roadrunner": "^2025.1.5", From 50592b8d8578fff6439b93bcf25d9f78a56918e6 Mon Sep 17 00:00:00 2001 From: sachinsharma Date: Mon, 17 Aug 2026 10:57:25 -0700 Subject: [PATCH 2/3] Drop PHP 8.1 from CI matrix and composer requirement The bumped roadrunner-api-dto ^1.15.0 requires PHP 8.2+, causing validate-prefer-lowest failures on PHP 8.1. This aligns with PR #793 which drops PHP 8.1 support from the SDK. --- .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 e5d67a24d..e9fc889b6 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 7497aae9ef8d95b7917e16213b67eb0b2e30c68d Mon Sep 17 00:00:00 2001 From: sachinsharma Date: Mon, 17 Aug 2026 12:43:59 -0700 Subject: [PATCH 3/3] 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