Skip to content

[Bug]: Archiving, deleting, or resetting a parent thread floods the linked machine's sidebar with old completed remote delegated tasks #42226

Backlog

Description

@Neonsy

Before submitting

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

Area

apps/web

Steps to reproduce

  1. Link environment A (Windows desktop) and environment B (Linux server), both connected in the same T3 Code client.
  2. From a parent thread on A, run several delegate_task calls targeting linked environment B and let all remote child threads finish. While the parent on A is live and unarchived, those mcp:launch:* children stay hidden from B's sidebar (grouped under the parent).
  3. Archive or delete the parent thread on A (or reset A's statev2.sqlite without resetting B).

Expected behavior

Completed delegatedFrom child threads on environment B do not flood B's top-level sidebar when their parent on environment A is archived, deleted, or gone.

Actual behavior

Every completed remote delegatedFrom child on environment B immediately surfaces as a standalone top-level thread in B's sidebar, spamming the list with old delegated sub-tasks.

Verified from the installed 0.1.12-nightly.20261124.5191 server/client bundle:

Keeping the un-hiding fallback only for active/running/waiting remote tasks (or cascade-archiving completed remote children when a parent is archived or deleted) would prevent sidebar spam without hiding unfinished work.

Impact

Minor bug or occasional failure

Version or commit

0.1.12-nightly.20261124.5191

Environment

Windows 10 desktop + Linux x64 server (linked environments), both running T3 Code 0.1.12-nightly.20261124.5191

Logs or stack traces

No response

Screenshots, recordings, or supporting files

No response

Workaround

Manually archive the matching delegatedFrom threads on the target machine before archiving, deleting, or resetting the parent thread (or archive them on the target machine afterward).

Note

Approved by the author, posted by Gemini 4 Neon

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

    No labels
    No labels

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions