perf(ci): widen main test fanout and move codeql off blacksmith (#95967) · openclaw/openclaw@a13e2b9
vincentkoc
·
2026-06-23
·
via Recent Commits to openclaw:main
| Original file line number | Diff line number | Diff line change |
|---|
@@ -1177,7 +1177,9 @@ jobs:
|
1177 | 1177 | timeout-minutes: ${{ matrix.timeout_minutes || 60 }} |
1178 | 1178 | strategy: |
1179 | 1179 | fail-fast: false |
1180 | | -max-parallel: 12 |
| 1180 | +# The canonical main path waits for the admission debounce above, so |
| 1181 | +# modestly widen this large matrix without recreating registration bursts. |
| 1182 | +max-parallel: 16 |
1181 | 1183 | matrix: ${{ fromJson(needs.preflight.outputs.checks_node_core_nondist_matrix) }} |
1182 | 1184 | steps: |
1183 | 1185 | - name: Checkout |
|
| Original file line number | Diff line number | Diff line change |
|---|
@@ -22,12 +22,6 @@ on:
|
22 | 22 | push: |
23 | 23 | branches: |
24 | 24 | - main |
25 | | -paths: |
26 | | - - ".github/actions/**" |
27 | | - - ".github/codeql/**" |
28 | | - - ".github/workflows/**" |
29 | | - - "packages/**" |
30 | | - - "src/**" |
31 | 25 | schedule: |
32 | 26 | - cron: "0 6 * * *" |
33 | 27 | |
@@ -55,32 +49,32 @@ jobs:
|
55 | 49 | include: |
56 | 50 | - language: javascript-typescript |
57 | 51 | category: core-auth-secrets |
58 | | -runs_on: blacksmith-8vcpu-ubuntu-2404 |
| 52 | +runs_on: ubuntu-24.04 |
59 | 53 | timeout_minutes: 25 |
60 | 54 | config_file: ./.github/codeql/codeql-core-auth-secrets-critical-security.yml |
61 | 55 | - language: javascript-typescript |
62 | 56 | category: channel-runtime-boundary |
63 | | -runs_on: blacksmith-8vcpu-ubuntu-2404 |
| 57 | +runs_on: ubuntu-24.04 |
64 | 58 | timeout_minutes: 25 |
65 | 59 | config_file: ./.github/codeql/codeql-channel-runtime-boundary-critical-security.yml |
66 | 60 | - language: javascript-typescript |
67 | 61 | category: network-ssrf-boundary |
68 | | -runs_on: blacksmith-4vcpu-ubuntu-2404 |
| 62 | +runs_on: ubuntu-24.04 |
69 | 63 | timeout_minutes: 25 |
70 | 64 | config_file: ./.github/codeql/codeql-network-ssrf-boundary-critical-security.yml |
71 | 65 | - language: javascript-typescript |
72 | 66 | category: mcp-process-tool-boundary |
73 | | -runs_on: blacksmith-4vcpu-ubuntu-2404 |
| 67 | +runs_on: ubuntu-24.04 |
74 | 68 | timeout_minutes: 25 |
75 | 69 | config_file: ./.github/codeql/codeql-mcp-process-tool-boundary-critical-security.yml |
76 | 70 | - language: javascript-typescript |
77 | 71 | category: plugin-trust-boundary |
78 | | -runs_on: blacksmith-4vcpu-ubuntu-2404 |
| 72 | +runs_on: ubuntu-24.04 |
79 | 73 | timeout_minutes: 25 |
80 | 74 | config_file: ./.github/codeql/codeql-plugin-trust-boundary-critical-security.yml |
81 | 75 | - language: actions |
82 | 76 | category: actions |
83 | | -runs_on: blacksmith-8vcpu-ubuntu-2404 |
| 77 | +runs_on: ubuntu-24.04 |
84 | 78 | timeout_minutes: 10 |
85 | 79 | config_file: ./.github/codeql/codeql-actions-critical-security.yml |
86 | 80 | steps: |
|
| Original file line number | Diff line number | Diff line change |
|---|
@@ -141,7 +141,7 @@ describe("ci workflow guards", () => {
|
141 | 141 | "github.event_name == 'pull_request'", |
142 | 142 | ); |
143 | 143 | expect(workflow.jobs["checks-fast-core"].strategy["max-parallel"]).toBe(8); |
144 | | -expect(workflow.jobs["checks-node-core-test-nondist-shard"].strategy["max-parallel"]).toBe(12); |
| 144 | +expect(workflow.jobs["checks-node-core-test-nondist-shard"].strategy["max-parallel"]).toBe(16); |
145 | 145 | expect(workflow.jobs["checks-fast-plugin-contracts-shard"].strategy["max-parallel"]).toBe(8); |
146 | 146 | expect(workflow.jobs["checks-fast-channel-contracts-shard"].strategy["max-parallel"]).toBe(8); |
147 | 147 | expect(workflow.jobs["check-shard"].strategy["max-parallel"]).toBe(8); |
|
此内容由惯性聚合(RSS阅读器)自动聚合整理,仅供阅读参考。 原文来自 — 版权归原作者所有。