Skip to content

[BUG] A2A active tasks missing from the background-jobs status-bar indicator #693

Closed

Description

@edenreich

Summary

After the unified jobs.Supervisor landed (#684), background shells and subagents appear in the input status-bar background-jobs indicator (the "gear" indicator below the input) because it reads backgroundTaskRegistry.CountRunningJobs(kind) from the supervisor. Active A2A tasks do NOT appear there, even though the A2A submit path registers an a2aJob of JobKindA2A with the supervisor.

Root cause is dual tracking: an A2A task is registered in BOTH the A2A task tracker (taskTracker.StartPolling, which backs the /tasks active list via backgroundTaskService.GetBackgroundTasks()) AND the supervisor (submitter.Submit(&a2aJob{...})). The status bar and the /tasks active list therefore source A2A state from two different places that can diverge - the exact divergence the supervisor unification was meant to remove. Note backgroundTaskRegistry.HasPending() (reads the embedded trackers) and the supervisor's per-kind counts are also two independent computations of "what is running".

Steps to Reproduce

  1. Configure a remote A2A agent and delegate a long-running task via A2A_SubmitTask.
  2. While it runs, watch the input status-bar background-jobs indicator and open /tasks.
  3. The task shows in /tasks but the status-bar indicator does not count it (running shells and subagents do show).

Expected Behavior

Active A2A tasks are reflected in the status-bar indicator the same way running shells and subagents are, sourced from a single source of truth for "what background work is running".

Actual Behavior

A2A tasks are invisible in the status-bar indicator; the supervisor count and the /tasks A2A list are populated by separate, potentially divergent paths.

Notes / proposed direction

Activity

  1. added
    bug
    on Jun 30, 2026
  2. added theissue type on Jun 30, 2026
  3. moved this to Todo in 2026on Jun 30, 2026
  4. moved this from Todo to In progress in 2026on Jul 2, 2026
  5. moved this from In progress to QA in 2026on Jul 2, 2026
  6. moved this from QA to Done in 2026on Jul 2, 2026
  7. inference-gateway-releaser commented on Jul 3, 2026

    @inference-gateway-releaser
    Contributor

    🎉 This issue has been resolved in version 0.128.0 🎉

    The release is available on:

    Your semantic-release bot 📦🚀

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

    bugreleased

    Type

    Projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions