Skip to content

v0.8.6 fix(sidebar): Tasks panel ignores shell jobs — shows 'No tasks' while footer reports active shells #373

@Hmbown

Description

@Hmbown

Repro

  1. Run `deepseek` in any workspace.
  2. Ask the model to do something that fires `task_shell_start` (cargo build, gh pr list, anything that runs in the background).
  3. Watch the footer: it correctly reports `tool task_shell_start · 2 active · 0 done`.
  4. Look at the right sidebar's Tasks panel: shows only `turn (in_progress)` and `No tasks`.

Cause

`render_sidebar_tasks` reads from `app.task_panel`, which is populated from `task_manager.list_tasks()` — that's the durable background-task store (`/task add`-style jobs). Live shell jobs from `task_shell_start` live in a different store (the shell job manager) and never reach the Tasks panel.

Fix options (pick one)

  • A. Merge shell-job entries into `task_panel` so the panel shows everything that's running. Keep the "Tasks" label.
  • B. Rename the panel to "Background tasks" so users understand it only shows durable `/task`-created work, and add a separate compact "Jobs" indicator for shell jobs.
  • C. Drop the panel entirely and put a single "running: N" chip in the footer instead. The Plan/Todos/Agents panels carry the bulk of the live signal already; Tasks adds little.

Recommend A: lowest user-friction, keeps the panel useful when there's something to show.

Acceptance

  • Tasks panel reflects live shell jobs in real time.
  • Footer count and panel count agree.
  • Standard verification gates pass.

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugSomething isn't workingv0.8.6Targeting v0.8.6

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions