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. |
Merge the reviewed three-line repair from #152133 so cloud-startup presentation CI can load the existing SQLite test suites. Preserve the original repair commit and all test assertions.
|
Codex review: needs maintainer review before merge. Reviewed September 18, 2026, 4:22 PM ET / 20:22 UTC. ClawSweeper reviewWhat this changesRemoves duplicate promisify declarations from three SQLite test mock factories so the files can compile and load again. Merge readiness✅ Ready for maintainer review This remains a useful, narrowly scoped repair: fetched main still contains the duplicate declarations, and the patch removes them without weakening coverage. No actionable correctness or security findings. Priority: P2 Review scores
Verification
How this fits togetherOpenClaw’s SQLite tests exercise snapshot workers, cancellation, and cleanup through child processes. Their mock factories preserve native process behavior while allowing tests to observe and reset calls. flowchart LR
A[SQLite test suites] --> B[Child-process mock factories]
B --> C[Single local utility binding]
C --> D[Native process behavior]
D --> E[Snapshot and cancellation assertions]
Before mergeNone. Agent review detailsSecurityNone. PR surfaceTests -3. Total -3 across 3 files. View PR surface stats
Review metricsNone. 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 one factory-local utility binding while preserving the existing native promisifier descriptor and reset regression. Do we have a high-confidence way to reproduce the issue? Yes, from source: fetched main declares the same const binding twice in each affected factory, preventing compilation. Tests were not executed during this read-only review. Is this the best way to solve the issue? Yes. Removing only the redundant declarations directly repairs compilation while retaining the intended mock behavior and all existing assertions. AGENTS.md: found and applied where relevant. Codex review notes: model internal, reasoning medium; reviewed against 47c4fbcb20d2. LabelsLabel changes:
Label justifications:
EvidenceWhat I checked:
Likely related people:
Rating scale
Overall follows the weaker of proof and patch quality. Workflow
|
|
Closing as already fixed on main by #152028, merged at 3fceb86. That commit includes the same three duplicate-declaration removals; comparison against this PR's reviewed head 1bc3482 is empty for all three affected files. The resulting blobs match exactly:
This PR's exact-head CI, scoped state/logging type graph, existing execFile reset/promisify regression, and independent review all passed. The native merge gate correctly stopped before dispatch because the squash would produce no net change. This PR is closed as redundant, not merged. |
What Problem This Solves
Fixes SQLite test compilation failures in CI caused by duplicate declarations in three child-process mock factories.
Related: #152126, #151366, #152064.
User Impact
There is no user-visible or runtime behavior change. SQLite tests, type checks, and boundary lint can load these test files again.
Why This Change Was Made
Two merged changes introduced the same
promisifybinding into each factory. Remove only the second declaration, preserving the existing custom promisifier descriptor, Vitest reset ownership, and all assertions.Evidence
test/tsconfig/tsconfig.core.test.state-logging.jsonTypeScript graph passes.keeps execFile resettable while preserving promisified stdout and stderrregression passes; all three affected files were collected (1 test passed, 80 unrelated tests skipped).git diff --checkpass.