mirror of
https://github.com/stablyai/orca.git
synced 2026-11-17 11:24:37 +00:00
* Bound retained desktop browser guests by idle page count * Type the browser guest retention regression fixtures * Update document visibility after React commits * Preserve current page recency and private document audio protection * Avoid observer handshakes on child-frame load completion * Complete the browser certificate replay WebContents fixture * test(browser): complete guest protection fixture contracts * fix(browser): retain the saved page catalog after guest reclamation * fix(browser): preserve inventory ownership and global tab order * fix(browser): scope inventory ownership work to browser workspaces * Complete browser cleanup mocks after main sync * fix(browser): retain edited documents and earlier history * test(browser): complete document guest history fixture * test(browser): assert history transition publication * Restore reclaimed browser pages before commands and retain active owners * Fix native idle-page eligibility and retain canonical reclaim order * Keep browser inventory recovery fixtures faithful to saved pages * fix(browser): retry eligible guests and avoid default debugger acquisition * fix(browser): publish owner protection before discard retries * test(browser): isolate protection acquisition before release * test(browser): keep preview input fixture native-shaped * Fix browser lifecycle fixture typecheck coverage * fix(browser): finish guest discard admission before replying * fix(browser): retire only the hidden page surplus * fix(browser): retain cold recovery and modal ownership boundaries * test(browser): complete successful native load before stopping * Preserve browser page ownership across profile replacement * Typecheck connected browser profile fixtures in their owning project * Import browser disposal operations from their owning module * WIP: interrupted command-target repair (stopped 11-14 for Brennan's no-cap ruling) * Keep browser commands on the selected page after idle discard * Limit page-close routing cleanup to its current references * Guard page close against unrelated routing work * Type the routing retention probe by its owner * Add a Memory Saver setting for idle browser pages Settings > Browser gets a Memory Saver switch (on by default, kept under the existing kill-switch key) and an "Unviewed for" hours field (1-168, default 4). Main re-keys idle deadlines live from when each page hid, so turning it off stops pending frees and changing the hours applies without a restart. * Let main alone gate Memory Saver and key idle deadlines by hide time Changing the hours no longer walks every tracked page: the heap is keyed by when each page hid and the shared offset is applied at the head. The renderer no longer vetoes on the setting or reinstalls its listener on toggle, so a toggle sends no visibility replay and can't strand an in-flight page. * Document the fixture casts in the browser inventory publication test * Await the now-async window graph sync in browser inventory tests --------- Co-authored-by: Claude Opus 5.5 (1M context) <noreply@anthropic.com>