Support exec and restart in Windows MXC ProcessContainer sandboxes
Nadie ha tomado este issue todavía.
Evaluación
- Dificultad
- 4/5
- Tiempo estimado
- 3-5 días
- Aptitud para principiantes
- 30/100
Línea de trabajo
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.
Escrito por el modelo de indexación a partir del texto del issue.
Descripción
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
- Lenguaje dominante
- Rust
- Estrellas
- 21.5k
- Forks
- 2.1k
- Métricas de merge de PR
- Sin PR fusionados en 30 d
Preparar el entorno
- Sin Dockerfile ni archivo de Docker Compose
- Tiene una plantilla de pull request
- Leer la guía de contribución
Primeros pasos
- Lee el issue completo y luego la guía de contribución del proyecto.
- Comenta en el issue que vas a ocuparte — evita que dos personas hagan lo mismo.
- Haz un fork del repositorio y trabaja en una rama.
- Abre un pull request que haga referencia al número del issue.
Más de NVIDIA/OpenShell
-
state:triage-needed
Dificultad 2/5 1-3 horas Aptitud para principiantes 86/100
-
state:triage-needed
Dificultad 2/5 1-3 horas Aptitud para principiantes 78/100
-
bug: Ready=False/PodTerminating is treated as a terminal sandbox failurePosiblemente ocupada @TaylorMutch la tomó hace 9 días. Abiertostate:accepted state:pr-opened
Dificultad 2/5 1-3 horas Aptitud para principiantes 78/100
-
state:triage-needed
Dificultad 1/5 1-3 horas Aptitud para principiantes 78/100
-
state:triage-needed
Dificultad 2/5 1-3 horas Aptitud para principiantes 62/100
Todos los issues de NVIDIA/OpenShell
Issues similares
-
Dificultad 2/5 1-3 horas Aptitud para principiantes 72/100
Los mantenedores suelen responder en 2 días
-
autofixer: follow-up
Dificultad 2/5 1-3 horas Aptitud para principiantes 78/100
tursodatabase/turso#12531 ·
Los mantenedores suelen responder en 1 día
-
bug help wanted ui
Dificultad 2/5 1-3 horas Aptitud para principiantes 82/100
userFRM/egui-charts#4292 ·
Los mantenedores suelen responder en 1 día
-
CHANGELOG.md out of dateAbiertoIssue-Bug Need-Review
Dificultad 1/5 1-3 horas Aptitud para principiantes 85/100
PowerShell/DSC#1832 ·
Los mantenedores suelen responder en 1 día
-
bug
Dificultad 2/5 1-3 horas Aptitud para principiantes 76/100
Los mantenedores suelen responder en 1 día