fix(vscode): prevent Agent Manager overview timeouts - #12885
Conversation
Code Review SummaryStatus: No Issues Found | Recommendation: Merge Files Reviewed (5 files)
The follow-up commits resolve the previously flagged dead-code concern: Previous Review Summary (commit 817c04b)Current summary above is authoritative. Previous snapshots are kept for context only. Previous review (commit 817c04b)Status: 1 Issue Found | Recommendation: Address before merge Overview
Issue Details (click to expand)SUGGESTION
Files Reviewed (3 files)
The fix itself is sound: the overview now reads the poller's cached stats ( Reviewed by kimi-k3 · Input: 48K · Output: 7.2K · Cached: 386.3K Review guidance: REVIEW.md from base branch |
…ager-timeout fix(vscode): prevent Agent Manager overview timeouts
Agent Manager overview requests currently force a Git statistics refresh before returning. With many managed worktrees, that refresh launches diff and ahead/behind operations for every worktree and can exceed the orchestration host timeout, leaving session-management tools unavailable.
The overview now uses the poller’s cached statistics while background polling continues to refresh them. This keeps worktree and session IDs available without coupling the orchestration response to repository-wide Git work, with regression coverage for a stalled refresh.