[Bug]: 完成一个对话,发生了代码变动,但是回滚代码的按钮灰色的无法回滚
Version line
v2 — Go rewrite (1.x), main-v2 (active development)
Exact version
v1.12.0
What happened?
Steps to reproduce
1.发起一次对话 2.对话完成后选择回溯 3.发现无法回滚代码 4.切换到其他对话再切回来 5.可以回滚代码
OS / platform
macos 26.5.1(arm)
Relevant logs or output
已提交修复 PR:#5399
这里的按钮灰色问题已在 PR 中覆盖:当前 turn 的文件快照会立即暴露给桌面端 checkpoint metadata,turn done 后也只合并 checkpoint turn 标记,避免需要切换会话/标签页才刷新按钮状态。
Closing this as fixed by #5399 (merged as d9dd4ab55c7d53ac701d4a424a0d3aa03cac87fd).
The fix exposes the current turn's file snapshots to desktop checkpoint metadata immediately, so the code/both rewind buttons become available after the turn finishes instead of requiring a tab/session switch to refresh them.
Verification in the PR: go test ./..., go test -C desktop ./..., focused frontend checkpoint/history tests, and git diff --check passed.
Release status: the fixing commit is included in Desktop v1.13.0, so users should pick up the fix by upgrading to Desktop v1.13.0 or newer.