feat(vs-code): Agent Manager - Code diff hunks to add context to comments in the PR view panel - #13071
Conversation
Code Review SummaryStatus: 4 Issues Found | Recommendation: Address before merge Incremental review of changes since the previous review ( Overview
Issue Details (click to expand)WARNING
SUGGESTION
Fix these issues in Kilo Cloud Files Reviewed (4 files)
Previous Review Summaries (4 snapshots, latest commit 7d2ba0a)Current summary above is authoritative. Previous snapshots are kept for context only. Previous review (commit 7d2ba0a)Status: 4 Issues Found | Recommendation: Address before merge Incremental review of changes since the previous review ( Overview
Issue Details (click to expand)WARNING
SUGGESTION
Fix these issues in Kilo Cloud Files Reviewed (4 files)
Previous review (commit 328dbd3)Status: 2 Issues Found | Recommendation: Address before merge Incremental review of changes since the previous review ( Overview
Issue Details (click to expand)WARNING
SUGGESTION
Fix these issues in Kilo Cloud Files Reviewed (4 files)
Previous review (commit 3746ae5)Status: No Issues Found | Recommendation: Merge Incremental review of changes since the previous review ( Files Reviewed (1 file)
Previous review (commit 9fde682)Status: 4 Issues Found | Recommendation: Address before merge Overview
Issue Details (click to expand)WARNING
SUGGESTION
Files Reviewed (16 files)
No memory leaks found: the per-comment Reviewed by kimi-k3 · Input: 66.2K · Output: 4.3K · Cached: 237.3K Review guidance: REVIEW.md from base branch |
| const threads = pr?.reviewThreads | ||
| const comments = parseComments((threads?.nodes ?? []) as GhThread[]) | ||
| const totalCount = threads?.totalCount ?? comments.length | ||
| return { total: totalCount, unresolved: comments.filter((c) => !c.resolved).length, comments } |
There was a problem hiding this comment.
[SUGGESTION]: total (from totalCount) and unresolved (from first 100 nodes) can disagree
totalCount counts all review threads, but unresolved is still computed only from the first 100 fetched nodes. On a PR with >100 threads the summary could show e.g. "103 comments" with a success status while unresolved threads exist beyond the first page (and comments passed to the webview is also capped at 100). Probably rare in practice, but worth either paginating (reviewThreads cursor) or clamping/annotating the cap so the counts stay consistent.
Reply with @kilocode-bot fix it to have Kilo Code address this issue.
There was a problem hiding this comment.
Having over 100 threads seems very unlikely on a human reviewed PR
…ff-hunk feat(vs-code): Agent Manager - Code diff hunks to add context to comments in the PR view panel
Issue
In VS Code Agent Manager:
Implementation
DiffHunkandCommentCardFollow-up Tasks
Screenshots / Video
Before:

After:


Validating state updates:
comments.mov
Show comments as green if all are resolved suggestions:

Various themes:
Screen.Recording.2026-08-11.at.10.35.41.AM.mov
How to Test
Manual/local verification
bun run extensiongh auth loginChecklist