Repository navigation
fix(browser): keep side-panel pages available in background sessions - #1843
Merged
Merged
Conversation
Decouple browser execution from side-panel presentation so switching conversations, collapsing the panel, or reloading the renderer no longer interrupts a session's page. Preserve trusted session routing and sandbox boundaries while retaining a hidden native backing host for Chromium. Cover background input, capture, renderer recovery, and resource cleanup with regression and native Electron tests.
Owner
Author
|
PR integration validation passed on merge ref |
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.
Summary
Keep the browser in the side work panel while making its session-owned page execution independent of panel visibility, conversation selection, Settings navigation, and renderer reload.
Browser page-count indicators and cross-session sharing are not included. No database migration, restart DOM persistence, or raw-CDP permission expansion.
Task candidate validation
c3e0bbdad717bbf9132858ad977fc4fd30777b0420e8e1c0a39f68849891807125a1f38e7bad7fd4e2e-browser-background.mjs,e2e-browser-capture-resize.mjs,e2e-browser-local-file-access.mjs.Environment: macOS, Electron 43.6.0 / Chromium 150.0.7871.250, Node 24.14.0. Existing host dependencies/Rust binary reused, synthetic profiles and artifacts isolated in scratch. No real provider requests, credentials, or paid APIs.
verify:ui:*was not run; Rust source is unchanged. The repository CI validates Linux/Windows and the PR integration gates. An optional secondary review was cancelled without a final report; no review result is claimed.