Desktop app: Recents list shows stale 'closed' status for a reopened GitHub PR, survives app restart
Open 💬 0 comments Opened Jul 14, 2026 by TodorStamatovJiminny
Environment
- Claude Code desktop app (macOS), version 2.1.168
- macOS 26.5.2 (Darwin 25.5.0)
Description
The Recents/sessions list shows a red "closed" status icon for the GitHub PR linked to a session, but the PR is actually open. The PR was closed and then reopened on the same day (via the GitHub UI); since then GitHub reports state: OPEN / closedAt: null (verified with gh pr view --json state,closedAt), yet the app keeps showing the closed badge.
Steps to reproduce
- Work on a session linked to a GitHub PR.
- Close the PR on GitHub, then reopen it.
- Look at the session's PR status icon in the Recents list.
Expected
The status icon re-syncs to "open" after the PR is reopened.
Actual
The red "closed" icon persists. Fully quitting and restarting the desktop app does not refresh it — the stale status appears to be cached and never invalidated after the close→reopen transition (days later it is still shown as closed).
Notes
- The PR has had new commits pushed and its description edited (via
ghfrom within sessions) since reopening, so the cache isn't refreshed by PR activity either.