Files
orca/src
Neil b35941e4f9 perf(ssh): slow remote polls while the Orca window is visible but unfocused (#39650)
* perf(renderer): add unfocused slowdown to shared visibility poll primitives

installWindowVisibilityInterval gains slowWhileUnfocused (focus read at tick
time, overdue catch-up on window focus) and the git status refresh scheduler
gains cadenceScale + retime(). Opt-in; focused cadence is unchanged.

* refactor(source-control): extract git status scheduler window-presence hook

* perf(ssh): slow remote port, git status and compare polls while unfocused

Visible-but-unfocused windows poll workspace/host ports, branch compare,
stale conflict probes and active git status 4x slower, so agent edits no
longer drive remote git status every 3s behind another app. Hidden windows
still pause; window focus runs overdue work immediately.

* perf(source-control): keep activity debounce when refocus re-times git status

* test: drop cadence-count tests for unfocused poll slowdown
2026-11-07 17:50:39 -08:00
..