[PR #4963] feat/perf: add pagination to modified files in sidebar #11186

Closed
opened 2026-02-16 18:15:59 -05:00 by yindo · 0 comments
Owner

Original Pull Request: https://github.com/anomalyco/opencode/pull/4963

State: closed
Merged: No


Whenever an agent performs large file system operations, e.g. deleting a directory with thousands of files like node_modules, the "Modified Files" panel in the TUI sidebar causes extreme slowness and high CPU usage.

This issue has been reported in:

This PR introduces pagination to the "Modified Files" panel in the sidebar, listing only the first 25 modified files and adding a "Load more" button to load the next 25 files.

**Original Pull Request:** https://github.com/anomalyco/opencode/pull/4963 **State:** closed **Merged:** No --- Whenever an agent performs large file system operations, e.g. deleting a directory with thousands of files like `node_modules`, the "Modified Files" panel in the TUI sidebar causes extreme slowness and high CPU usage. This issue has been reported in: - https://github.com/sst/opencode/issues/4804 - https://github.com/sst/opencode/issues/4818 This PR introduces pagination to the "Modified Files" panel in the sidebar, listing only the first 25 modified files and adding a "Load more" button to load the next 25 files.
yindo added the pull-request label 2026-02-16 18:15:59 -05:00
yindo closed this issue 2026-02-16 18:15:59 -05:00
Sign in to join this conversation.
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: anomalyco/opencode#11186