Skip to content

CLI attached to server shows wrong branch name #36334

Closed as not planned
Closed as not planned

Description

@colinmollenhour

Description

I'm using "serve" mode and "attach" and have multiple sessions going. In some cases the CLI sidebar is showing a branch name from an entirely different repository as evidenced by the screenshot. I am using worktrees in this case.

Plugins

none

OpenCode version

1.17.18

Steps to reproduce

  1. Launch a server with "serve"
  2. Start some sessions in different repositories, switch branches, etc.
  3. Check the sidebar for accuracy

Screenshot and/or share link

Image

Operating System

Ubuntu 24.04

Terminal

Windows Terminal + tmux

Activity

  1. github-actions commented on Sep 9, 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

No labels
No labels

Type

No type

Projects

No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions