Skip to content

refactor: remove redundant Parallels source checks - #148394

Merged
steipete merged 1 commit into
mainfrom
codex/test-parallels-source-checks
Sep 14, 2026
Merged

steipete merged 1 commit into
mainfrom
codex/test-parallels-source-checks

Conversation

@steipete

Copy link
Copy Markdown
Contributor

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.

@clawsweeper

clawsweeper Bot commented Sep 14, 2026 •

Copy link
Copy Markdown
Contributor

🦞👀
ClawSweeper picked this up.

Pull request received. I will update this pull request when review starts.

ClawSweeper review complete

ClawSweeper finished reviewing this revision. The review result is being finalized.

View the workflow run.

@steipete
steipete marked this pull request as ready for review September 14, 2026 16:49
@openclaw-barnacle openclaw-barnacle Bot added scripts Repository scripts size: XS maintainer Maintainer-authored PR labels Sep 14, 2026
@clawsweeper clawsweeper Bot added P3 Low-priority cleanup, docs, polish, ergonomics, or speculative work. rating: 🐚 platinum hermit Good normal PR readiness with ordinary maintainer review expected. status: 👀 ready for maintainer look ClawSweeper has no concrete contributor-facing blocker left for this PR. labels Sep 14, 2026
@clawsweeper

clawsweeper Bot commented Sep 14, 2026

Copy link
Copy Markdown
Contributor

Codex review: needs maintainer review before merge. Reviewed September 14, 2026, 1:13 PM ET / 17:13 UTC.

ClawSweeper review

What this changes

Removes 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
Reviewed head: fc99e66e8b346cf867593a08bf790014bdbd3b4f

Review scores

Measure Result What it means
Overall readiness 🐚 platinum hermit (4/6) A focused cleanup with intact consumers and meaningful coverage, supported by reported targeted validation and no blocking findings.
Proof confidence 🌊 off-meta tidepool Not applicable: The supplied repository state identifies a member-authored internal cleanup with no runtime or authority change; the reported 111-case pass is supplemental validation, not a claimed live Parallels run.
Patch quality 🐚 platinum hermit (4/6) No actionable review findings were identified.

Verification

Check Result Evidence
Real behavior Not applicable Not applicable: The supplied repository state identifies a member-authored internal cleanup with no runtime or authority change; the reported 111-case pass is supplemental validation, not a claimed live Parallels run.
Evidence reviewed 7 items Introduced change verified: The pinned merge-base-to-head diff removes only the lane-runner re-export and redundant source assertions or their unused fixture entries.
Existing consumers bypass the removed export: Repository-wide reference inspection found the two actual lane-runner consumers in macos-smoke.ts and smoke-common.ts; both already import directly from lane-runner.ts.
Meaningful guards remain: The full test file retains package export boundaries, build locking, unsafe-filename guards, npm output-shape tests, lock cleanup tests, VM lifecycle checks, and host-server termination/startup checks. The removed declaration spellings add no independent behavior contract.
Findings None None.
Security None None.

How this fits together

Parallels 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]
Loading

Before merge

None.

Agent review details

Security

None.

PR surface

Tests -10, Other -1. Total -11 across 2 files.

View PR surface stats
Area Files Added Removed Net
Source 0 0 0 0
Tests 1 0 10 -10
Docs 0 0 0 0
Config 0 0 0 0
Generated 0 0 0 0
Other 1 0 1 -1
Total 2 0 11 -11

Review metrics

None.

Technical review

Best 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.

Labels

Label changes:

  • add P3: This removes redundant internal test coupling without changing user-visible behavior.
  • add rating: 🐚 platinum hermit: Overall readiness is 🐚 platinum hermit; proof is 🌊 off-meta tidepool and patch quality is 🐚 platinum hermit.
  • add status: 👀 ready for maintainer look: ClawSweeper has no concrete contributor-facing blocker left for this PR. Not applicable: The supplied repository state identifies a member-authored internal cleanup with no runtime or authority change; the reported 111-case pass is supplemental validation, not a claimed live Parallels run.

Label justifications:

  • P3: This removes redundant internal test coupling without changing user-visible behavior.
  • rating: 🐚 platinum hermit: Overall readiness is 🐚 platinum hermit; proof is 🌊 off-meta tidepool and patch quality is 🐚 platinum hermit.
  • status: 👀 ready for maintainer look: ClawSweeper has no concrete contributor-facing blocker left for this PR. Not applicable: The supplied repository state identifies a member-authored internal cleanup with no runtime or authority change; the reported 111-case pass is supplemental validation, not a claimed live Parallels run.

Evidence

What I checked:

  • Introduced change verified: The pinned merge-base-to-head diff removes only the lane-runner re-export and redundant source assertions or their unused fixture entries. (scripts/e2e/parallels/common.ts:5, fc99e66e8b34)
  • Existing consumers bypass the removed export: Repository-wide reference inspection found the two actual lane-runner consumers in macos-smoke.ts and smoke-common.ts; both already import directly from lane-runner.ts. (scripts/e2e/parallels/macos-smoke.ts:44, fc99e66e8b34)
  • Meaningful guards remain: The full test file retains package export boundaries, build locking, unsafe-filename guards, npm output-shape tests, lock cleanup tests, VM lifecycle checks, and host-server termination/startup checks. The removed declaration spellings add no independent behavior contract. (test/scripts/parallels-smoke-model.test.ts:887, fc99e66e8b34)
  • Cleanup remains necessary on main: The fetched main revision still contains the re-export and deleted assertions; comparison against the reviewed head yields the same focused cleanup. No implemented-on-main conclusion is supported. (scripts/e2e/parallels/common.ts:6, 9d3d31c3bd68)
  • Area-history routing: Current-main path history includes Peter Steinberger's Parallels smoke repair and recent test-boundary cleanup. Exact source-line attribution could not be completed because historical blobs were unavailable; no introduction claim is made. (test/scripts/parallels-smoke-model.test.ts, fea7243b8b2e)
  • Validation and protected status: The supplied PR body reports all 111 cases and mapped checks passing. Live metadata confirms the reviewed head is open, unmerged, and labeled maintainer. This review ran no tests; diff whitespace validation passed and the checkout remained clean. (fc99e66e8b34)

Likely related people:

  • steipete: Suggested for follow-up; no historical authorship or introduction is verified. (role: unverified routing candidate; confidence: low)

Rating scale

Score Internal tier Crab rank Meaning
6/6 S 🦀 challenger crab Exceptional readiness
5/6 A 🦞 diamond lobster Very strong readiness
4/6 B 🐚 platinum hermit Good normal PR; ordinary maintainer review
3/6 C 🦐 gold shrimp Useful, but confidence is limited
2/6 D 🦪 silver shellfish Proof or implementation needs work
1/6 F 🧂 unranked krab Not merge-ready
N/A NA 🌊 off-meta tidepool Rating does not apply

Overall follows the weaker of proof and patch quality.
Shiny media proof means a screenshot, video, or linked artifact directly shows the changed behavior. Runtime, network, CSP, and security claims still need visible diagnostics.

Workflow

  • ClawSweeper keeps one durable marker-backed review comment per issue or PR.
  • Re-runs edit this comment so the latest verdict, findings, and automation markers stay together instead of adding duplicate bot comments.
  • A fresh review can be triggered by eligible @clawsweeper re-review comments, exact-item GitHub events, scheduled/background review runs, or manual workflow dispatch.
  • PR/issue authors and users with repository write access can comment @clawsweeper re-review or @clawsweeper re-run on an open PR or issue to request a fresh review only.
  • Maintainers can also comment @clawsweeper review to request a fresh review only.
  • Fresh-review commands do not start repair, autofix, rebase, CI repair, or automerge.
  • Maintainer-only repair and merge flows require explicit commands such as @clawsweeper autofix, @clawsweeper automerge, @clawsweeper fix ci, or @clawsweeper address review.
  • Maintainers can comment @clawsweeper explain to ask for more context, or @clawsweeper stop to stop active automation.

@steipete
steipete merged commit e1c6a05 into main Sep 14, 2026
123 of 133 checks passed
@steipete
steipete deleted the codex/test-parallels-source-checks branch September 14, 2026 20:24
@steipete

Copy link
Copy Markdown
Contributor Author

Merged via squash.

vincentkoc added a commit that referenced this pull request Sep 14, 2026
* 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)
github-actions Bot pushed a commit to Desicool/openclaw that referenced this pull request Sep 15, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

maintainer Maintainer-authored PR P3 Low-priority cleanup, docs, polish, ergonomics, or speculative work. rating: 🐚 platinum hermit Good normal PR readiness with ordinary maintainer review expected. scripts Repository scripts size: XS status: 👀 ready for maintainer look ClawSweeper has no concrete contributor-facing blocker left for this PR.

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant