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
Linked environments: a revoked link stays 'reachable' and re-linking reuses it #959
What happened: a linked machine was updated and its old link was revoked there. t3_environment_links still showed it as reachable, with lastError "The linked environment no longer accepts this link". Every read returned capability_denied.
Calling t3_environment_link with that environmentId returned status: linked and showed no card.
Calling it again with only a hint showed a card, and the user approved it. The old record stayed: same expiresAt, still capability_denied.
Only t3_environment_unlink followed by a new link card helped.
Expected:
A link whose last call was capability_denied (revoked there) is not reported as reachable/linked.
t3_environment_link on such a link starts a fresh pairing and replaces the stored credential when the user approves.
An approved card never leaves the old credential in place.
Test: a link whose remote revokes the session, then t3_environment_link (with and without environmentId) leads to a new pairing, and the stored link works after approval.
Activity