Repository navigation
refactor(mac): remove orphaned IPC request codec - #126267
Merged
Merged
Conversation
Contributor
|
🦞👀 Pull request received. I will update this pull request when review starts. |
steipete
marked this pull request as ready for review
August 19, 2026 08:48
Contributor
Author
|
Land-ready verification for exact head
Known proof gap: ClawSweeper's exact-review worker remains on its review-start placeholder beyond its published lease. The latest comment contains no No app launch, signing, live Gateway, or operator-state mutation was used because this deletes an unreachable codec and changes no runtime behavior or protocol. |
Contributor
Author
|
Merged via squash.
|
github-actions Bot
pushed a commit
to Desicool/openclaw
that referenced
this pull request
Aug 20, 2026
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
What Problem This Solves
The macOS package still carried the legacy
OpenClawIPC.Requestwire codec and two tests that only round-tripped that dead codec after the Unix control socket and old mac CLI were removed in849446ae177.Why This Change Was Made
Delete the orphaned
Request/CanvasA2UICommandtypes and their self-generated camera/canvas codec tests. Current camera and canvas commands continue to enterMacNodeRuntimethrough the GatewayBridgeInvokeRequestenvelope and canonicalOpenClawCamera*Params/OpenClawCanvas*Params; retainedOpenClawIPCresponse, capability, camera-facing, placement, and canvas result/status types are unchanged.This is an AI-assisted, maintainer-requested test-audit cleanup. Production LOC: +0/-294 (net -294). Tests: +0/-102 (net -102).
User Impact
No user-visible or runtime behavior changes. No Gateway protocol, generated type, schema, config, dependency, release, or app-state changes.
Evidence
Consumer and history proof:
OpenClawIPC.RequestorCanvasA2UICommandconsumer.849446ae177removed the only production owners:ControlSocketServer,ControlRequestHandler, and the legacy mac CLI.RequestinCameraPTZNativeControllerremains intact.CameraCaptureServiceTests,CanvasManagerVisibilityTests,CanvasWindowSmokeTests, andMacNodeRuntimeTests.Validation:
./scripts/format-swift.sh macos./scripts/lint-swift.sh macosswift test --package-path apps/macos --filter 'CameraCaptureServiceTests|CanvasManagerVisibilityTests|CanvasWindowSmokeTests|MacNodeRuntimeTests'(44 tests passed)swift test --package-path apps/macos --parallel(passed)swift build --package-path apps/macos --product OpenClaw --configuration release(passed)node scripts/check-changed.mjs -- apps/macos/Sources/OpenClawIPC/IPC.swift apps/macos/Tests/OpenClawIPCTests/CameraIPCTests.swift apps/macos/Tests/OpenClawIPCTests/CanvasIPCTests.swift(passed, including macOS CI shards and native-state schema guard)git diff --check.agents/skills/autoreview/scripts/autoreview --mode local(Codex, clean; no findings)No app launch, signing, live Gateway, or operator-state mutation was used because the removed codec is unreachable and this change does not alter a running behavior path.