From 164ced27e9a21eac05f96db6ea0bfd771ea20979 Mon Sep 17 00:00:00 2001 From: OrcaWin Date: Tue, 27 Oct 2026 02:32:40 -0700 Subject: [PATCH] ci: run the node-server Windows x64 lane on the free hosted windows-2022 runner (#34350) The free windows-11-arm and macos-15-intel lanes already set the matrix's wall time; the paid 8-vCPU Blacksmith Windows lane finished minutes earlier for ~$48/day. Co-authored-by: OrcaWin <293788423+OrcaWin@users.noreply.github.com> --- .github/workflows/node-server-tests.yml | 5 +++-- config/scripts/node-server-fast-runners.test.mjs | 2 +- 2 files changed, 4 insertions(+), 3 deletions(-) diff --git a/.github/workflows/node-server-tests.yml b/.github/workflows/node-server-tests.yml index e94f80a50f7..6dfb5b76ee1 100644 --- a/.github/workflows/node-server-tests.yml +++ b/.github/workflows/node-server-tests.yml @@ -153,9 +153,10 @@ jobs: fail-fast: false matrix: os: ${{ fromJSON(needs.changes.outputs.runners || '["ubuntu-22.04","ubuntu-24.04-arm","macos-15","macos-15-intel","windows-2022","windows-11-arm"]') }} - # Keep platform keys stable for slot names and Windows cross-compilation. + # Keep platform keys stable for slot names and Windows cross-compilation. Hosted Windows x64 is free and + # still finishes before the windows-11-arm and macos-15-intel lanes that set wall time. runs-on: >- - ${{ (inputs.fast_runners || github.event_name == 'pull_request' || github.event_name == 'schedule') && fromJSON('{"ubuntu-22.04":"blacksmith-8vcpu-ubuntu-2204","ubuntu-24.04-arm":"blacksmith-8vcpu-ubuntu-2404-arm","macos-15":"blacksmith-6vcpu-macos-15","macos-15-intel":"macos-15-intel","windows-2022":"blacksmith-8vcpu-windows-2025","windows-11-arm":"windows-11-arm"}')[matrix.os] || matrix.os }} + ${{ (inputs.fast_runners || github.event_name == 'pull_request' || github.event_name == 'schedule') && fromJSON('{"ubuntu-22.04":"blacksmith-8vcpu-ubuntu-2204","ubuntu-24.04-arm":"blacksmith-8vcpu-ubuntu-2404-arm","macos-15":"blacksmith-6vcpu-macos-15","macos-15-intel":"macos-15-intel","windows-2022":"windows-2022","windows-11-arm":"windows-11-arm"}')[matrix.os] || matrix.os }} timeout-minutes: 20 env: ORCA_BACKGROUND_LAUNCH: '1' diff --git a/config/scripts/node-server-fast-runners.test.mjs b/config/scripts/node-server-fast-runners.test.mjs index e327824bac4..42d2dd404ee 100644 --- a/config/scripts/node-server-fast-runners.test.mjs +++ b/config/scripts/node-server-fast-runners.test.mjs @@ -28,7 +28,7 @@ it.each([ ['ubuntu-24.04-arm', 'blacksmith-8vcpu-ubuntu-2404-arm'], ['macos-15', 'blacksmith-6vcpu-macos-15'], ['macos-15-intel', 'macos-15-intel'], - ['windows-2022', 'blacksmith-8vcpu-windows-2025'], + ['windows-2022', 'windows-2022'], ['windows-11-arm', 'windows-11-arm'] ])('preserves the qualification architecture for %s', (os, fastRunner) => { expect(runnerFor(workflow.jobs.persistence, os, false)).toBe(os)