ci: run full unit shards on eight-core workers (#32567)

This commit is contained in:
Neil
2026-10-23 07:13:51 -07:00
committed by GitHub
parent 0805f1cd70
commit 4ed7fb08af
5 changed files with 10 additions and 4 deletions
@@ -15,7 +15,7 @@ jobs:
strategy:
fail-fast: false
matrix:
runner: [ubuntu-24.04-arm, blacksmith-4vcpu-ubuntu-2404]
runner: [ubuntu-24.04-arm, blacksmith-8vcpu-ubuntu-2404]
runs-on: ${{ matrix.runner }}
timeout-minutes: 10
env:
+1 -1
View File
@@ -894,7 +894,7 @@ jobs:
uses: ./.github/workflows/unit-tests.yml
with:
node_versions: '["24"]'
runner: blacksmith-4vcpu-ubuntu-2404
runner: blacksmith-8vcpu-ubuntu-2404
phase_diagnostics: true
shards: ${{ needs.preflight.outputs.shards }}
run_shards: ${{ needs.code_paths.outputs.mobile_ci_tools != 'true' }}
+1 -1
View File
@@ -175,7 +175,7 @@ jobs:
export ORCA_SHARD_SOURCE_SHA
node config/scripts/run-vitest.mjs run --config config/vitest.config.ts \
--shard=${{ matrix.shard.index }}/${{ matrix.shard.count }} \
${{ (runner.arch == 'ARM64' || inputs.runner == 'blacksmith-4vcpu-ubuntu-2404') && '--maxWorkers=4' || '' }}
${{ inputs.runner == 'blacksmith-8vcpu-ubuntu-2404' && '--maxWorkers=8' || (runner.arch == 'ARM64' || inputs.runner == 'blacksmith-4vcpu-ubuntu-2404') && '--maxWorkers=4' || '' }}
- name: Seal unit module cache
id: module-cache-seal