You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
[BUG] /clear and new-conversation leave in-flight A2A tasks running in the supervisor #718
ClearAllAgents (called from /clear at internal/shortcuts/core.go and on new/switch conversation at internal/services/persistent_conversation.go) clears only the A2ATaskTracker, not the jobs.Supervisor. Since #693 made the supervisor the single source of truth for active A2A tasks (the /tasks list, the status-bar indicator, and HasPending all read it), a /clear leaves in-flight A2A jobs running in the supervisor - so they still appear in /tasks and the status bar, and can still land a completion note after the conversation was cleared.
supervisor.WindAll is not the right tool - it would also stop running background shells and subagents, which a conversation clear should not touch. The fix is a kind-scoped wind, e.g. Supervisor.WindKind(kind domain.JobKind, sig domain.WindSignal), invoked with JobKindA2A from the three ClearAllAgents call sites.
Configure an A2A agent and delegate a long-running task via A2A_SubmitTask.
While it is running, run /clear (or /new, or switch conversations).
Open /tasks and watch the status-bar indicator.
Expected Behavior
Clearing/switching the conversation stops in-flight A2A tasks: they disappear from /tasks and the status-bar indicator, and no late completion note is delivered.
Actual Behavior
The A2A task keeps running in the supervisor: it still shows in /tasks and the status-bar indicator, and its completion note can arrive after the clear.
Activity
fix(a2a): route active A2A reads and HasPending through the job super…
chore(release): 0.128.0 [skip ci]
inference-gateway-releaser commentedon Jul 3, 2026
🎉 This issue has been resolved in version 0.128.0 🎉
The release is available on:
Your semantic-release bot 📦🚀