Repository navigation
fix(computers): show route and config sharing status in context - #205
Merged
Merged
Conversation
A linked computer that dialled this one showed its routes as amber failures while the link was connected. The gateway dials only when no link exists, so failures from an earlier attempt stayed recorded and were shown without context. - The overview now says how the link runs (connection_direction: outgoing, incoming, both) and which route an outgoing link uses (ComputerRoute.in_use). The card shows "Connected · incoming", the route "In use · 4 ms", and a failed route while connected "Not needed while connected · failed 14 minutes ago". Amber only while the link is down. - Announced addresses the partner no longer announces become old addresses (migration 0081, withdrawn_at): tried last, never a warning, and removed once a current route works or after 7 days. An empty list (listener off, shutdown) marks nothing old. - Addresses that change during a handshake are announced right after it; before, that announcement was skipped and the partner kept the stale address. - Config sharing names the computer that needs an update (config_update_node_id, from both sides' capabilities): "Laptop B runs 0.2.0-nightly.65 and needs an update to share configuration." or "This computer needs an update to share configuration." The switch shows this computer's choice and stays usable; "Sharing starts after the update." / "Sharing stays off after the update." Pinned TLS, owner scoping and address validation are unchanged. Related: #35, #157
This was referenced Nov 13, 2026
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Settings → Linked computers no longer shows amber route failures for a computer that is connected, and the configuration sharing note says which computer needs an update.
Why routes showed "Failed" while connected
What the card shows now
Configuration sharing
config_syncfirst shipped in nightly.67, so a nightly.65 partner cannot share yet. The note now names the computer:Contracts
LinkedComputer.connection_direction(26),config_update_node_id(27),ComputerRoute.in_use(7) andwithdrawn_at_ms(8).0082_computer_route_withdrawn, renumbered after fix(connectors): close sign-in on deep link and enable slack mcp #204's 0081.Tests
tests/integration/linked-routes-status.test.ts:config-sync.test.tschecks that both sides name the older computer. Thelan-routesandlinked-computerstests pass.check:tmp: 1348 passed, 0 failed.Checked in a browser with two gateways and fixture names and addresses: light and dark, desktop and phone, with long names and addresses.
Copy audit (§8)
Related: #35, #157