Repository navigation
fix-issue-159:修复 Mac 端 PR 与 Git 窗口切换卡顿问题 - #167
Merged
Merged
Conversation
…然有“运行中再次请求”标记,但会在离开窗口后继续完成并触发代码洞察/行变更更新。快速在 PR、Changes、Git Log 间切换
This was referenced Nov 22, 2026
xiaoyumuxi
added a commit
that referenced
this pull request
Nov 22, 2026
…测试 (#2231) (#2300) #2299 合入后在真实主机上做 #43c 验收时发现两个问题: - wsl.exe 把失败写在标准输出,Core 只读标准错误。连接一个没装的发行版 因此报成 failed,诊断只有退出码。固定版本升到 Core #169 的 edad041: 没装的发行版是 unreachable,未知用户是 failed,诊断都带 wsl.exe 的原文。 注释补上 #2299 漏写的 18feb4a(#167)一行。 - workbench 的测试内核没有替换 RemoteListWSLDistributions,在装了 WSL 的 Windows 上,远程开发窗口会列出本机真实的发行版,导致测试失败。testKernel 改为返回空列表,remoteProbeKernel 改为嵌入 testKernel。 新增 desktop/internal/core/remote_acceptance_test.go,只在环境变量指定真实 SSH 主机或 WSL 发行版时运行:杀掉传输子进程模拟断线,确认 resume 后能接回 运行;“保留”关闭后重连,确认能接回进程;另外检查 WSL 两种失败的分类。 macOS(OrbStack Alpine aarch64,经 OpenSSH)和 Windows(WSL Ubuntu x86_64) 均已通过。矩阵和 Agent Note 记入验收结果。
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
背景
在 Mac 端从 Pull Requests 窗口切换到 Changes、Git Log 等窗口时,后台刷新任务可能继续执行并叠加,导致主线程持续接收状态更新,产生明显卡顿。
修改内容
验证
影响范围
仅涉及 Mac 端侧栏切换和 Git/GitHub 刷新时序,不改变 Git 或 GitHub 功能行为。