Skip to content

Commit 8865c25

Browse files
authored
ci: shorten hosted PR path (#123570)
1 parent 1011b41 commit 8865c25

5 files changed

Lines changed: 38 additions & 40 deletions

File tree

‎.github/workflows/ci.yml‎

Lines changed: 5 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -2614,29 +2614,26 @@ jobs:
26142614
esac
26152615
26162616
# The github/hybrid planner profile splits the serial core oxlint path across
2617-
# three runners. Hybrid attempt 1 uses 8-vCPU Blacksmith stripes; github mode
2618-
# and hybrid retries use hosted runners. All-Blacksmith mode keeps one lint job.
2617+
# five deterministic hosted jobs. All-Blacksmith mode keeps one lint job.
26192618
check-lint-hosted-core-shard:
26202619
permissions:
26212620
contents: read
26222621
name: check-lint-core-${{ matrix.stripe }}
26232622
needs: [preflight]
26242623
if: ${{ needs.preflight.outputs.run_check == 'true' && (vars.OPENCLAW_CI_RUNNER_BACKEND == 'github' || vars.OPENCLAW_CI_RUNNER_BACKEND == 'hybrid') }}
2625-
runs-on: ${{ vars.OPENCLAW_CI_RUNNER_BACKEND == 'github' && 'ubuntu-24.04' || (vars.OPENCLAW_CI_RUNNER_BACKEND == 'hybrid' && github.run_attempt > 1) && 'ubuntu-24.04' || github.event_name == 'workflow_dispatch' && 'ubuntu-24.04' || (github.repository == 'openclaw/openclaw' && (github.event_name != 'pull_request' || github.event.pull_request.head.repo.full_name == 'openclaw/openclaw') && 'blacksmith-8vcpu-ubuntu-2404' || 'ubuntu-24.04') }}
2624+
runs-on: ubuntu-24.04
26262625
timeout-minutes: 15
26272626
strategy:
26282627
fail-fast: false
2629-
max-parallel: 3
2628+
max-parallel: 5
26302629
matrix:
2631-
stripe: [1, 2, 3]
2630+
stripe: [1, 2, 3, 4, 5]
26322631
steps:
26332632
- *linux_node_checkout_step
26342633
- name: Setup Node environment
26352634
uses: ./.github/actions/setup-node-env
26362635
with:
26372636
install-bun: "false"
2638-
# Hybrid attempt 1 still uses the hosted planner profile, so its
2639-
# Blacksmith stripes consume the same backend-neutral Actions cache.
26402637
dependency-cache: ${{ vars.OPENCLAW_CI_RUNNER_BACKEND != 'github' && vars.OPENCLAW_CI_RUNNER_BACKEND != 'hybrid' && github.event_name != 'workflow_dispatch' && github.repository == 'openclaw/openclaw' && (github.event_name != 'pull_request' || github.event.pull_request.head.repo.full_name == 'openclaw/openclaw') && 'true' || 'false' }}
26412638
use-actions-cache: ${{ vars.OPENCLAW_CI_RUNNER_BACKEND != 'github' && vars.OPENCLAW_CI_RUNNER_BACKEND != 'hybrid' && github.event_name != 'workflow_dispatch' && github.repository == 'openclaw/openclaw' && (github.event_name != 'pull_request' || github.event.pull_request.head.repo.full_name == 'openclaw/openclaw') && 'false' || 'true' }}
26422639

@@ -2645,7 +2642,7 @@ jobs:
26452642
OPENCLAW_LOCAL_CHECK: "0"
26462643
run: >-
26472644
node --import tsx scripts/run-oxlint-shards.mts
2648-
--only=core --split-core --core-stripe=${{ matrix.stripe }}/3 --threads=1
2645+
--only=core --split-core --core-stripe=${{ matrix.stripe }}/5 --threads=1
26492646
26502647
check-additional-shard:
26512648
permissions:

0 commit comments

Comments
 (0)