Skip to content

[Bug]: Sidebar hides a finished thread's unseen completion while a background shell it left running is still alive #14872

Description

@vanderlindenma

Before submitting

  • I searched existing issues and did not find a duplicate.
  • I included enough detail to reproduce or investigate the problem.

Area

Not sure

Steps to reproduce

  1. In a Claude thread, have the agent start something as a background shell (local_bash, e.g. a dev server or a long command it no longer needs), then end its turn with a final answer.
  2. Switch to another thread before the turn ends.
  3. Look at the first thread in the sidebar.

Expected behavior

The thread reads as finished and unread, like any other thread whose turn ended while I was elsewhere, ideally with a quiet hint that a process from it is still running. With several agents running, the bright/unread row is how I find threads that need me.

Actual behavior

The row shows "Waiting" ("Monitoring" in 0.0.40), dimmed, for as long as the shell lives, which can be hours. The unseen "Completed" pill and the unread row style never show. When the shell finally exits, the thread lights up as unread long after it actually stopped.

In practice most of my "done" threads end up looking just like threads that are still running, so I can't tell from the sidebar which ones need me.

Impact

Major degradation or frequent failure

Version or commit

main @ cc1e634

Environment

macOS 26.7

Logs or stack traces

Screenshots, recordings, or supporting files

No response

Workaround

No response

Activity

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

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugSomething is broken or behaving incorrectly.via-triageFiled through npx t3 triage

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions