# OpenCode Review面板显示异常:有代码更改但显示"No changes in this session yet" #7127

Closed
opened 2026-02-16 18:06:15 -05:00 by yindo · 1 comment
Owner

Originally created by @Jer-Chao on GitHub (Jan 21, 2026).

Originally assigned to: @rekram1-node on GitHub.

Description

描述

我在OpenCode中编辑了代码文件(logger.py),可以看到代码已经进行了修改(添加了level参数),但右侧的Review面板仍然显示"No changes in this session yet",没有显示任何代码变更内容。

期望行为

Review面板应该显示代码的变更内容,包括新增、修改或删除的代码行。

实际行为

Review面板始终显示"No changes in this session yet",即使代码已经进行了实质性修改。

环境信息

  • OpenCode版本:11.3.0(右下角显示有更新可用)
  • 操作系统:未指定
  • 项目类型:Python项目

截图

显示OpenCode界面,左侧代码编辑器显示修改后的logger.py,右侧Review面板显示"No changes in this session yet"

Image

Plugins

ohmyopencode

OpenCode version

1.1.29

Steps to reproduce

复现步骤

  1. 打开OpenCode并加载一个项目
  2. 编辑代码文件(例如logger.py)
  3. 进行代码修改(添加新参数、修改现有代码等)
  4. 查看右侧Review面板

Screenshot and/or share link

Image

Operating System

windows10

Terminal

opencode client

Originally created by @Jer-Chao on GitHub (Jan 21, 2026). Originally assigned to: @rekram1-node on GitHub. ### Description ## 描述 我在OpenCode中编辑了代码文件(logger.py),可以看到代码已经进行了修改(添加了level参数),但右侧的Review面板仍然显示"No changes in this session yet",没有显示任何代码变更内容。 ## 期望行为 Review面板应该显示代码的变更内容,包括新增、修改或删除的代码行。 ## 实际行为 Review面板始终显示"No changes in this session yet",即使代码已经进行了实质性修改。 ## 环境信息 - OpenCode版本:11.3.0(右下角显示有更新可用) - 操作系统:未指定 - 项目类型:Python项目 ## 截图 显示OpenCode界面,左侧代码编辑器显示修改后的logger.py,右侧Review面板显示"No changes in this session yet" <img width="3312" height="1995" alt="Image" src="https://github.com/user-attachments/assets/beda3e4f-2baa-4cbc-b345-499a01b1c9bd" /> ### Plugins ohmyopencode ### OpenCode version 1.1.29 ### Steps to reproduce ## 复现步骤 1. 打开OpenCode并加载一个项目 2. 编辑代码文件(例如logger.py) 3. 进行代码修改(添加新参数、修改现有代码等) 4. 查看右侧Review面板 ### Screenshot and/or share link <img width="3312" height="1995" alt="Image" src="https://github.com/user-attachments/assets/31a5f9ed-550a-442b-b662-75e52d299e89" /> ### Operating System windows10 ### Terminal opencode client
yindo added the windowsbug labels 2026-02-16 18:06:15 -05:00
yindo closed this issue 2026-02-16 18:06:15 -05:00
Author
Owner

@github-actions[bot] commented on GitHub (Jan 21, 2026):

This issue might be a duplicate of existing issues. Please check:

  • #8704: [QUESTION] OPENCODE App MacOs: missing Accept/Reject changes and missing diff highlights
  • #8575: OPENCODE App: missing Accept/Reject changes and missing diff highlights (closed)

Both report similar issues with the Review panel or diff display not showing changes in the OpenCode Desktop application, which matches your report that the Review panel shows "No changes in this session yet" despite actual code modifications.

Feel free to ignore if your specific case differs from these issues.

@github-actions[bot] commented on GitHub (Jan 21, 2026): This issue might be a duplicate of existing issues. Please check: - #8704: [QUESTION] OPENCODE App MacOs: missing Accept/Reject changes and missing diff highlights - #8575: OPENCODE App: missing Accept/Reject changes and missing diff highlights (closed) Both report similar issues with the Review panel or diff display not showing changes in the OpenCode Desktop application, which matches your report that the Review panel shows "No changes in this session yet" despite actual code modifications. Feel free to ignore if your specific case differs from these issues.
Sign in to join this conversation.
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: anomalyco/opencode#7127