Support exec and restart in Windows MXC ProcessContainer sandboxes
まだ誰も着手していません。
評価
調査の方向性
Start from the CLI handlers behind openshell sandbox exec and openshell sandbox start in the Rust sources, then follow how the Windows MXC ProcessContainer backend differs from the paths that already support exec and restart (the SSH-not-configured error is the entry point for exec). Read PR #5859 first, since the issue states it already implements this scope, and treat #5468 (Isolation Session) as out of scope. Done means the reproduction in the issue passes: exec prints hello from MXC and returns exit code 7, and start brings a stopped sandbox back to Ready with the workspace marker file intact on both x64 and ARM64.
索引モデルが issue の本文から書いたものです。
説明
User Story
I use OpenShell on Windows to run and test workloads in MXC ProcessContainer sandboxes. I need to run another command in a Ready sandbox and restart a sandbox while keeping its workspace.
Problem Statement
Running an additional command in a Ready ProcessContainer sandbox fails. Restarting a stopped sandbox is unsupported.
Impact / Why This Matters
Impact / Why This Matters
Recreating the sandbox for each command interrupts the workload and forces me to repeat setup.
Acceptance Criteria
Support the existing openshell sandbox exec <name> --no-tty -- <program> [args...] and openshell sandbox start <name> commands on Windows x64 and ARM64 ProcessContainer. PR #5859 implements this scope. Isolation Session remains tracked in #5468.
Reproduction Steps
-
On Windows, select a native OpenShell gateway configured to use MXC ProcessContainer.
-
Create a sandbox named
mxc-reprowith a long-running startup command. Wait untilopenshell sandbox listshows it asReady. -
Run a second command in the same sandbox and check its exit code.
openshell sandbox exec mxc-repro --no-tty -- 'C:\Windows\System32\cmd.exe' /d /c 'echo hello from MXC&exit /b 7' $LASTEXITCODEExpected output is
hello from MXCwith exit code7. On the affected build, exec reportsSSH access is not configured for this supervisor. -
Place a marker file in the sandbox workspace, then stop the sandbox.
openshell sandbox stop mxc-repro -
Once the sandbox shows
Stopped, start it again.openshell sandbox start mxc-reproThe sandbox should return to
Readywith the marker file still present. On the affected build, start returnsUnimplemented.
Suggested UX (if applicable)
No response
Environment
Windows x64 and ARM
Logs
- 主要言語
- 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時間 初心者へのやさしさ 83/100
Tripstack-Corp/spyc#1352 ·
メンテナーはふだん 1 日以内に返信