anomalyco / anomalyco/opencode

`global` project row `icon_url` permanently polluted — all workspaces display wrong icon

Open
#39,488 2 comments 0 reactions 1 assignee View on GitHub

@kitlangton is already working on this.

Since Jul 29, 2026.

Dominant language
TypeScript
Stars
209k
Forks
27.5k
PR merge metrics
PR metrics pending

Description

Description

The global row (id='global', worktree='/') in the project table acts as the fallback data source for all workspaces. Its icon_url field was found to contain a base64-encoded .ico file from a specific project directory. This causes every project in the sidebar to display the same cookie icon, overriding both default colored avatars and custom icons.

Plugins

None

OpenCode version

v1.17.8 (Desktop) and v1.17.8 (CLI)

Steps to reproduce

Have a project directory containing an img/icon.ico (or favicon.ico).

Open it in OpenCode Desktop.

Observe: after some interaction (possibly Edit Project or auto-discovery), the icon leaks into the global row.

All other projects now display this icon instead of their own.

Screenshot and/or share link
Image Image
Operating System

Windows 10 Home (10.0.19045 Build 19045), Lenovo LAPTOP-CSJ6J9R1

Terminal

Windows Terminal

Contributor guide

Open the contributing guide

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.