Repository navigation
refactor: remove redundant Parallels source checks - #148394
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 14, 2026, 1:13 PM ET / 17:13 UTC. ClawSweeper reviewWhat this changesRemoves redundant declaration-text assertions from Parallels smoke tests and an unused shared export, while preserving the existing smoke behavior. Merge readiness✅ Ready for maintainer review Keep open: this is a focused cleanup that remains absent from current main, with no blocking correctness findings. The maintainer label also protects it from automatic closure. Priority: P3 Review scores
Verification
How this fits togetherParallels smoke tooling installs and updates OpenClaw inside virtual machines and records the results. Its shared helpers manage packages, host servers, and fresh-install or upgrade runs. flowchart TD
A[Smoke command and options] --> B[Platform smoke controller]
B --> C[Shared package and host helpers]
B --> D[Direct lane runner import]
C --> E[Virtual machine checks]
D --> E
E --> F[Pass or fail results]
Before mergeNone. Agent review detailsSecurityNone. PR surfaceTests -10, Other -1. Total -11 across 2 files. View PR surface stats
Review metricsNone. Technical reviewBest possible solution: Keep direct lane-runner imports and the independent behavioral guards without preserving declaration-spelling checks. Do we have a high-confidence way to reproduce the issue? Not applicable: this is test and tooling cleanup, with no reported runtime defect; source inspection verifies the redundant assertions and unused export. Is this the best way to solve the issue? Yes: removing the unused export alongside its source assertion is a narrow cleanup, and the meaningful packaging and lifecycle guards remain intact. AGENTS.md: found and applied where relevant. Codex review notes: model internal, reasoning medium; reviewed against 9d3d31c3bd68. LabelsLabel changes:
Label justifications:
EvidenceWhat I checked:
Likely related people:
Rating scale
Overall follows the weaker of proof and patch quality. Workflow
|
|
Merged via squash.
|
* origin/main: perf(secrets): keep pure helpers out of file writer imports (#148096) perf(models): normalize suppression policy once per compilation (#148428) test: route provider integration and wizard recovery tests correctly (#148504) test: reuse prepared bundled plugins in startup corpus (#148465) fix(agents): attribute tool preparation delays to the correct stages (#148349) refactor: remove redundant Parallels source checks (#148394) fix(test): avoid timeout failures before descendant readiness (#148410) fix: open browser side panel without creating a dashboard (#148471)
What Problem This Solves
Parallels smoke tests repeat declaration-spelling checks already covered by real imports and behavioral tests.
User Impact
No user-visible behavior changes. All 111 cases and the independent packaging, lock, safe-filename and lifecycle guards remain.
Why This Change Was Made
Remove seven redundant declaration checks and an unused lane-runner re-export that only a source assertion required. Both real consumers already import the lane runner directly. This removes ten net test lines and one tooling line without adding a replacement abstraction.
Evidence
All 111 Parallels smoke-model cases passed on Node 24.19.0 after a normal frozen pnpm 12.3.4 install. Source and caller inspection confirm the retained imports and behavior tests cover the removed declarations. Independent review passed through P2. The mapped script and root-test checks passed. No runtime improvement is claimed.