You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
为当前项目的状态读取引入单调请求身份或等价的结果新旧保护;在关闭或切换项目时失效,旧请求的结果不能覆盖新状态。考虑读取失败与用户操作期间的状态展示,不把失败当成空仓库。使用可控替身安排先后请求逆序完成,以及项目关闭、切换和重新打开,验证旧分支与计数不会回退;再在 macOS 与 Windows 验证实际操作。
Activity
lithe-support commentedon Nov 15, 2026
我来处理这个问题。已在隔离测试中复现同一项目两次 Git 状态读取逆序完成时旧结果覆盖新结果;接下来会补回归测试,核对项目关闭、切换及失败场景,并提交 PR。
fix(desktop): reject stale Git status responses (#1809)
fix(desktop): 取代旧 Git 状态读取的分支与同步结果补上连带读取 (#1809)
fix(desktop): 防止旧 Git 状态覆盖新请求结果 (#1809) (#2012)