The latest Node SDK is too old for the latest k8s images

未关闭
#3,381 0 条评论 0 个 reaction 已指派 0 人 在 GitHub 查看

还没有人认领这个 Issue。

评估

难度
3/5
预计耗时
1-2 天
新手友好度
65/100
Issue 类型
缺陷
描述清晰度
基本清楚
活跃度
活跃
技术栈
docker, javascript, nodejs, rust
领域
api, backend

调研方向

从生成的 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 内容生成。

描述

state:triage-needed
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

贡献指南

打开贡献指南

从这里开始

  1. 先读完整个 Issue,再读项目的贡献指南。
  2. 在 Issue 下留言说明你要接手 —— 这能避免两个人做同样的事。
  3. Fork 仓库,在一个分支上完成修改。
  4. 提交 Pull Request,并在描述里引用这个 Issue 编号。

NVIDIA/OpenShell 的其他 Issue

查看 NVIDIA/OpenShell 的全部 Issue

相似的 Issue

更多 Rust Issue

把新 issue 发到你的邮箱

精选适合新手参与的 GitHub issue 摘要。