Repository navigation
fix(ci): right-size serial central type checks - #197786
Merged
Merged
Conversation
Contributor
|
🦞👀 Pull request received. I will update this pull request when review starts. ClawSweeper review completeClawSweeper finished reviewing this revision. The review result is being finalized. |
vincentkoc
marked this pull request as ready for review
November 12, 2026 14:56
Member
Author
|
Merged via squash.
|
github-actions Bot
pushed a commit
to Desicool/openclaw
that referenced
this pull request
Nov 13, 2026
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
What Problem This Solves
Ordinary PRs reserve a 4-vCPU runner for serial extension/script type checks whose compiler policy uses at most two Go threads.
User Impact
Reduces the requested runner to 2 vCPUs for this measured workload. Type-check coverage and execution order stay the same. Full, frozen, release, compatibility, root-test and non-hosted plans retain their current allocation.
Why This Change Was Made
The existing ordinary-PR capability and selected graph names identify the narrow workload. Only its admission label changes; the planner's legacy runner identity remains intact.
Evidence
extensions-testthenscripts. Maximum-memory job.baca36ea403c..0e9ff11ca30e.Linux results
All samples use the same source tree. Compiler build-info files were removed before each sample; OS page cache was uncontrolled.
The paired comparison passed the predeclared rule: median -2.4%, p95 +1.3%, requested CPUs -50%. CPU comparison.
The separate small VM was slower than the affinity samples; those cross-machine times are not a causal performance comparison. It passed all five workloads. Blacksmith measured 4,792,717,312 / 8,218,361,856 bytes (58.3%) peak job memory across 182 samples, including setup, and zero OOM events. Physical capacity qualification.
Both successful Testbox leases were stopped. Their backing Actions jobs can show cancellation because the delegated lifecycle owns teardown. An earlier setup-only attempt stopped before any sample because the harness compared the original commit ID with the transport's carrier commit; the corrected harness verifies the exact source tree instead.
No invoice savings are claimed. The measured result supports using the smaller allocation for these graphs; full and other graph shapes retain their original capacity. The change adds 7 production lines and 44 test lines without a new configuration surface.
Acceptance rule recorded before benchmarking
Use the unchanged committed workload
node scripts/run-tsgo-core-test-shards.mjs --ci-graphs-json '["extensions-test","scripts"]'withCI=1. Run five serial A/B pairs on one Linux Blacksmith Testbox, alternating 4-CPU and 2-CPU affinity. Remove only these two graphs' generated build-info files before each sample; OS page cache remains uncontrolled. Record actual CPU/RAM, wall time, peak RSS, exit status, median and p95. Reject any failed sample or a candidate median/p95 wall-time regression of 20% or more. This isolates CPU allocation; it does not simulate lower physical RAM.Require an actual 2-vCPU runner to complete both graphs with no OOM and less than 80% peak memory, including setup. The PR's own change selects root-test tooling and correctly retains the 4-vCPU job, so the physical 2-vCPU proof uses the existing focused Testbox workflow instead; the criteria are unchanged. Compare complete-job duration and billed allocation with the baseline where workloads match, distinguishing runner qualification from a causal billing claim. The expected gain is half the requested CPU allocation, not a measured invoice reduction.