Repository navigation
fix(macos): retain Peekaboo generation across refreshes - #196192
aashish254 wants to merge 1 commit into
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: stale review; fresh review needed. Summary Next step Review history (3 earlier review cycles) |
|
Added the hosted macOS base-versus-head regression proof and focused test results to the PR description. The Gateway test transport is an in-process fixture; the body calls out that no live app or external Gateway was launched. @clawsweeper re-review |
|
@clawsweeper re-review |
|
🦞👀 Re-review progress:
|
|
🦞👀 Re-review progress:
|
1df0eda to
1108478
Compare
What Problem This Solves
Routine macOS capability refreshes rebuild the Peekaboo computer-use descriptor. A new generation on every read makes the unchanged provider look like a replacement and causes unnecessary node reconnects.
User Impact
An unchanged Peekaboo provider keeps its node connection identity across routine refreshes. Changing providers still rotates the generation and invalidates the old route.
Why This Change Was Made
The macOS node coordinator owns the Peekaboo generation for its provider lifecycle and changes it only when the selected provider changes. Existing connect-option equality and route invalidation remain in place.
Evidence
openclaw/openclaw:mainatec46689460eca425f101ef9366b6f28f881bcd54; resolved the two conflicts while preserving the upstream bounded-native-bridge test.git diff --check upstream/main...HEAD: passed.110847813b25b57dc47f722d63c3ddec5b5523d6are running: CI run. This repair session did not run the native tests locally.1df0eda5b877f3032b803974e9105e011b311d74against basece7788f5a24e5e2d0ef146a5dcea3ef4d0bb0983passed 82 tests across 4 suites: previous run. That result predates this rebase and is not current-head proof.GatewayTestWebSocketSession; they do not launch an interactive OpenClaw.app or connect to a separate live Gateway process.