B4 (#28) concluded recycling is N/A for the ephemeral probe path (fresh browser per probe). But long-lived sessions (browser_open → many navigations) can still grow Chromium memory over hours.
Scope
- Optional per-session guard: after N navigations or an RSS threshold, recycle the context (close+reopen, restore
storageState, re-attach listeners). Skip for CDP-attached (remote) sessions — we don't own that browser.
- Expose in
browser_metrics (recycle count).
Acceptance
- A long session under sustained navigation stays within a bounded RSS.
- storageState/cookies survive the recycle; opt-in, off by default.
Notes — coordinate with B1 (recovery) and C3 (live-view reattach) since both rebind the page.
B4 (#28) concluded recycling is N/A for the ephemeral probe path (fresh browser per probe). But long-lived sessions (
browser_open→ many navigations) can still grow Chromium memory over hours.Scope
storageState, re-attach listeners). Skip for CDP-attached (remote) sessions — we don't own that browser.browser_metrics(recycle count).Acceptance
Notes — coordinate with B1 (recovery) and C3 (live-view reattach) since both rebind the page.