-
Notifications
You must be signed in to change notification settings - Fork 759
fix(sagemaker): singleton window bug #8385
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
base: master
Are you sure you want to change the base?
Changes from 1 commit
File filter
Filter by extension
Conversations
Jump to
Diff view
Diff view
There are no files selected for viewing
| Original file line number | Diff line number | Diff line change |
|---|---|---|
|
|
@@ -186,7 +186,7 @@ export async function prepareDevEnvConnection( | |
|
|
||
| const hyperPodEnv: NodeJS.ProcessEnv = { | ||
| AWS_REGION: region, | ||
| SESSION_ID: session || '', | ||
| SESSION_ID: hostname || '', | ||
|
Contributor
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. why can't this be session?
Contributor
Author
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. hostname also uses session but session is randomly generated in the presigned url and this is what's causing a new external window to be opened when the user tries to connect to the workspace. After discussing with @edwardps, we decided to use a deterministic unique identifier for the hostname instead |
||
| STREAM_URL: decodedWsUrl, | ||
| TOKEN: decodedToken, | ||
| AWS_SSM_CLI: ssm, | ||
|
|
||
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Please check the naming convention(limits) to confirm the characters allow by k8s can be accepted as ssh hostname.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Added k8s naming convention validation