From b09e8b98e3affbe742966abdde68eb0fd92e1051 Mon Sep 17 00:00:00 2001 From: Nicolas Hrubec Date: Mon, 16 Nov 2026 19:40:15 +0100 Subject: [PATCH 1/4] test(ci): Record Cloudflare four-shard baseline Co-Authored-By: OpenAI Codex --- .github/workflows/build.yml | 16 +++++++++++++--- 1 file changed, 13 insertions(+), 3 deletions(-) diff --git a/.github/workflows/build.yml b/.github/workflows/build.yml index 53c2cf9ab6b4..642abe73f11f 100644 --- a/.github/workflows/build.yml +++ b/.github/workflows/build.yml @@ -28,7 +28,7 @@ concurrency: cancel-in-progress: true env: - HEAD_COMMIT: ${{ github.event.inputs.commit || github.sha }} + HEAD_COMMIT: ${{ github.event.inputs.commit || github.event.pull_request.head.sha || github.sha }} CACHED_DEPENDENCY_PATHS: | ${{ github.workspace }}/node_modules @@ -918,7 +918,17 @@ jobs: - name: Run integration tests working-directory: dev-packages/cloudflare-integration-tests - run: pnpm run test --shard=${{ matrix.shard }}/${{ matrix.shards }} + run: >- + pnpm run test --shard=${{ matrix.shard }}/${{ matrix.shards }} --reporter=dot --reporter=github-actions + --reporter=json --outputFile.json=${{ runner.temp }}/cloudflare-results.json + + - name: Upload Cloudflare benchmark results + if: ${{ always() && matrix.wrangler != 'latest' }} + uses: actions/upload-artifact@v7 + with: + name: cloudflare-benchmark-${{ matrix.shard }} + path: ${{ runner.temp }}/cloudflare-results.json + if-no-files-found: error # Shows breakage from new wrangler and workerd releases early. It is not in `job_required_jobs_passed`, so it cannot # block a PR, and like the optional E2E tests it does not run on release branches. @@ -954,7 +964,7 @@ jobs: - name: Check out current commit (${{ needs.job_get_metadata.outputs.commit_label }}) uses: actions/checkout@v7 with: - ref: ${{ env.HEAD_COMMIT }} + ref: ${{ github.sha }} - name: Set up Node uses: actions/setup-node@v7 with: From f2b7fd7cf801a191ac491b51a11985d66529323d Mon Sep 17 00:00:00 2001 From: Nicolas Hrubec Date: Mon, 16 Nov 2026 19:47:41 +0100 Subject: [PATCH 2/4] perf(ci): Run required Cloudflare integration tests in six shards Co-Authored-By: OpenAI Codex --- .github/workflows/build.yml | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/.github/workflows/build.yml b/.github/workflows/build.yml index 642abe73f11f..6a4af6e9bbe6 100644 --- a/.github/workflows/build.yml +++ b/.github/workflows/build.yml @@ -892,8 +892,8 @@ jobs: strategy: fail-fast: false matrix: - shard: [1, 2, 3, 4] - shards: [4] + shard: [1, 2, 3, 4, 5, 6] + shards: [6] steps: &cloudflare_integration_tests_steps - name: Check out current commit (${{ needs.job_get_metadata.outputs.commit_label }}) uses: actions/checkout@v7 From c7f2cb31bb1d00ce2b1f1f38f4a972c4ee72a1ed Mon Sep 17 00:00:00 2001 From: Nicolas Hrubec Date: Mon, 16 Nov 2026 19:55:38 +0100 Subject: [PATCH 3/4] test(ci): Benchmark six Cloudflare shards on ARM Co-Authored-By: OpenAI Codex --- .github/workflows/build.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.github/workflows/build.yml b/.github/workflows/build.yml index 6a4af6e9bbe6..1359bd67f4ff 100644 --- a/.github/workflows/build.yml +++ b/.github/workflows/build.yml @@ -887,7 +887,7 @@ jobs: name: Cloudflare Integration Tests (${{ matrix.shard }}/${{ matrix.shards }}) needs: [job_get_metadata, job_build] if: needs.job_build.outputs.changed_cloudflare_integration == 'true' || github.event_name != 'pull_request' - runs-on: ubuntu-24.04 + runs-on: ubuntu-24.04-arm timeout-minutes: 15 strategy: fail-fast: false From 40441d067d486ddd855b74d4f2b8b522bbcfd809 Mon Sep 17 00:00:00 2001 From: Nicolas Hrubec Date: Mon, 16 Nov 2026 20:03:45 +0100 Subject: [PATCH 4/4] chore(ci): Remove Cloudflare benchmark instrumentation Co-Authored-By: OpenAI Codex --- .github/workflows/build.yml | 16 +++------------- 1 file changed, 3 insertions(+), 13 deletions(-) diff --git a/.github/workflows/build.yml b/.github/workflows/build.yml index 1359bd67f4ff..a29c36743adb 100644 --- a/.github/workflows/build.yml +++ b/.github/workflows/build.yml @@ -28,7 +28,7 @@ concurrency: cancel-in-progress: true env: - HEAD_COMMIT: ${{ github.event.inputs.commit || github.event.pull_request.head.sha || github.sha }} + HEAD_COMMIT: ${{ github.event.inputs.commit || github.sha }} CACHED_DEPENDENCY_PATHS: | ${{ github.workspace }}/node_modules @@ -918,17 +918,7 @@ jobs: - name: Run integration tests working-directory: dev-packages/cloudflare-integration-tests - run: >- - pnpm run test --shard=${{ matrix.shard }}/${{ matrix.shards }} --reporter=dot --reporter=github-actions - --reporter=json --outputFile.json=${{ runner.temp }}/cloudflare-results.json - - - name: Upload Cloudflare benchmark results - if: ${{ always() && matrix.wrangler != 'latest' }} - uses: actions/upload-artifact@v7 - with: - name: cloudflare-benchmark-${{ matrix.shard }} - path: ${{ runner.temp }}/cloudflare-results.json - if-no-files-found: error + run: pnpm run test --shard=${{ matrix.shard }}/${{ matrix.shards }} # Shows breakage from new wrangler and workerd releases early. It is not in `job_required_jobs_passed`, so it cannot # block a PR, and like the optional E2E tests it does not run on release branches. @@ -964,7 +954,7 @@ jobs: - name: Check out current commit (${{ needs.job_get_metadata.outputs.commit_label }}) uses: actions/checkout@v7 with: - ref: ${{ github.sha }} + ref: ${{ env.HEAD_COMMIT }} - name: Set up Node uses: actions/setup-node@v7 with: