Support atomic Sandbox identity preconditions for ExecSandbox
まだ誰も着手していません。
評価
- 難易度
- 5/5
- 見積もり時間
- 1週間以上
- 初心者へのやさしさ
- 15/100
- issue の種類
- 機能追加
- 明瞭さ
- おおむね明確
- 活発さ
- 活発
- 技術スタック
- grpc, rust
調査の方向性
Start with the pinned API surface in proto/openshell.proto lines 1996-2038, then trace the ExecSandbox and ExecSandboxInteractive admission paths to see where Workspace/name lookup happens and where the relay is bound. The change must validate an expected immutable Sandbox ID plus supervisor/main-process generation atomically before command start or stdin delivery, while preserving request-ID semantics. Done means both Exec APIs reject mismatches before execution, and regressions cover A replaced by B at the same name plus a process-generation change within one Sandbox.
索引モデルが issue の本文から書いたものです。
説明
A controller may prepare Sandbox A and later execute a short activation command. ExecSandbox and ExecSandboxInteractive currently select by Workspace and Sandbox name. If A is deleted or replaced under that name before execution, the command can run in replacement B. A request UUID prevents duplicate launch but does not assert that the named Sandbox is the instance or process generation previously prepared by the controller.
Please support an optional expected immutable Sandbox ID and supervisor/main-process instance or generation in both Exec APIs. Validate them atomically during admission and bind the relay to that exact instance; reject mismatches before starting the command or delivering stdin. Preserve durable request-ID semantics. Include a regression in which Sandbox A is prepared, replaced by B at the same name, and the activation request for A fails without executing in B; also cover a process generation change within one Sandbox.
Related Provider attachment issue: https://github.com/ai-openshell/openshell/issues/5794
Pinned API: https://github.com/ai-openshell/openshell/blob/v0.1.8/proto/openshell.proto#L1996-L2038
- 主要言語
- Rust
- スター
- 21.5k
- フォーク
- 2.1k
- PR マージ指標
- 30日以内にマージされた PR はありません
環境構築
- Dockerfile・Docker Compose ファイルなし
- プルリクエストのテンプレートあり
- コントリビューションガイドを読む
はじめの一歩
- issue を最後まで読み、次にプロジェクトのコントリビューションガイドを読みます。
- 着手することを issue にコメントします — 二人が同じ作業をするのを防げます。
- リポジトリをフォークし、ブランチを切って変更します。
- issue 番号を参照したプルリクエストを送ります。
NVIDIA/OpenShell のほかの issue
-
state:triage-needed
難易度 2/5 1〜3時間 初心者へのやさしさ 86/100
-
state:triage-needed
難易度 2/5 1〜3時間 初心者へのやさしさ 78/100
-
bug: Ready=False/PodTerminating is treated as a terminal sandbox failure対応中かも @TaylorMutch が 9 日前に担当しました。 オープンstate:accepted state:pr-opened
難易度 2/5 1〜3時間 初心者へのやさしさ 78/100
-
state:triage-needed
難易度 1/5 1〜3時間 初心者へのやさしさ 78/100
-
state:triage-needed
難易度 2/5 1〜3時間 初心者へのやさしさ 62/100
NVIDIA/OpenShell の issue をすべて見る
似ている issue
-
難易度 2/5 1〜3時間 初心者へのやさしさ 72/100
メンテナーはふだん 2 日以内に返信
-
autofixer: follow-up
難易度 2/5 1〜3時間 初心者へのやさしさ 78/100
tursodatabase/turso#12531 ·
メンテナーはふだん 1 日以内に返信
-
bug help wanted ui
難易度 2/5 1〜3時間 初心者へのやさしさ 82/100
userFRM/egui-charts#4292 ·
メンテナーはふだん 1 日以内に返信
-
Issue-Bug Need-Review
難易度 1/5 1〜3時間 初心者へのやさしさ 85/100
PowerShell/DSC#1832 ·
メンテナーはふだん 1 日以内に返信
-
bug
難易度 2/5 1〜3時間 初心者へのやさしさ 76/100
メンテナーはふだん 1 日以内に返信