Repository navigation
fix(tooling): split root test types into serial graphs - #160098
Conversation
|
🦞👀 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. |
|
Codex review: needs maintainer review before merge. Reviewed September 28, 2026, 12:58 AM ET / 04:58 UTC (Revision 2). ClawSweeper reviewWhat this changesThe branch divides root-test TypeScript checking into four serial projects and updates the package command, CI execution, change routing, and tests to use them. Merge readiness✅ Ready for maintainer review Current main still runs one root-test compiler project, so this focused PR remains useful. The updated PR body supplies the one-worker test-cost measurement requested in the earlier review; no remaining patch defect is evident. Priority: P2 Review scores
Verification
How this fits togetherOpenClaw's developer checks select TypeScript projects from test files and CI plans. The compiler runner executes those projects and returns diagnostics and completion evidence to local checks and CI. flowchart LR
A[Root test files] --> B[Canonical test inventory]
B --> C[CI graph selection]
C --> D[Four root projects]
D --> E[Serial compiler runs]
E --> F[Diagnostics and completion evidence]
Before mergeNone. Agent review detailsSecurityNone. PR surfaceTests +289, Docs +2, Config 0, Other +32. Total +323 across 14 files. View PR surface stats
Review metrics
Root-cause clusterRelationship: Members:
Proposal only: this assessment does not dispatch repair, suppress jobs, mutate sibling items, close, or merge anything. Technical reviewBest possible solution: Keep graph expansion in the existing compiler runner with complete input coverage and separate caches, while the linked repair tracker handles hard process-tree limits. Do we have a high-confidence way to reproduce the issue? No independently observed current-main memory failure was established in this read-only review. Source confirms the single-project entrypoint, and the PR reports a cap-triggered failure during the repair. Is this the best way to solve the issue? Yes. The branch uses the existing compiler runner and preserves canonical CI selection; its coverage test checks that the partitioned projects retain the root inputs. AGENTS.md: found and applied where relevant. Codex review notes: model internal, reasoning high; reviewed against 54a0ea673bb1. LabelsLabel changes: No label changes. Label justifications:
EvidenceWhat I checked:
Likely related people:
Rating scale
Overall follows the weaker of proof and patch quality. Workflow
HistoryReview history (1 earlier review cycle)
|
Split root-test checking into four serial projects while preserving the canonical CI inventory, complete source coverage, ambient declarations, and separate incremental caches. Validated with four cold compiler runs under a 7 GiB kernel cap, focused tests, exact-head required CI, and independent review. Related: openclaw#160010
Root test typechecking loaded one large Program. During this repair it was killed under a 7462 MiB process-tree cap. This PR divides execution into four serial graphs while keeping the canonical root inventory and CI planning identity.
--concurrency 4. Preserve diagnostic draining for unrelated graphs in mixed CI batches.Part of #160010. This slice reduces graph size; hard memory containment is activated separately.
Validation at
3dc5c28a4f942c910b04930819029f43bbf88bc1on Blacksmith Testbox:5c8ea5ce7850d9696379db6c1a63a4834ea21e171ae0b46dcaf02303050caf93.Tooling +43/-7 lines, test/config +286/-1, changelog +2. Positive tooling growth owns canonical-to-execution graph expansion and config routing. No runtime or dependency changes.
Review cost follow-up: exact-head
test/scripts/tsgo-core-test-shards.test.tspassed all 35 cases with--maxWorkers=1on the same Testbox. File test time 10.404s; Vitest wall 22.56s including a 10.637s cold worker-bundle preparation; complete focused command 23.96 CI wall seconds. The full source-sync/setup/test invocation took 27.076s. This addresses the test-cost finding and Rank-up move without changing source or requesting an unchanged-head review.