Skip to content

[BUG]: OpenCode Desktop consumes lots of CPU cycles on Mac M4 & freezes completely while trying new WorkSpace feature #10257

@deadcoder0904

Description

@deadcoder0904

Description

I am trying to use the new workspace feature to create git worktrees.

Plugins

OpenCode version

Version 1.1.34 (1.1.34)

Steps to reproduce

  1. Create a new project folder (without git) and open it in OpenCode Desktop.
  2. Open that same project folder in your terminal and run git init.
  3. Close OpenCode Desktop completely, then try to reopen the project (since it doesn't support hot reload yet... see [FEATURE]: Hot-reload agents, skills and commands. #8751).
  4. It fails to open. If you try to create a new workspace from inside OpenCode while it's still running, you get this error: Failed to create workspace. Worktrees are only supported for git projects
  5. The only fixes are: either delete the .git folder using rm -rf .git and reopen the project, or make sure the project already had a git repository before opening it (like your older projects do).

Screenshot and/or share link

This is how my Activity Monitor looks like:

Image

Why is the Tauri taking as much CPU cycles as Electron? I'm no performance nerd, but that looks bad I think.

And my OpenCode Desktop has hung up / freezed which causes the CPU cycles to spike up:

Image

I can't click any buttons and the loading placeholder just looks the same.

Operating System

macOS Sequoia 15.6.1

Terminal

Ghostty

Metadata

Metadata

Assignees

Labels

No labels
No labels

Type

No type
No fields configured for issues without a type.

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions