ci: stabilize compatibility runner setup

This commit is contained in:
Tianyi Cui
2026-07-22 16:02:52 +08:00
parent d7945da13e
commit c67ae11f78

View File

@@ -417,7 +417,9 @@ jobs:
node-compat: node-compat:
if: github.event_name != 'workflow_dispatch' || inputs.suite == 'optimized-larger-runners' if: github.event_name != 'workflow_dispatch' || inputs.suite == 'optimized-larger-runners'
runs-on: ubuntu-latest # Distinct larger-runner pools avoid both standard-runner setup outliers and
# the delayed second allocation observed when two jobs shared one pool.
runs-on: ${{ matrix.runner }}
name: node ${{ matrix.node }} name: node ${{ matrix.node }}
env: env:
DSH_GATE_CONCURRENCY: '2' DSH_GATE_CONCURRENCY: '2'
@@ -427,10 +429,13 @@ jobs:
matrix: matrix:
include: include:
- node: '22.19' - node: '22.19'
runner: dsh-ubuntu-24-04-4core
skip_typecheck: '1' skip_typecheck: '1'
- node: 24 - node: 24
runner: dsh-ubuntu-24-04-8core
skip_typecheck: '1' skip_typecheck: '1'
- node: 26 - node: 26
runner: dsh-ubuntu-24-04-32core
skip_typecheck: '1' skip_typecheck: '1'
steps: steps:
- uses: actions/checkout@v6 - uses: actions/checkout@v6
@@ -460,7 +465,7 @@ jobs:
python-sdk: python-sdk:
if: github.event_name != 'workflow_dispatch' || inputs.suite == 'optimized-larger-runners' if: github.event_name != 'workflow_dispatch' || inputs.suite == 'optimized-larger-runners'
runs-on: ubuntu-latest runs-on: dsh-ubuntu-24-04-64core
name: python 3.10 / keyless SDK name: python 3.10 / keyless SDK
steps: steps:
- uses: actions/checkout@v6 - uses: actions/checkout@v6