Repository navigation
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 13, 2026, 4:29 AM ET / 08:29 UTC. ClawSweeper reviewWhat this changesRepairs sidebar tests’ shared promise imports and moves session-tool and worktree tests between existing compiler graphs to restore CI headroom. Merge readiness✅ Ready for maintainer review The graph rebalance remains useful on current main, and no actionable patch defect was found. The sidebar correction already landed separately. This maintainer-protected PR should remain open for normal landing. Priority: P2 Review scores
Verification
How this fits togetherOpenClaw’s CI partitions test files into compiler graphs to bound typechecking workloads. Sidebar regression tests separately use shared promise fixtures to control delayed responses and verify session selection. flowchart TD
A[Agent test files] --> B[Compiler graph ownership]
B --> C[Other agent tests]
B --> D[Tool and worktree tests]
C --> E[Root inventory and type checks]
D --> E
F[Shared promise fixture] --> G[Sidebar scope regressions]
Before mergeNone. Agent review detailsSecurityNone. PR surfaceTests +4, Docs 0. Total +4 across 5 files. View PR surface stats
Review metrics
Technical reviewBest possible solution: Retain the existing graph owners and root limits while restoring headroom through complete cohort moves and using the canonical promise helper. Do we have a high-confidence way to reproduce the issue? Yes, from source: the unchanged inventory guard rejects more than 700 roots, and read-only enumeration matches the reported 702-root pre-rebalance partition. Compiler and test execution were not performed during this review. Is this the best way to solve the issue? Yes. Moving complete cohorts between existing graphs preserves coverage and limits, and the sidebar imports reuse the established shared helper without restoring a retired alias. AGENTS.md: found and applied where relevant. Codex review notes: model internal, reasoning medium; reviewed against ce6718fd82a4. LabelsLabel changes:
Label justifications:
EvidenceWhat I checked:
Likely related people:
Rating scale
Overall follows the weaker of proof and patch quality. Workflow
|
|
Superseded on |
|
Both reported failures are fixed on main: #146862 completed the sidebar helper migration, and #146803 moved the managed-worktree tests into the existing tool graph. Verified main Closing as superseded. The Swarm repair and remaining component PRs continue in #130741. |
Related: #130741
What Problem This Solves
Fixes two main-branch failures that block otherwise unrelated PRs: four sidebar tests still import a removed deferred-promise helper, and the agent test-type inventory exceeds its 700-root headroom guard.
Why This Change Was Made
Complete the existing sidebar migration to the shared promise helper. Move the complete session-tool and worktree test cohorts from
agents-otherto the existingagents-toolscompiler graph, where the other tool and sandbox tests already live.User Impact
The sidebar regressions run again, and the existing type graphs regain headroom. Production behavior, test assertions, root limits, workflow jobs, stripe assignments and compiler concurrency remain unchanged.
Evidence
All four sidebar cases reproduced the missing-helper failure on main and passed after the import correction. The unchanged inventory guard reproduced 702 roots in
agents-other; after rebalancing, that graph has 652 andagents-toolshas 436. All canonical test roots remain assigned exactly once.The 24 shard-owner tests and both affected compiler graphs pass. Both component patches received isolated P1 review with no actionable findings. The graph compiler closures do not include the sidebar files; the five-file composition retains the reviewed component bytes.
The sidebar component passed its full canonical changed checks. The combined source passed the real inventory guard; other local component checks are reused for unchanged inputs. Full checks will run against the published PR head before landing.