github / github/copilot-cli

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

Offen
#4,727 0 Kommentare 0 Reaktionen 0 zugewiesene Personen Auf GitHub ansehen

Dieses Issue hat noch niemand übernommen.

triage
Vorherrschende Sprache
Shell
Sterne
11.2k
Forks
1.9k
Ø Merge
14 Std. 16 Min.
Gemergte PRs (30 T.)
6

Beschreibung

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.

Beitragsleitfaden

Beitragsleitfaden öffnen

Erste Schritte

  1. Lies das ganze Issue und danach den Beitragsleitfaden des Projekts.
  2. Schreib ins Issue, dass du es übernimmst — das erspart doppelte Arbeit.
  3. Forke das Repository und arbeite in einem Branch.
  4. Öffne einen Pull Request, der die Issue-Nummer nennt.

Rechercherichtung

Beginne mit dem Changes-Tab der Tauri-Desktop-App und dem Pfad zur Aktualisierung von Session-Pull-Request/Branch und verwende das gemeldete macOS-Setup mit Worktree-Unterstützung, um die veraltete Ansicht nach dem Mergen auf GitHub zu reproduzieren. Verfolge, wann der Tab aktualisiert wird und wie der merge-base aktualisiert wird; abgeschlossen ist es, wenn der Tab den Zustand nach dem Mergen anzeigt, ohne manuelle fetch- oder merge-Befehle zu erfordern.

Vom Indexierungsmodell aus dem Issue-Text verfasst.

Bewertung

Tech-Stack
git, github, tauri
Bereich
desktop
Issue-Typ
Bug
Schwierigkeit
4/5
Geschätzter Aufwand
3-5 Tage
Aktivitätsstatus
Aktiv
Klarheit
Größtenteils klar
Anfängerfreundlichkeit
48/100

Neue Issues direkt in Ihr Postfach

Eine kurze Übersicht über anfängerfreundliche GitHub-Issues.