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 real behavior proof before merge. Reviewed September 23, 2026, 7:10 AM ET / 11:10 UTC. ClawSweeper reviewWhat this changesRepairs tooling test fixtures by including required imports and dependencies and updating assertions for the existing trusted warning-relay checkout. Merge readiness⛔ Blocked before merge - 2 items remain Keep open: this is a focused repair for fixture failures still present on fetched main. No introduced correctness or security defect was found. Priority: P2 Review scores
Verification
How this fits togetherOpenClaw’s tooling tests exercise build launchers, package restoration, and installation workflows. Their isolated fixtures must supply the dependencies those tools use so failures reflect broken behavior rather than incomplete test setup. flowchart TD
A[Tooling source and workflows] --> B[Isolated test fixtures]
C[Required modules and dependencies] --> B
B --> D[Run tooling entry points]
D --> E[Check cleanup and restoration]
A --> F[Check trusted checkout identity]
E --> G[Developer validation results]
F --> G
Before merge
Agent review detailsSecurityNone. PR surfaceTests +20. Total +20 across 3 files. View PR surface stats
Review metricsNone. Technical reviewBest possible solution: Keep the fixtures aligned with existing tooling dependencies while preserving independent cleanup, restoration, and trusted-checkout assertions. Do we have a high-confidence way to reproduce the issue? Yes, from source: current-main fixtures omit required imports and assert that existing workflow outputs are absent. The author reports a failing-before/passing-after run; this read-only review did not execute tests. Is this the best way to solve the issue? Yes: supplying existing dependencies, reusing the import-closure owner, and checking the actual workflow identity contract repairs setup without weakening the behavioral assertions. AGENTS.md: found and applied where relevant. Codex review notes: model internal, reasoning medium; reviewed against 0c7d77cd47ab. LabelsLabel changes:
Label justifications:
EvidenceWhat I checked:
Likely related people:
Rank-up movesOptional improvements that raise the rating; they are not merge blockers.
Rating scale
Overall follows the weaker of proof and patch quality. Workflow
|
|
Superseded by Peter’s merged #156136, commit Verified on unchanged main node scripts/run-vitest.mjs test/scripts/dist-artifact-ownership.test.ts test/scripts/install-smoke-no-push-workflow.test.ts test/scripts/ocm-npm-workspace-deps.test.ts58/58 passed, no skips. File test times: dist ownership 30 tests / 60.846s; install-smoke workflow 13 / 5.141s; OCM workspace packaging 15 / 2.431s. Complete wrapper wall time: 68.21s, Node 24/macOS. Task-private fixtures were cleaned and observed SQLite opens were confined to a private task root. The landed code supplies JSON5 to both affected lint fixtures, includes the missing changelog helper while retaining exact restoration/backup-removal assertions, and verifies emitted workflow identity plus the pinned warning relay. Wrong-repository/malformed-SHA and transport checks remain. Independent review audited all three complete files and the exact PR-to-main differences, found no actionable P0–P2 issues, and confirmed no required behavior from this PR is missing on tested main. The same three file blobs were verified on later main Closing as superseded, not merging duplicate fixture repairs. The original head remains |
Related: #139428
What Problem This Solves
Tooling CI fails because copied test fixtures omit newly imported modules and a workflow assertion predates the trusted warning-relay checkout.
User Impact
Restores these developer checks with no product behavior change.
Why This Change Was Made
The legacy changelog fixture now copies the existing runtime import closure, and lint-launcher fixtures include the already-declared JSON5 dependency. Workflow checks verify the emitted trusted identity and its pinned warning-relay checkout while retaining the other bootstrap checks. Existing process, artifact-cleanup, and legacy-restoration assertions remain in place.
Evidence
The original three complete files reproduced seven failures across 58 tests. The repaired files passed all 58 with zero skips on Node 24.19/macOS through the normal test wrapper. Both runs cleaned up their temporary state. Required mapped checks and independent review passed.
The change adds 20 net test lines; no runtime improvement is claimed. Separate SwiftLint and Gateway CI repairs remain pending, so this PR is initially a draft.