feat(remote): productize endpoint health and browse flows#227
Merged
DeadWaveWave merged 4 commits intomainfrom May 4, 2026
Merged
feat(remote): productize endpoint health and browse flows#227DeadWaveWave merged 4 commits intomainfrom
DeadWaveWave merged 4 commits intomainfrom
Conversation
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.
💡 Change Scope
📝 What Does This PR Do?
This PR productizes the post-M6 remote workflow within a deliberately bounded scope:
endpoint UX,topology health,SSH/bootstrap, andremote browse.It keeps
endpoint.listas the durable topology truth, adds runtime-only health/prepare/repair projections for remote endpoints, and unifies the user path across Settings, Add Project, Manage Locations, and Remote Directory Picker into a single mental model:select endpoint -> inspect health -> browse/select path -> bind locationKey outcomes:
🏗️ Large Change Spec (Required if "Large Change" is checked)
1. Context & Business Logic
Remote support after M6 still worked like a set of low-level building blocks rather than a coherent product flow. Users needed one stable path for registering a remote target, understanding whether it was ready, repairing/bootstraping it when needed, browsing a remote directory, and binding that directory to a project.
This PR productizes that path while staying inside the agreed scope:
endpoint UXtopology healthSSH/bootstrapremote browseManaged SSH is the default path. Manual endpoint registration remains available as the advanced path.
2. State Ownership & Invariants
State ownership:
endpoint.listmanagedSshEndpointRuntimeendpointHealthServiceInvariants:
endpoint.listremains the single durable topology truth;overview.list,prepare, andrepairremain runtime projection/action paths.3. Verification Plan & Regression Layer
Lowest meaningful regression layers used here:
tests/unit/contexts/endpointsSection.spec.tsxtests/unit/contexts/controlSurface.topologyHandlers.spec.tstests/contract/controlSurface/controlSurfaceHttpServer.multiEndpoint.controlPlane.spec.tstests/e2e/m6.endpoints-mounts.remote-worktree.integration.spec.tstests/e2e/remote-ui-audit.spec.tspnpm pre-commitFinal validation used for this PR:
pnpm pre-commitfully greentest:staged:23files /62tests passedtest:e2e:pre-commit: Playwright211passed /46skipped✅ Delivery & Compliance Checklist
pnpm pre-commitis completely green.CLA.md).DEVELOPMENT.mdarchitectural boundaries.📸 Screenshots / Visual Evidence
UI visual evidence was captured locally through
tests/e2e/remote-ui-audit.spec.tsfor:I will upload the screenshots directly in the GitHub PR UI to satisfy the review-material requirement.