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 17, 2026, 11:22 PM ET / September 18, 2026, 03:22 UTC. ClawSweeper reviewWhat this changesThe PR makes tooling-test changes select the workflow-routing regression suite, updates two expected test inventories, and documents the selection rule. Merge readiness✅ Ready for maintainer review Keep open: current main contains the corrected expectation lists, but the preventive routing guard remains useful and unimplemented. No actionable patch defect was found; this maintainer-directed PR is also protected from automatic closure. Priority: P2 Review scores
Verification
How this fits togetherOpenClaw’s CI planner converts changed repository paths into test jobs. Policy watches supplement import-based discovery so tests that inspect repository inventories run when those inventories change. flowchart LR
A[Changed repository paths] --> B[CI test planner]
B --> C[Ordinary test discovery]
B --> D[Inventory policy watches]
C --> E[Combined test targets]
D --> E
E --> F[CI test jobs]
Before mergeNone. Agent review detailsSecurityNone. PR surfaceTests +11, Docs +1, Other +4. Total +16 across 4 files. View PR surface stats
Review metricsNone. Technical reviewBest possible solution: Keep inventory-dependent routing checks in the existing policy-watch owner while preserving each changed test’s normal coverage. Do we have a high-confidence way to reproduce the issue? Yes, from source: current main routes an ordinary changed tooling test to itself without adding the inventory-dependent routing suite. The PR reports a failing-before regression; this read-only review did not execute it. Is this the best way to solve the issue? Yes. Extending the existing additive policy-watch mechanism is a narrow repair that preserves ordinary discovery and avoids a competing routing implementation. AGENTS.md: found and applied where relevant. Codex review notes: model internal, reasoning medium; reviewed against 448d5f35e000. LabelsLabel justifications:
EvidenceWhat I checked:
Likely related people:
Rating scale
Overall follows the weaker of proof and patch quality. Workflow
|
…151339) Restore filesystem import-boundary, workflow-routing, and full-suite inventory guards after the changes in #151302, #151282, and #151001. Route native filesystem configuration through the existing facade, register the recovery and Codex attempt tests in their existing owners, and select those guards when their inventory inputs change. Includes the reviewed routing repair from #151340 with its original human authorship preserved. Finalize the existing Gateway serial admission and two-worker ceiling before runtime placement reads recipient policy. This preserves compact worker limits when inventory changes without changing timing measurements, original compaction assertions, configuration, dependencies, or user-facing runtime behavior. Validation: exact-head CI run 35306657804 completed green; the native watcher exited 0 with no pending checks. Retained focused proof passed 1,591 tests across six files, with both new placement regressions failing before the repair and all four placement cases passing after it. Committed-branch review found no actionable defects. The pre-existing diagnostics test-support lint issue from #151161 remains an explicitly nonblocking follow-up.
|
Folded into #151339 (landed on |
…penclaw#151339) Restore filesystem import-boundary, workflow-routing, and full-suite inventory guards after the changes in openclaw#151302, openclaw#151282, and openclaw#151001. Route native filesystem configuration through the existing facade, register the recovery and Codex attempt tests in their existing owners, and select those guards when their inventory inputs change. Includes the reviewed routing repair from openclaw#151340 with its original human authorship preserved. Finalize the existing Gateway serial admission and two-worker ceiling before runtime placement reads recipient policy. This preserves compact worker limits when inventory changes without changing timing measurements, original compaction assertions, configuration, dependencies, or user-facing runtime behavior. Validation: exact-head CI run 35306657804 completed green; the native watcher exited 0 with no pending checks. Retained focused proof passed 1,591 tests across six files, with both new placement regressions failing before the repair and all four placement cases passing after it. Committed-branch review found no actionable defects. The pre-existing diagnostics test-support lint issue from openclaw#151161 remains an explicitly nonblocking follow-up.
Related: #151282, #151319. Maintainer-directed update-reliability campaign, lane L683, red-main class #90.
What Problem This Solves
Fixes workflow-routing expectation failures after a new tooling test lands, as seen in checks-node-compact-small-45.
User Impact
No user-visible runtime change. CI checks routing expectations on PRs that add or modify tooling tests, so inventory drift can fail before merge. Update, rollback, and release behavior are unchanged.
Why This Change Was Made
#151282 (
b10b53175) addedopenclaw-npm-plugin-recovery-workflow.test.ts. Workflow-reference discovery already selected it correctly, but the CI-workflow and npm-release-workflow expectations omitted it. Both exact lists now include the recovery test.The existing CI policy-watch owner also selects
test-projects.test.tsfortest/scripts/**/*.test.tschanges. This adds the inventory guard while preserving each changed test's own coverage; it does not add a competing discovery path or weaken assertions.Evidence
createChangedNodeTestShardsregression failed before the policy-watch change because it selected only the recovery test. It now selects that test and the routing guard.node scripts/run-vitest.mjs test/scripts/test-projects.test.ts test/scripts/ci-changed-node-test-plan.test.ts test/scripts/ci-node-test-plan.test.ts --reporter=dot: 3 files / 1,159 tests passed.pnpm check:changed: passed, including script/root-test typechecks, changed-file lint, line-cap ratchet, and dead-export scans. No suppressions or baseline changes.--mode branch --base origin/main --max-priority P1.Exact-head CI status
For head
0917869ede1a3ec500ea4b1aab271878556024ad,node scripts/watch-pr-ci.mjsattached to run 35302166041 and terminated with FAILING (exit 15); 74 checks were still pending at that observation. This is not a green CI claim.The two observed failures are outside this diff:
src/infra/fs-safe-import-boundary.test.tsreports a direct import insrc/test-utils/symlink-rebind-race.ts.src/gateway/server-methods/sessions-mutations.catalog-queue.test.tsexpectsUNAVAILABLEbut receivesINVALID_REQUESTfor an unsupported extended context-window request.Fetched each failed job log once. No CI rerun or landing was attempted. ClawSweeper review was still in progress at handoff.