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]: thread_not_found gives no hint that the thread may live on a linked environment #31918
I searched existing issues and did not find a duplicate.
I included enough detail to reproduce or investigate the problem.
Area
apps/server
Steps to reproduce
Link two machines as environments (A and B).
Take the id of a thread that exists on B.
From an agent thread on A, call t3_thread_read with that id (no environmentId).
Expected behavior
Thread ids are per environment, so the error should say so and point to the linked environments to try (environmentId), or name the one that has the thread.
Actual behavior
A bare thread_not_found. Agents read this as "the thread does not exist" and carry on with a wrong conclusion, even though the thread is alive on a linked environment. In a setup with six linked machines this happened repeatedly; one scheduled task inferred another thread's state from indirect evidence because of it.
Call t3_environment_links, then t3_thread_search / t3_thread_read with each environmentId. Related: #29925 (cross-environment reference without environment metadata) and discussion #31289 (search all linked environments in one call).
I tried, but T3 returned thread_not_found: “Thread … is no longer available.” Nothing was sent. Please send its current thread link; cross-machine lookup is unavailable here.
Activity
jjablonski-it commentedon Nov 8, 2026
Same issue.