Repository navigation
perf(ci): trim worker compilation for Doctor flows - #197690
Merged
Merged
Conversation
Contributor
|
🦞👀 Pull request received. I will update this pull request when review starts. |
vincentkoc
marked this pull request as ready for review
November 12, 2026 10:36
vincentkoc
enabled auto-merge (squash)
November 12, 2026 10:38
Member
Author
|
Merged via squash auto-merge.
|
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
Selected Doctor CI tests compile thousands of unused test-only worker files before running.
User Impact
The same selected tests retain their production workers and isolation while compiling fewer files. Broad and unqualified selections retain the full compiler graph. There is no product behavior change.
Why This Change Was Made
Extend the existing runtime-worker eligibility to the remaining seven Doctor files and their focused unit configuration. Keep the shared CI parent and child decisions aligned; no new compiler owner, cache, or test omission.
Evidence
The workload comes from a completed seven-file CI job. Replayed the actual
ci-run-node-test-shard.mtsentry point at basece76ed2fe039e97868745fd91273508905578e22, then with only this patch. Both Linux runs used four observed CPUs, 16.56 GB RAM, Node 24.22.1, pinned Bun1.4.4-canary.1+191755ec1, and one plan/worker.Acceptance set before execution: identical case membership and outcomes, no skips (including Linux NOCOW), normal worker cleanup, and at least 40% fewer compiled outputs.
69.7% fewer emitted files; preparation was 29.0% shorter. All 41 ordered case identities, including repeated parameterized names, matched; seven invocations passed and generation cleanup verified.
Single full/candidate pair: the shared
origin/mainref advanced between commands, so the lease freshness guard required a replacement Testbox with the same observed resources. Full run, candidate run. Timings therefore compare different machines: the candidate payload was 8.7% slower and child CPU 4.3% higher. Wrapper time includes differing hydration/setup. This establishes less compilation and retained coverage, not end-to-end runtime or Blacksmith dollar savings. RSS is the largest child, not aggregate process-tree memory.Focused checks: 146 tests passed in 3.09 s (wrapper 4.03 s); targeted tooling typecheck, lint, formatting, and diff checks passed. Regression cases cover broad/mixed fallback, packed unit/infra selection, and child artifact-preset forwarding. Independent source review found no actionable issues.
Full local ClawSweeper review: base
ce76ed2fe039e97868745fd91273508905578e22, heade13bbf475ed9c1a8e70602e6bc4baea6fd4431bd, high-reasoning complete review; no actionable correctness or security findings. It was a code review, not execution proof.