Repository navigation
fix(ci): unblock PR checks by rebalancing services test roots - #139645
Conversation
The services shard exceeded the 720-root typecheck memory bound. Move src/logging test roots to infra, leaving services at 677 roots and infra at 680 while retaining exactly-once test coverage.
|
🦞👀 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 5, 2026, 10:49 PM ET / September 6, 2026, 02:49 UTC. ClawSweeper reviewWhat this changesMoves logging test files from the services typecheck shard to the infrastructure shard so both fit the existing memory-bound root limit. Merge readiness✅ Ready for maintainer review This remains a useful, focused CI repair: fetched main still exceeds the services shard limit, while the proposed partition preserves coverage. No actionable patch defects were found; maintainer protection also excludes automatic closure. Priority: P2 Review scores
Verification
How this fits togetherOpenClaw divides test files into compiler projects to bound typechecking memory. A boundary check validates complete, exactly-once assignment before CI runs the shard typechecks. flowchart LR
A[Core test files] --> B[Shard include lists]
B --> C[Services shard]
B --> D[Infrastructure shard]
C --> E[Coverage and root-limit guard]
D --> E
E --> F[CI typechecks]
Before mergeNone. Agent review detailsSecurityNone. PR surfaceTests 0. Total 0 across 2 files. View PR surface stats
Review metrics
Technical reviewBest possible solution: Keep complete test coverage within the existing shard cap by redistributing roots through the shared compiler configuration. Do we have a high-confidence way to reproduce the issue? Yes, from source: fetched main assigns 721 test roots to services, and the unchanged validator rejects counts above 720. The reviewer did not execute the checker. Is this the best way to solve the issue? Yes. Transferring identical include globs between projects with shared compiler settings repairs the partition without weakening the limit or excluding tests. AGENTS.md: found and applied where relevant. Codex review notes: model internal, reasoning medium; reviewed against ef5972108dc6. LabelsLabel changes:
Label justifications:
EvidenceWhat I checked:
Likely related people:
Rating scale
Overall follows the weaker of proof and patch quality. Workflow
|
|
Merged via squash.
|
* origin/main: fix(ci): rebalance services test roots below the memory bound (openclaw#139645) fix(backup): exclude shared workspace files from state-only archives (openclaw#139598) fix(config): preserve plugin secret references in Settings saves (openclaw#139536) fix(ui): retain real-Gateway browser proof across reruns (openclaw#134274) fix(browser): preserve node filenames in proxy media (openclaw#139559) fix(qa): give hot-reload maintenance proofs their own budgets (openclaw#139580) fix(streaming): preserve assistant items and settled output (openclaw#139507) fix(android): reconnect secondary gateways after rapid lifecycle changes (openclaw#139319) fix(gateway): restart inside a marker-less LaunchAgent no longer kills its caller (openclaw#139628)
* commit '5b099995413589f41904cef1413c62239542aa7c': fix(ci): rebalance services test roots below the memory bound (#139645) fix(backup): exclude shared workspace files from state-only archives (#139598) fix(config): preserve plugin secret references in Settings saves (#139536) fix(ui): retain real-Gateway browser proof across reruns (#134274)
…aw#139645) The services shard exceeded the 720-root typecheck memory bound. Move src/logging test roots to infra, leaving services at 677 roots and infra at 680 while retaining exactly-once test coverage.
What Problem This Solves
Resolves a problem where every open PR inherits a failing core test typecheck boundary from
main.origin/mainis currently red oncheck-additional-boundaries: theservicesshard has 721 test roots, exceeding its 720-root typecheck memory bound. Main CI run 34006539935 fails that job and the aggregate CI gate.This unblocks every open PR in the repo from this inherited failure, since PR CI builds the merge commit and inherits the failure from
main.Why This Change Was Made
Move the 44
src/loggingtest roots fromservicestoinfra, leaving 677 and 680 roots respectively. The existing 720-root memory bound and exactly-once coverage remain enforced; only the two shard include lists change.User Impact
Developers can validate and land PRs without this unrelated failure inherited from
main. There is no runtime behavior change.Evidence
The compiler-resolved boundary check passes: every canonical core test root is assigned exactly once, all shards stay at or below 720 roots, and core graphs exclude bundled plugin files.
Follow-up worth attention:
agents-rootmeasured exactly 720, at the cap. The next test file added under that shard's roots will breakmainthe same way. Rebalancing it is intentionally outside this fix.pnpm check:changedwith isolatedOPENCLAW_STATE_DIRandOPENCLAW_CONFIG_PATH: passed (exit 0).node --import ./scripts/tsx.mjs scripts/check-tsgo-core-boundary.mts: passed.Exact-head CI run 34007189986 completed successfully for
e682430fe5e747761df5e7c5efa06ebf6e9393e3, includingcheck-additional-boundaries, all three test-typecheck jobs, andopenclaw/ci-gate. No reruns were needed. ClawSweeper review found no actionable patch defects or pre-merge requirements.The workflow linter was intentionally skipped: no
.github/workflow file changes in this PR. Its earlier local failure,No matching distribution found for pre-commit==4.6.2, is a pre-existing local-environment issue outside this patch; no dependency pin or workaround was changed.