Skip to content

Commit 0ecf372

Browse files
committed
bug fix and feature improvement
1 parent 85af513 commit 0ecf372

File tree

9 files changed

+1897
-233
lines changed

9 files changed

+1897
-233
lines changed

src/snowflake/cli/_plugins/remote/commands.py

Lines changed: 312 additions & 95 deletions
Large diffs are not rendered by default.

src/snowflake/cli/_plugins/remote/constants.py

Lines changed: 6 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -49,7 +49,7 @@ class ComputeResources:
4949
USER_WORKSPACE_VOLUME_NAME = "user-workspace"
5050
USER_WORKSPACE_VOLUME_MOUNT_PATH = "/root/user-default"
5151
USER_VSCODE_DATA_VOLUME_NAME = "user-vscode-data"
52-
USER_VSCODE_DATA_VOLUME_MOUNT_PATH = "/root/.vscode-server"
52+
USER_VSCODE_DATA_VOLUME_MOUNT_PATH = "/root/.vscode-server/data"
5353

5454
# Service naming constants
5555
SERVICE_NAME_PREFIX = "SNOW_REMOTE"
@@ -112,6 +112,11 @@ class ServiceResult(enum.Enum):
112112
ML_RUNTIME_HEALTH_CHECK_PORT = "5001"
113113
ENABLE_HEALTH_CHECKS = "false"
114114

115+
# Endpoint readiness validation settings
116+
DEFAULT_ENDPOINT_TIMEOUT_MINUTES = 5 # Maximum time to wait for endpoint readiness
117+
ENDPOINT_CHECK_INTERVAL_SECONDS = 5 # Interval between endpoint health checks
118+
ENDPOINT_REQUEST_TIMEOUT_SECONDS = 10 # HTTP request timeout for individual checks
119+
115120
# Ray environment variables
116121
RAY_ENV_VARS = {
117122
"HEAD_CLIENT_SERVER_PORT": "10001",

0 commit comments

Comments
 (0)