github / github/copilot-cli

Changes tab does not update after the session's PR is merged

未关闭
#4,727 0 条评论 0 个 reaction 已指派 0 人 在 GitHub 查看

还没有人认领这个 Issue。

triage
主要语言
Shell
星标
11.2k
派生
1.9k
平均合并
14 小时 16 分钟
30 天内合并 PR
6

描述

Describe the bug

In the Copilot desktop app (Tauri), a session's Changes tab does not appear to refresh after the session's pull request is merged on GitHub. The tab continues to reflect the pre-merge state instead of updating to the new reality (merged branch / updated base).

Note: this report is about the desktop app UI, not the CLI itself — filed here as the reachable public tracker; please reroute if there is a dedicated app repo.

Affected version

Desktop app ~1.1.14 (inferred from ~/.copilot/data.db.pre-update-backup-1.1.14-*); embedded CLI reports version 1.0.80.

Steps to reproduce the behavior
  1. Open a worktree-backed project session on a feature branch with changes.
  2. Create a PR from the session and merge it on GitHub while the session stays open.
  3. Return to the session and open the Changes tab.
  4. Observe that the view still shows the pre-merge state; it does not update after the merge.
Expected behavior

After the session's PR merges, the Changes tab refreshes — e.g., recomputes the diff against the updated default branch (or shows an appropriate post-merge state) without requiring manual intervention.

Additional context
  • OS: macOS (Darwin, ARM).
  • Session type: worktree-backed, branch created and pushed by the session; PR merged via the GitHub web UI.
  • Possibly related: inside the session, the branch is not auto-updated after merge either (git fetch/merge origin/main had to be run manually), so the tab may be diffing against a stale merge-base.
  • Reported by the session's user mid-workflow and relayed by the agent; happy to pull logs (--log-level/--log-file) if you tell me which ones help.

贡献指南

打开贡献指南

从这里开始

  1. 先读完整个 Issue,再读项目的贡献指南。
  2. 在 Issue 下留言说明你要接手 —— 这能避免两个人做同样的事。
  3. Fork 仓库,在一个分支上完成修改。
  4. 提交 Pull Request,并在描述里引用这个 Issue 编号。

调研方向

从 Tauri 桌面应用的 Changes 标签页和 session 的 pull-request/branch 更新路径入手,使用报告中的基于 worktree 的 macOS 设置,复现 GitHub 上完成 merge 后视图仍然过时的问题。跟踪标签页何时刷新,以及 merge-base 如何更新;完成标准是标签页显示 merge 后的状态,而不需要手动执行 fetch 或 merge 命令。

由索引模型根据 Issue 内容生成。

评估

技术栈
git, github, tauri
领域
desktop
Issue 类型
缺陷
难度
4/5
预计耗时
3-5 天
活跃度
活跃
描述清晰度
基本清楚
新手友好度
48/100

把新 issue 发到你的邮箱

精选适合新手参与的 GitHub issue 摘要。