Files
orca/docs
Jinwoo-H 1158930a04 fix(browser): count a stream ending as page use so the idle clock restarts then
Streaming pins a page but frames are not activity, so a client that only
watched for longer than the idle window had the page parked on the next
30s recheck after closing the pane — not 5 minutes later. Restamp the
page's activity when the stream pin lifts (clearPageGate), the same
markHeadlessBrowserPageUsed the subscribe path already routes through.

At that instant the page is guaranteed resident (the pin vetoed any park,
and pin-delete -> touch is synchronous), so the wake is a pure timestamp;
a page closed or crashed mid-stream has no record left and the call
no-ops. Download and certificate pins deliberately do not get the same
treatment: a finished download implies no viewer to come back, and a
resolved challenge is always followed by commands that stamp activity
themselves.
2026-08-19 19:24:03 -04:00
..