mirror of
https://github.com/openclaw/openclaw.git
synced 2026-07-09 15:59:30 +00:00
perf(ci): raise Node shard parallelism to 28 (#101174)
This commit is contained in:
parent
78e4672d65
commit
f643c9b2f8
4 changed files with 4 additions and 4 deletions
|
|
@ -132,7 +132,7 @@ These are intentionally guarded by `test/scripts/ci-workflow-guards.test.ts`:
|
|||
- `runner-admission` on `ubuntu-24.04` with
|
||||
`OPENCLAW_MAIN_CI_DEBOUNCE_SECONDS=90`.
|
||||
- `preflight` and `security-fast` needing `runner-admission`.
|
||||
- CI matrix caps: fast/check lanes at 12, Node test shards at 24, Windows and
|
||||
- CI matrix caps: fast/check lanes at 12, Node test shards at 28, Windows and
|
||||
Android at 2.
|
||||
- `build-artifacts` on `blacksmith-16vcpu-ubuntu-2404`.
|
||||
- lower-weight Node/check shards on `blacksmith-4vcpu-ubuntu-2404`.
|
||||
|
|
|
|||
2
.github/workflows/ci.yml
vendored
2
.github/workflows/ci.yml
vendored
|
|
@ -1139,7 +1139,7 @@ jobs:
|
|||
fail-fast: false
|
||||
# The canonical main path waits for the admission debounce above, so
|
||||
# widen this large matrix within the current runner-registration budget.
|
||||
max-parallel: 24
|
||||
max-parallel: 28
|
||||
matrix: ${{ fromJson(needs.preflight.outputs.checks_node_core_nondist_matrix) }}
|
||||
steps:
|
||||
- *linux_node_checkout_step
|
||||
|
|
|
|||
|
|
@ -103,7 +103,7 @@ The slowest Node test families are split or balanced so each job stays small wit
|
|||
- `check-additional-*` stripes the supplemental boundary guard list (`scripts/run-additional-boundary-checks.mjs`) into one prompt-heavy shard (`check-additional-boundaries-a`, which includes the Codex prompt snapshot drift check) and one combined shard for the remaining stripes (`check-additional-boundaries-bcd`), each running independent guards concurrently and printing per-check timings. Package-boundary compile/canary work stays together, and runtime topology architecture runs separately from the gateway watch coverage embedded in `build-artifacts`.
|
||||
- Gateway watch, channel tests, and the core support-boundary shard run concurrently inside `build-artifacts` after `dist/` and `dist-runtime/` are already built.
|
||||
|
||||
Once admitted, canonical Linux CI permits up to 24 concurrent Node test jobs and
|
||||
Once admitted, canonical Linux CI permits up to 28 concurrent Node test jobs and
|
||||
12 for the smaller fast/check lanes; Windows and Android stay at two because
|
||||
those runner pools are narrower. Compact whole-config batches run with a
|
||||
120-minute batch timeout, while include-pattern groups share the same bounded
|
||||
|
|
|
|||
|
|
@ -309,7 +309,7 @@ describe("ci workflow guards", () => {
|
|||
"github.event_name == 'pull_request'",
|
||||
);
|
||||
expect(workflow.jobs["checks-fast-core"].strategy["max-parallel"]).toBe(12);
|
||||
expect(workflow.jobs["checks-node-core-test-nondist-shard"].strategy["max-parallel"]).toBe(24);
|
||||
expect(workflow.jobs["checks-node-core-test-nondist-shard"].strategy["max-parallel"]).toBe(28);
|
||||
expect(workflow.jobs["checks-fast-plugin-contracts-shard"].strategy["max-parallel"]).toBe(12);
|
||||
expect(workflow.jobs["checks-fast-channel-contracts-shard"].strategy["max-parallel"]).toBe(12);
|
||||
expect(workflow.jobs["check-shard"].strategy["max-parallel"]).toBe(12);
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue