claude-code - 💡(How to fix) Fix [BUG] Desktop conversation history never auto-loads — background-sync blocked, refresh button non-functional [1 participants]

Official PRs (…)
ON THIS PAGE

Recommended Tools

×6

Utilities matched from this issue’s tags and category — try them while you read without losing context.

GitHub issue graph ai analysis

Paste a GitHub issue URL. We fetch that issue, discover linked issues from bodies/comments/timeline, collect linked pull requests, and produce a structured English report.

The report is written in English Markdown for sharing and archival.

Helpful · Quick feedback

Loading…
GitHub stats
anthropics/claude-code#48125Fetched 2026-04-15 06:32:27
View on GitHub
Comments
0
Participants
1
Timeline
3
Reactions
0
Timeline (top)
cross-referenced ×2labeled ×1

Code Example

[LocalSessionManager] Initialization succeeded — existingSessions=0
[LocalSessionManager] Session storage directory does not exist yet, skipping load

---

Blocked permission check { permission: 'background-sync', requestingOrigin: 'https://a.claude.ai/' }
RAW_BUFFERClick to expand / collapse

Environment

  • Desktop version: 1.2581.0 (also reproduced on 1.2278.0)
  • OS: Windows 11 Pro x64
  • Plan: Max

What's Wrong

Claude Desktop does not load conversation history on startup. The conversation list is empty. The refresh button does not work. The only way to load conversations is to sign out and sign back in.

Log Evidence

On every startup, main.log shows:

[LocalSessionManager] Initialization succeeded — existingSessions=0
[LocalSessionManager] Session storage directory does not exist yet, skipping load

Followed immediately by repeated blocked permission checks:

Blocked permission check { permission: 'background-sync', requestingOrigin: 'https://a.claude.ai/' }

Electron is blocking the background-sync web permission that Desktop uses to fetch conversation history from the server. The refresh button in the UI triggers the same blocked path — it does nothing.

Steps to Reproduce

  1. Open Claude Desktop (fresh launch or after cache clear)
  2. Conversation list is empty — no history loads
  3. Click the refresh button — nothing happens
  4. Sign out → sign back in → conversations load normally

Impact

Requires sign out/sign in on every session to see conversation history. Conversations created on mobile or browser are invisible in Desktop until re-auth. Persistent workflow disruption for users who rely on cross-device conversation continuity.

Related

  • Same machine also experiencing renderer crashes (SYS-025, #44558)
  • background-sync permission is blocked by Electron's default permission policy — Desktop appears to depend on it without requesting it properly through the Electron permission handler

extent analysis

TL;DR

The issue can be fixed by properly requesting the background-sync permission through Electron's permission handler to allow Claude Desktop to fetch conversation history from the server.

Guidance

  • Review the Electron permission policy to understand how to request the background-sync permission correctly.
  • Investigate why the Session storage directory does not exist yet, skipping load message is logged on startup, as this might be related to the conversation history not loading.
  • Check if the background-sync permission is being requested elsewhere in the code, and if so, why it's being blocked by Electron.
  • Consider implementing a temporary workaround to request the permission manually or provide an alternative way to load conversation history.

Example

No code example is provided as the issue does not contain sufficient information about the existing codebase.

Notes

The issue seems to be related to Electron's default permission policy blocking the background-sync permission. However, without more information about the codebase, it's difficult to provide a more detailed solution.

Recommendation

Apply a workaround to request the background-sync permission properly through Electron's permission handler, as upgrading to a fixed version is not mentioned in the issue. This should allow Claude Desktop to fetch conversation history from the server without requiring a sign out and sign back in.

Vote matrix · Quick signals

Works
Did the solution work? Tap to confirm.
Easy Fix
Was it a quick fix?
Time Saver
Did it save you time?
Blocking
Was it severely blocking?
Common Issue
Are others likely hitting this too?
Flaky / Intermittent
Is it intermittent?
Verified / Reproducible
Can you reproduce it reliably?
Loading…

Still need to ship something?

×6

Another batch ranked right after the header list — different links, same matching logic.

Back to top recommendations

TRENDING

claude-code - 💡(How to fix) Fix [BUG] Desktop conversation history never auto-loads — background-sync blocked, refresh button non-functional [1 participants]