The latest Node SDK is too old for the latest k8s images
还没有人认领这个 Issue。
评估
- 难度
- 3/5
- 预计耗时
- 1-2 天
- 新手友好度
- 65/100
- Issue 类型
- 缺陷
- 描述清晰度
- 基本清楚
- 活跃度
- 活跃
- 技术栈
- docker, javascript, nodejs, rust
调研方向
从生成的 Node SDK proto 和第 294 行附近的 client.js 开始,然后将它们与 PR #3245 以及 openshell-server/src/auth/workspace_authz.rs:122 进行比较。使用 @nvidia/openshell-sdk@0.0.116 和最新镜像复现 sandbox 创建。完成的标准是 SDK 能够提供 workspace_scope/workspaceScope,并且使用近期的 OpenShell 镜像可以成功创建 sandbox。
由索引模型根据 Issue 内容生成。
描述
User Story
The latest Node SDK is too old for the latest k8s images
Problem Statement
OpenShell gateway ran the ghcr.io :latest image, which had advanced past PR #3245 "typed workspace selectors" (2026-09-10, commit 90dbe545). That PR made workspace_scope a required field on CreateSandbox (enforced at openshell-server/src/auth/workspace_authz.rs:122). But the published @nvidia/openshell-sdk@0.0.116 (2026-08-28), whose generated proto has no workspaceScope field at all — its sandbox.create() only sends { name, labels, spec } (client.js:294). The client physically cannot send the field the newer gateway demands, so every create failed with [invalid_argument] workspace_scope is required.
Impact / Why This Matters
unable use nodejs with latest openshell docker images
Acceptance Criteria
node sdk must be compatibility to recent docker images
Reproduction Steps
create sandbox with recent sdk
Environment
:latest image of openshell
Logs
- 主要语言
- Rust
- 星标
- 8.7k
- 派生
- 1.3k
- 平均合并
- 2 天 6 小时
- 30 天内合并 PR
- 236
贡献指南
从这里开始
- 先读完整个 Issue,再读项目的贡献指南。
- 在 Issue 下留言说明你要接手 —— 这能避免两个人做同样的事。
- Fork 仓库,在一个分支上完成修改。
- 提交 Pull Request,并在描述里引用这个 Issue 编号。
NVIDIA/OpenShell 的其他 Issue
-
area:docs
难度 1/5 1 小时以内 新手友好度 88/100
-
state:triage-needed
难度 2/5 1-3 小时 新手友好度 82/100
-
area:cli state:validated
难度 2/5 1-3 小时 新手友好度 72/100
-
state:triage-needed
难度 1/5 1 小时以内 新手友好度 90/100
-
area:build spike state:review-ready state:stale
难度 2/5 半天 新手友好度 68/100
相似的 Issue
-
难度 2/5 1-3 小时 新手友好度 82/100
stratum-mining/stratum#2404 ·
-
bug ci good first issue
难度 2/5 1-3 小时 新手友好度 88/100
-
documentation easy help wanted
难度 2/5 1-3 小时 新手友好度 76/100
lacs-project/sysknife#483 · 1 条评论 ·
-
area:evidence documentation
难度 1/5 1 小时以内 新手友好度 90/100
registrystack/registry-stack#1302 ·
-
难度 2/5 1-3 小时 新手友好度 85/100