Repository navigation
fix(browser): stop shared profiles from mixing session tabs - #158558
roboclaw-bot wants to merge 2 commits into
Conversation
Worked on by: - @vyctorbrzezowski Co-authored-by: vyctorbrzezowski <[email protected]> OpenClaw-Publication: b8859b27-6d84-4355-8d82-aa14238325ef
|
🦞👀 Pull request received. I will update this pull request when review starts. ClawSweeper review blockedAutomated review did not run, so no review verdict was produced. Reason: The input-safety check rejected material in this revision. No detected value, path, or scanner output is reproduced here. Automatic review is on hold, including after source changes. Request a fresh re-review after resolving the failure; maintainers can also release the hold through an intentional scanner-policy update. Next step: If this is a genuine credential, remove and rotate it. If it is an intentional test fixture, a maintainer must review and qualify it. |
Worked on by: - @vyctorbrzezowski Co-authored-by: vyctorbrzezowski <[email protected]> OpenClaw-Publication: 0e901f7e-e057-4860-98a9-5ce4f7740fe1
|
This pull request has been automatically marked as stale due to inactivity. |
What Problem This Solves
Fixes browser panels and tab-targeted agent actions mixing tabs from different conversations when they share a browser profile.
User Impact
Each conversation lists, selects, and acts on its associated tabs. Browser profiles, cookies, and logins remain shared; this does not launch a separate browser per chat. Global administrative and CLI browser controls remain global. Tabs without a provable current-session association are not automatically adopted. Update paired browser nodes alongside the Gateway; older nodes reject scoped routes rather than falling back to global tab access.
Why This Change Was Made
The selected tab was session-specific, but the underlying tab list came from the whole profile. This applies the existing tab registry and session lifetime to both UI requests and ordinary browser tools. Ownership follows the exact session revision, native popup provenance, and the captured node route. Failed opens clean up only their own allocation and registration, without closing a replacement or dashboard-owned tab.
Evidence
pnpm buildpassed for the unchanged production code, including SDK declarations, plugin packaging, and Control UI performance budgets. Original independent-review findings were addressed and regression-tested; a fresh P0–P2 autoreview of the test reduction found no actionable issues.Browser panel regression
Before
After
Visual evidence uses the real browser panel in Chromium with synthetic test pages. Backend/node scenarios exercise registered handlers and the native command dispatcher with controlled CDP responses, not a live remote host. No authenticated website login flow was exercised.
Worked on by
Work sessions
View the OpenClaw team session