Skip to content

macOS Desktop: Session Diff causes permanent blank screen until storage/session_diff is deleted #15683

Closed as not planned

Description

@emirthab

Description

While using Session Diff in the macOS Desktop app (opening a diff and searching within it), the UI suddenly became unresponsive and turned into a blank screen.

After that moment, every relaunch of the Desktop app resulted in a permanent blank screen.

Deleting this folder restores the app:
~/.local/share/opencode/storage/session_diff

…but then session diff can’t be viewed (feature becomes unusable), so this is only a workaround.

This looks like the Session Diff storage data gets corrupted and the Desktop webview/UI crashes on startup when reading it.

The sidecar logs show repeated server failures immediately after interacting with Session Diff:

2026-03-02T05:16:18.174465Z  INFO sidecar: opencode_lib::cli: ERROR service=server error= failed
2026-03-02T05:16:27.544802Z  INFO sidecar: opencode_lib::cli: ERROR service=server error= failed
2026-03-02T05:16:33.126506Z  INFO sidecar: opencode_lib::cli: ERROR service=server error= failed
2026-03-02T05:17:16.376128Z  INFO sidecar: opencode_lib::cli: ERROR service=server error= failed
2026-03-02T05:17:24.434297Z  INFO sidecar: opencode_lib::cli: ERROR service=server error= failed
2026-03-02T05:17:35.361343Z  INFO sidecar: opencode_lib::cli: ERROR service=server error= failed
2026-03-02T05:17:43.348974Z  INFO sidecar: opencode_lib::cli: ERROR service=server error= failed
2026-03-02T05:17:53.194827Z  INFO sidecar: opencode_lib::cli: ERROR service=server error= failed
2026-03-02T05:17:58.484975Z  INFO sidecar: opencode_lib::cli: ERROR service=server error= failed
2026-03-02T05:18:05.725259Z  INFO sidecar: opencode_lib::cli: ERROR service=server error= failed
2026-03-02T05:18:11.649829Z  INFO sidecar: opencode_lib::cli: ERROR service=server error= failed
2026-03-02T05:18:18.775002Z  INFO sidecar: opencode_lib::cli: ERROR service=server error= failed

After force quitting and restarting the app, the backend appears to start normally (CLI works, sessions initialize correctly), but the Desktop UI remains blank.

2026-03-02T09:38:48.155048Z  INFO opencode_lib: Initializing app
2026-03-02T09:38:48.156036Z  INFO opencode_lib: Main and loading windows created
2026-03-02T09:38:48.156161Z  INFO opencode_lib::cli: No CLI installation found, skipping sync
2026-03-02T09:38:48.158281Z  INFO opencode_lib: Setting up server connection
2026-03-02 12:38:48.735 OpenCode[97899:2369185] +[IMKClient subclass]: chose IMKClient_Legacy
2026-03-02 12:38:48.735 OpenCode[97899:2369185] +[IMKInputSession subclass]: chose IMKInputSession_Legacy
2026-03-02T09:38:49.486081Z  INFO opencode_lib: Attempting server connection custom_url=None
2026-03-02T09:38:49.490132Z  INFO opencode_lib: Spawning new local server
2026-03-02T09:38:49.490148Z  INFO opencode_lib::cli: Spawning sidecar port=59379
2026-03-02T09:38:49.490496Z  INFO opencode_lib: Server connection setup
2026-03-02T09:38:49.490510Z  INFO opencode_lib: server connection started
2026-03-02T09:38:50.112555Z  INFO sidecar: opencode_lib::cli: opencode server listening on http://127.0.0.1:59379
2026-03-02T09:38:50.215212Z  INFO opencode_lib::server: Server ready elapsed=724.474583ms
2026-03-02T09:38:50.215238Z  INFO opencode_lib: CLI health check OK
2026-03-02T09:38:50.215252Z  INFO opencode_lib: Loading task finished
2026-03-02T09:38:50.215280Z  INFO opencode_lib: Loading done, completing initialisation

Plugins

without plugin tested

OpenCode version

1.2.15

Steps to reproduce

No response

Screenshot and/or share link

No response

Operating System

macOS

Terminal

Desktop Version

Activity

  1. emirthab commented on Mar 3, 2026

    @emirthab
    Author

    The app keeps crashing because diff is set as the standard in the latest update.

  2. github-actions commented on May 3, 2026

    @github-actions
    Contributor

    To stay organized issues are automatically closed after 60 days of no activity. If the issue is still relevant please open a new one.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

Labels

bugSomething isn't workingwebRelates to opencode on web / desktop

Type

No type

Projects

No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions