github / github/copilot-cli

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

Đang mở
#4,727 0 bình luận 0 reaction 0 người được giao Xem trên GitHub

Chưa có ai nhận issue này.

triage
Ngôn ngữ chính
Shell
Star
11.2k
Fork
1.9k
Merge trung bình
14 giờ 16 phút
Pull request đã merge (30 ngày)
6

Mô tả

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.

Hướng dẫn đóng góp

Mở hướng dẫn đóng góp

Bắt đầu từ đâu

  1. Đọc hết issue, rồi đọc hướng dẫn đóng góp của dự án.
  2. Bình luận trên issue rằng bạn sẽ nhận — tránh hai người làm cùng một việc.
  3. Fork repository và làm thay đổi trên một nhánh.
  4. Mở pull request có tham chiếu số hiệu của issue.

Hướng nghiên cứu

Bắt đầu với tab Changes của ứng dụng desktop Tauri và luồng cập nhật pull-request/branch của session, sử dụng thiết lập macOS dựa trên worktree đã được báo cáo để tái hiện chế độ xem cũ sau khi merge trên GitHub. Theo dõi thời điểm tab được làm mới và cách merge-base được cập nhật; hoàn tất khi tab hiển thị trạng thái sau merge mà không yêu cầu các lệnh fetch hoặc merge thủ công.

Do mô hình lập chỉ mục viết ra từ nội dung của issue.

Đánh giá

Công nghệ
git, github, tauri
Lĩnh vực
desktop
Loại issue
Lỗi
Độ khó
4/5
Thời gian dự kiến
3-5 ngày
Mức độ hoạt động
Sôi nổi
Độ rõ ràng
Khá rõ ràng
Mức phù hợp với người mới
48/100

Nhận issue mới trong hộp thư của bạn

Bản tóm tắt ngắn những issue GitHub phù hợp với người mới.