Repository navigation
Description
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
- Link environment A (Windows desktop) and environment B (Linux server), both connected in the same T3 Code client.
- From a parent thread on A, run several
delegate_taskcalls targeting linked environment B and let all remote child threads finish. While the parent on A is live and unarchived, thosemcp:launch:*children stay hidden from B's sidebar (grouped under the parent). - Archive or delete the parent thread on A (or reset A's
statev2.sqlitewithout 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:
environment-delegated-under-parent(packages/client-runtime/src/state/threadShell.ts) hides adelegatedFromthread only whileparent.environmentIdis in the catalog andthreadIndex(parent.environmentId).get(parent.threadId)?.archivedAt === null.thread.archiveon the server cascades to localsideChatIdsonly, not to remotedelegatedFromchildren on linked environments.- Related: [Bug]: A remote delegated task shows up as an active thread once its settled parent falls out of the newest 25 settled threads #30320 / PR fix(server): a task on a linked environment stays under its parent in trimmed shell snapshots #34870 fixed older settled parents falling out of the trimmed snapshot, [Bug]: Cross-machine delegate_task children never settle on the target machine (mcp:launch threads stay unsettled) #42197 addressed remote
delegate_taskchildren staying unsettled, and [Bug]: Project says “No threads … yet” when its remote delegated tasks are filtered under a parent #36825 covers empty-project messaging while children are hidden. Archiving, deleting, or resetting the parent still triggers the un-hiding fallback for all completed remote children.
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