Repository navigation
Conversation
activeRepositoryFromRemote fell back to a local transport when a remote repository had no endpoint, so every transport helper ran the operation as a local Tauri command against the remote path. It is now an explicit "unresolved" transport: routed reads and mutations throw endpoint_unresolved, and assertLocalOperation keeps rejecting local-only calls. The launch-time restore of the endpoint-less legacy blob is removed; a repository reopens only through the saved descriptor and trust sequence. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com> Claude-Session: https://claude.ai/code/session_01MbYSPHBRmDYwPJpHG33Y4t
This was referenced Sep 30, 2026
Collaborator
Author
|
Consolidated into #649 (remote repo identity and trust). Closing. Generated by Claude Code |
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.
Stacked on #649.
Problem
When a remote repository had no endpoint,
activeRepositoryFromRemotefell back totransport: {type: "local"}.activeForPathandremoteRepositoryContainingthen returned null, so every operation ran as a local Tauri command against the remote path string.remoteDispatchwith a null endpoint also fell through toremote_dispatch_local. The endpoint-less legacylast_opened_remote_repoblob was restored on launch without the trust sequence, which contradictsremote-repository.ts:17.Changes
activeRepositoryFromRemote, no endpointtransport: localtransport: unresolvedactiveForPathon an unresolved remotenull, so it ran locallyendpoint_unresolved:remoteDispatch/remoteMutation, no SSH transportremote_dispatch_localendpoint_unresolved:assertLocalOperationon an unresolved remoteunsupported:Checks
src/lib,src/components,src/hooks(750 passed), including a new unresolved-remote fail-closed testremote-workspace-uiandremote-ssh(16 passed), including a new "no descriptor id: blob not restored" caseremote-workspace-uipasses; I checked the capture by eyenpm run check,lint,check:format,knip🤖 Generated with Claude Code
https://claude.ai/code/session_01MbYSPHBRmDYwPJpHG33Y4t
Generated by Claude Code