Repository navigation
fix(test): restore services typecheck shard headroom - #148889
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 15, 2026, 3:57 AM ET / 07:57 UTC. ClawSweeper reviewWhat this changesMoves secrets tests from the services typecheck shard to the existing state/logging shard, restoring room below the test-root limit. Merge readiness✅ Ready for maintainer review Keep open: current main still needs this focused rebalance, and the patch preserves coverage and existing limits. No actionable correctness findings. Priority: P2 Review scores
Verification
How this fits togetherOpenClaw splits test files into compiler groups to bound typechecking work. These configurations assign files to groups that the validation runner checks for coverage and type errors. flowchart LR
A[Test source files] --> B[Shard configurations]
B --> C[Services group]
B --> D[State and logging group]
C --> E[Coverage and root-budget checks]
D --> E
E --> F[Typechecking results]
Before mergeNone. Agent review detailsSecurityNone. PR surfaceTests 0. Total 0 across 2 files. View PR surface stats
Review metrics
Technical reviewBest possible solution: Keep the existing shard runner and coverage guards, with the complete secrets test family assigned to the roomier state/logging group. Do we have a high-confidence way to reproduce the issue? Yes, from source: the existing guard rejects more than 700 roots, and restoring the 83 moved roots to the independently counted 619 services roots yields 702. The guard was not executed during this review. Is this the best way to solve the issue? Yes. Moving a complete test family between existing, identically configured groups is a narrow repair that preserves coverage, compiler settings, and limits. AGENTS.md: found and applied where relevant. Codex review notes: model internal, reasoning medium; reviewed against e83fa1461db6. LabelsLabel changes:
Label justifications:
EvidenceWhat I checked:
Likely related people:
Rating scale
Overall follows the weaker of proof and patch quality. Workflow
|
|
These are alternative repairs for the same services-root overflow: #148885 at Both remove the same |
|
Merged via squash.
|
* commit '0cd944c01416c4f9c1f6dc9d1dea9670c5b99cab': improve: speed up session search for restricted operators (#148826) fix(update): avoid retry guidance for historical abandoned runs (#146982) fix(android): reduce queued-message send overhead (#148899) refactor(slack): count table cells only for native output (#148872) fix: correct update status and apply saved model keys (#148830) refactor(nostr): share doctor state migration flow (#148647) refactor(gateway): centralize device token denial responses (#148644) test: make kitchen sink assertions runtime portable (#148891) refactor(agents): share preferred block chunk boundaries (#148391) fix(ui): use the selected timezone for Usage date shortcuts (#148277) test: probe active Node in release preflight (#148892) fix(test): restore services typecheck shard headroom (#148889)
Post-merge correction: #148885 moved these tests to agents-tools before this PR landed. As a result, the actual merge
c84c67002fa552e057f45e22ef9efbb89ff2d979added only two redundant state/logging includes, producing duplicate ownership. The tested branch evidence below predates that overlap. #148826 removed those exact two includes and merged as0cd944c01416c4f9c1f6dc9d1dea9670c5b99cab; #148885 remains the intended secrets assignment. The actual landed source and full census were verified: 10,603 roots assigned exactly once across 19 groups, maximum 693 roots, and zero violations.What Problem This Solves
The services typecheck shard has 702 test roots, so its 700-root headroom guard fails unrelated PRs. Two independently tested shard moves combined on main: the heartbeat move in #148861 and update-family move in #148843, plus one new process test. Their combined partition exceeded the limit.
User Impact
Restore CI headroom while keeping every test root assigned exactly once. This changes no product behavior, test coverage, runner count, concurrency, or limits.
Why This Change Was Made
Move the complete secrets test family from services into the existing state/logging shard. Services drops from 702 to 619 roots; state/logging grows from 454 to 537. Both keep room below the existing guard.
Evidence
7713bc6231ccfa37f65d7261a88e1dfb7616932b.git diff --checkpassed. The formatter excludes these tsconfig files; their existing JSON style is retained.The failing timestamp PR job demonstrating the combined-main failure is checks-node-compact-small-30.