mirror of
https://github.com/bitbaum/openclaw.git
synced 2026-12-04 07:28:18 +01:00
* fix(ui): back off unavailable session PR polling The sidebar PR indicators iterated worktree rows sequentially; each ~68ms UNAVAILABLE reply immediately advanced to the next row, hammering controlUi.sessionPullRequests at ~14 calls/second forever (the method is advertised while its runtime dependency is down, so the advertised-method gate never stopped it). Route all callers through GatewayBrowserClient.requestSessionPullRequests: a non-retryable UNAVAILABLE latches until the next socket hello; retryable failures back off 30s doubling to 5min, honoring longer server retry hints. A generation counter keeps concurrent rows from multiplying one outage wave. * fix(ui): satisfy test-types and knip lanes Type the PR-indicator request mocks with real signatures instead of bare vi.fn shells, and keep GatewaySessionPullRequestsParams module-local until a second consumer exists. * test(ui): route hydration stubs through the PR latch wrapper * chore(ui): drop unused ControlUiSessionPullRequests re-export * test(ui): stub the PR latch wrapper in sidebar and clobber fixtures