Skip to content

[BUG] Review panel freezes when expanding large file diffs in app #13297

Closed

Description

@cooooooooooode

Description

In the web/desktop app review panel, files with large diffs (500+ changed lines) are auto-expanded when opening the panel. This causes the UI to freeze or become very laggy because thousands of diff lines are rendered at once.

The current logic in packages/ui/src/components/session-review.tsx only checks file count (>10 files → collapse all), but ignores individual file diff size. A single file with 2000+ changed lines can freeze the entire review panel.

Plugins

No response

OpenCode version

No response

Steps to reproduce

  1. Start a session that modifies a large file (500+ line changes)
  2. Open the review panel (right side panel)
  3. Observe the UI freezes while rendering the large diff

Screenshot and/or share link

No response

Operating System

macOS / any

Terminal

No response

Activity

  1. added
    perfIndicates a performance issue or need for optimization
    webRelates to opencode on web / desktop
    on Feb 12, 2026
  2. added a commit that references this issue on Feb 12, 2026
    ee550f7
  3. changed the title [-]perf(ui): review panel freezes when expanding large file diffs[/-] [+][BUG] Review panel freezes when expanding large file diffs in app[/+] on Feb 12, 2026
  4. neriousy commented on Feb 13, 2026

    @neriousy
    Member

    Fixed in #13460

  5. github-actions commented on Apr 15, 2026

    @github-actions
    Contributor

    To stay organized issues are automatically closed after 90 days of no activity. If the issue is still relevant please open a new one.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

Labels

perfIndicates a performance issue or need for optimizationwebRelates to opencode on web / desktop

Type

No type

Projects

No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions