Files
orca/src/main/runtime
Kelvin Amoaba 5c2bfed948 fix(browser): find a hidden tab on the first agent command after a window reload (#36307)
* fix(browser): find a hidden tab on the first agent command after a window reload

Right after a renderer reload, the first agent browser command on a hidden
tab failed with browser_tab_not_found. Main sent browser:activateView before
the reloaded renderer had restored its tabs, so nothing mounted; and the
bridge reused the page's agent-browser session bound to the guest the
reload destroyed.

Wait for the main window's existing readiness signal before activating a
hidden tab, and retire a session whose guest changed. agent-browser answers
`close` and exits ~100 ms later, so destroySession waits for the old daemon's
socket to go before the session name is reused.

* test(browser): read the replacement proxy's guest from its constructor call
2026-10-30 08:50:20 +00:00
..