Skip to content

fix(macos): retain Peekaboo generation across refreshes - #196192

Open
aashish254 wants to merge 1 commit into
openclaw:mainfrom
aashish254:fix/retain-peekaboo-generation-on-refresh
Open

aashish254 wants to merge 1 commit into
openclaw:mainfrom
aashish254:fix/retain-peekaboo-generation-on-refresh

Conversation

@aashish254

@aashish254 aashish254 commented Nov 9, 2026 •

Copy link
Copy Markdown
Contributor

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

  • Rebased onto openclaw/openclaw:main at ec46689460eca425f101ef9366b6f28f881bcd54; resolved the two conflicts while preserving the upstream bounded-native-bridge test.
  • git diff --check upstream/main...HEAD: passed.
  • Current-head checks for 110847813b25b57dc47f722d63c3ddec5b5523d6 are running: CI run. This repair session did not run the native tests locally.
  • Historical hosted macOS proof for the prior head 1df0eda5b877f3032b803974e9105e011b311d74 against base ce7788f5a24e5e2d0ef146a5dcea3ef4d0bb0983 passed 82 tests across 4 suites: previous run. That result predates this rebase and is not current-head proof.
  • The native tests use an in-process GatewayTestWebSocketSession; they do not launch an interactive OpenClaw.app or connect to a separate live Gateway process.

@clawsweeper

clawsweeper Bot commented Nov 9, 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.

@clawsweeper clawsweeper Bot added clawsweeper:intake:bug Preliminary submission classification; full source review pending. clawsweeper:intake:needs-repro Preliminary submission classification; full source review pending. P2 Normal backlog priority with limited blast radius. rating: 🧂 unranked krab Not merge-ready due to missing proof or serious correctness/safety concerns. status: 📣 needs proof The PR needs real behavior proof before ClawSweeper can clear the contributor ask. and removed clawsweeper:intake:bug Preliminary submission classification; full source review pending. clawsweeper:intake:needs-repro Preliminary submission classification; full source review pending. labels Nov 9, 2026
@clawsweeper

clawsweeper Bot commented Nov 9, 2026 •

Copy link
Copy Markdown
Contributor

Codex review: stale review; fresh review needed.

Summary
The latest durable ClawSweeper review was for head 1df0eda5b877f3032b803974e9105e011b311d74, but the PR head is now 110847813b25b57dc47f722d63c3ddec5b5523d6. Its old verdict and PR readiness labels are no longer current.

Next step
Comment @clawsweeper re-review when the current head is ready; pushes after the first review are not reviewed automatically.

Review history (3 earlier review cycles)
  • reviewed 2026-11-09T18:52:06.389Z sha 1df0eda :: needs real behavior proof before merge. :: none
  • reviewed 2026-11-10T08:23:24.367Z sha 1df0eda :: needs real behavior proof before merge. :: none
  • reviewed 2026-11-10T09:54:47.380Z sha 1df0eda :: needs real behavior proof before merge. :: none

@aashish254

Copy link
Copy Markdown
Contributor Author

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

@aashish254

Copy link
Copy Markdown
Contributor Author

@clawsweeper re-review

@clawsweeper

clawsweeper Bot commented Nov 10, 2026 •

Copy link
Copy Markdown
Contributor

🦞👀
Exact review queued.

Re-review progress:

@clawsweeper clawsweeper Bot added clawsweeper:intake:bug Preliminary submission classification; full source review pending. clawsweeper:intake:needs-repro Preliminary submission classification; full source review pending. and removed clawsweeper:intake:bug Preliminary submission classification; full source review pending. clawsweeper:intake:needs-repro Preliminary submission classification; full source review pending. labels Nov 10, 2026
@clawsweeper

clawsweeper Bot commented Nov 10, 2026 •

Copy link
Copy Markdown
Contributor

🦞👀
Exact review queued.

Re-review progress:

@clawsweeper clawsweeper Bot added clawsweeper:intake:bug Preliminary submission classification; full source review pending. clawsweeper:intake:needs-repro Preliminary submission classification; full source review pending. and removed clawsweeper:intake:bug Preliminary submission classification; full source review pending. clawsweeper:intake:needs-repro Preliminary submission classification; full source review pending. labels Nov 10, 2026
@aashish254
aashish254 force-pushed the fix/retain-peekaboo-generation-on-refresh branch from 1df0eda to 1108478 Compare November 13, 2026 21:08
@clawsweeper clawsweeper Bot removed rating: 🧂 unranked krab Not merge-ready due to missing proof or serious correctness/safety concerns. status: 📣 needs proof The PR needs real behavior proof before ClawSweeper can clear the contributor ask. labels Nov 16, 2026

This branch has not been deployed

No deployments
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

app: macos App: macos P2 Normal backlog priority with limited blast radius. size: S

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant