You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
Desktop 1.4.6 on macOS gets stuck on loading screen; sidecar reaches server ready but UI never leaves loading.html #22791
On macOS, the OpenCode desktop app launches successfully, the sidecar reaches server ready, but the UI never leaves loading.html. The app stays stuck on the loading screen indefinitely.
This reproduces even after deleting all local OpenCode app data and config.
Version
OpenCode Desktop 1.4.6
macOS Tahoe 26.4.1
Apple Silicon (arm64)
What I observed
OpenCode.app starts normally
main process, renderer process, GPU process, and sidecar all start
the local sidecar port is listening and responding
app log shows:
app starting
spawning sidecar
sidecar connection started
awaiting server ready
server ready
Observe that the UI stays on the loading screen and never reaches the main app.
Additional debugging
I checked the packaged app startup flow and it looks like the app enters the needsMigration path when opencode.db is missing, opens loading.html, and waits for the loading flow to complete before showing the main window.
In my case:
server ready is reached
opencode.db is still not created
the renderer remains on loading.html
I also fully removed local state and retried:
~/Library/Application Support/ai.opencode.desktop
~/.config/opencode
~/.local/share/opencode
~/Library/Logs/OpenCode
~/Library/Preferences/ai.opencode.desktop.plist
After a clean restart, the issue still reproduces in the same way.
After first launch, the app should complete initialization / migration, create its local DB if needed, and transition from loading.html to the main app window.
Actual behavior
The app stays stuck on the loading screen indefinitely.
Activity
github-actions commentedon Apr 16, 2026
This issue might be a duplicate of existing issues. Please check:
If your issue is the same, please add a reaction or comment on that issue instead to help consolidate reports.
github-actions commentedon Jul 5, 2026
To stay organized issues are automatically closed after 60 days of no activity. If the issue is still relevant please open a new one.