fix(browser): stabilize signed-in browser lanes and add explicit live Chrome lane#139
Merged
Conversation
- what: - extend local CDP attach timing so the cloned signed-in `user` lane stops failing early during Playwright attach. - add explicit `user-live` existing-session lane and normalize informal `chrome` / `chrome-live` requests onto it. - update browser docs so `user` means cloned safe lane and `user-live` means the real live Chrome session. - why: - logs showed repeated `connectOverCDP` timeouts even after the local CDP websocket connected. - the product needed both a safe signed-in clone and an explicit live-browser lane instead of overloading one name. - risk: - callers using informal `chrome` naming now resolve to the live lane when it exists, which changes behavior for flows that previously assumed the cloned lane.
- what: - document that the long-lived LaunchAgent gateway and main bot must run from the `main` checkout, not a feature worktree. - add the merge-first, then restart-from-main rule to workflow and runtime operations guidance. - why: - running the live bot from a worktree build creates runtime ownership drift and invalidates repro/debug assumptions. - risk: - low; this is documentation only, but the team has to actually follow it or the footgun stays loaded.
vincentkoc
pushed a commit
that referenced
this pull request
Apr 28, 2026
…enclaw#59387) * fix: address issue #139 * changelog: add zalo replay dedupe fix entry --------- Co-authored-by: Jacob Tomlinson <jtomlinson@nvidia.com>
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.
Review Fast Path
userlane fails early on CDP attach, and explicit live-browser tasks now have a real lane instead of overloadinguser.user(start->open https://example.com->snapshot) after previous logs showed repeatedbrowserType.connectOverCDP: Timeout 9000ms exceededon the same lane.userand the real live browser are no longer conflated under one semantic bucket, and the runtime ownership rule is now easier for agents to find.user-livestill needs a post-merge smoke against the real Chrome session frommain.Why This Matters
Scope Boundary
user-livelanechromealias normalizationusersemantics remain cloned and safe by defaultuser-livemust happen after merge frommainVerification
pnpm openclaw:local browser --browser-profile user startpnpm openclaw:local browser --browser-profile user open https://example.compnpm openclaw:local browser --browser-profile user snapshot --json --timeout 60000AI Assistance