Repository navigation
Conversation
…rease tunnel limits
|
Thanks for your contribution! This PR doesn't have a linked issue. All PRs must reference an existing issue. Please:
See CONTRIBUTING.md for details. |
|
The following comment was made by an LLM, it may be inaccurate: |
|
Thanks for updating your PR! It now meets our contributing guidelines. 👍 |
|
Logins also clear at each restart for me on 2.2.5. But I do not think one shared
What works for me is a partition per pane, as now, with one shared cookie jar in the main process. Each new partition gets the jar on For the maintainers: is it intended that the pane forgets logins at restart? #50382 asked about this. It was closed with the V1 issues, but it is about the V2 desktop browser. I can see one reason to keep the current behavior. The agent drives the same pane, so a saved login lets the agent act as the user on that site. |
|
Automated PR Cleanup Thank you for contributing to opencode. Due to the high volume of PRs from users and AI agents, we periodically close older PRs using automated criteria so maintainers can focus review time on the most active and community-supported contributions. This PR was closed because it matched the following cleanup criteria:
PRs created within the last month are not affected by this cleanup. If you believe this PR was closed incorrectly, or if you are still actively working on it, please leave a comment explaining why it should be reopened. A maintainer can review and reopen it if appropriate. Thanks again for taking the time to contribute. |
Issue for this PR
Closes #50382
Type of change
What does this PR do?
Resolves three issues affecting OpenCode Desktop's embedded browser pane:
opencode-browser-${crypto.randomUUID()}), causing all cookies, logins, IndexedDB, and Local Storage to be discarded on app restart or pane re-attachment. Switched topartition: "persist:opencode-browser"so Electron persists session cookies and authentication state across restarts in the persistent partition directory.did-start-navigation->close(entry)->page.dispose(), causing the browser pane to be destroyed and fully reloaded upon refocus. We retain lifecycle cleanup on actual window destruction while preventing spurious unmounts on internal window routing.sockets.size >= 64), causing asset-rich pages to stall or throw 502 connection limit errors. Raised the connection ceiling to 512.How did you verify your code works?
Partitions/opencode-browser.Screenshots / recordings
If this is a UI change, please include a screenshot or recording.
Not a UI change.
Checklist