feat: support generic {ide}-remote connection types for space access#414
Merged
mollyheamazon merged 1 commit intoaws:mainfrom Apr 30, 2026
Merged
feat: support generic {ide}-remote connection types for space access#414mollyheamazon merged 1 commit intoaws:mainfrom
mollyheamazon merged 1 commit intoaws:mainfrom
Conversation
aws-brianxia
approved these changes
Apr 29, 2026
aakashmandavilli96
approved these changes
Apr 29, 2026
henrywa2
approved these changes
Apr 29, 2026
mollyheamazon
approved these changes
Apr 30, 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.
feat: support generic {ide}-remote connection types for space access
Description
Updates the HyperPod CLI to support any
{ide}-remoteconnection type pattern for space access, instead of only allowing the hardcodedvscode-remoteandweb-uivalues. This enableskiro-remote,cursor-remote,windsurf-remote, and any future IDE remote connection typeswithout requiring CLI changes.
This change aligns the CLI with the server-side operator change in jupyter-k8s-infra#371 (
feat: kiro and cursor support), which generalized theWorkspaceConnectionvalidation froma fixed enum to a regex-based
{ide}-remotepattern.Changes
SDK (
hyperpod_space.py){"vscode-remote", "web-ui"}allowlist with regex validation using the same pattern as the operator:^[a-zA-Z0-9]+(?:-[a-zA-Z0-9]+)*-remote$CLI (
space_access.py)--connection-typehelp text to describe the{ide}-remotepatternDocumentation
README.md— Addedkiro-remoteandcursor-remoteexamples to CLI and SDK sectionsdoc/cli/space/cli_space.md— Updated parameter table and added exampledoc/getting_started/space.md— Added examples to CLI and SDK tabsexamples/end_to_end_walkthrough/04-spaces/00-create-space.md— Added section for other IDE connectionsTests
test_space_access.py— Added CLI tests forkiro-remoteandcursor-remotetest_hyperpod_space.py— Added SDK tests forkiro-remote,cursor-remote, and invalid pattern rejection (6 invalid inputs)Testing
All space access tests pass (10/10 targeted, 67/67 total space-related tests). No regressions.