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]: Linked environment shows a stale "did not answer" error after the peer is reachable again #45112
In Settings → linked environments, the link from a Windows desktop to a MacBook shows a red Status error, <Mac> did not answer at https://<mac>.<tailnet>.ts.net, https://prod-<id>.t3coderelay.com., even though both addresses answer the desktop normally. Both the Tailscale URL and the relay return 200, and /.well-known/t3/environment works.
Why (from reading the desktop's state and traces)
peer_environment_links.last_error is written only when a real linked-agent call fails (recordOutcome), and is cleared only by the next successful linked call.
The listing's live probe (PeerLinks.statusOf → answersAs, ~3s) succeeds on every refresh, but never updates or clears the row.
The Mac went to sleep (lid closed). One linked call made from the desktop while it slept failed and stored last_error. No linked call has succeeded since, so the error has been displayed for over 24 hours while the peer is reachable.
last_error has no timestamp, so the UI can't tell how old it is. last_reached_at still shows the pre-sleep time.
Expected
When the live probe succeeds, show the link as reachable. Either clear last_error, or rank the live probe above a stored error and show when the error happened. A stored error should also carry its own timestamp.
Environment
Desktop (Windows 11) and MacBook (macOS) on T3 Code nightly builds from November 2026 (Mac server 0.1.14-nightly.20261128.5399), linked over Tailscale with T3 relay fallback.
Activity