fix(vscode): load initial diff previews - #12089
Conversation
Code Review SummaryStatus: No Issues Found | Recommendation: Merge The extraction of Files Reviewed (5 files)
Reviewed by claude-sonnet-5-20260630 · Input: 30 · Output: 12.7K · Cached: 816.6K Review guidance: REVIEW.md from base branch |
fix(vscode): load initial diff previews
Expanded review files can remain stuck on the on-demand placeholder when summarized diff data is already available before the review surface mounts. The detail-request effect deferred its first callback, so no request was sent until another interaction, such as collapsing and reopening the file, changed the accordion state.\n\nRun initial detail scheduling for already-expanded summaries and share the request lifecycle between inline and full-screen review surfaces. Requests remain deduplicated by file revision, reset when a file is reopened or the review context changes, and resume when an existing loading state clears.