Support atomic Sandbox identity preconditions for ExecSandbox
Nessuno ha ancora preso questa issue.
Valutazione
- Difficoltà
- 5/5
- Tempo stimato
- Più di una settimana
- Idoneità per principianti
- 15/100
- Tipo di issue
- Funzionalità
- Chiarezza
- Abbastanza chiara
- Stato di attività
- Attiva
- Stack tecnologico
- grpc, rust
- Ambito
- backend-api-design, security
Direzione di ricerca
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.
Scritto dal modello di indicizzazione a partire dal testo della issue.
Descrizione
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
- Lingua principale
- Rust
- Stelle
- 21.5k
- Fork
- 2.1k
- Metriche di merge delle PR
- Nessuna PR unita negli ultimi 30g
Preparare l'ambiente
- Nessun Dockerfile né file Docker Compose
- Ha un modello di pull request
- Leggi la guida per i contributori
Come iniziare
- Leggi tutta la issue e poi la guida ai contributi del progetto.
- Commenta sulla issue per dire che te ne occupi tu — evita che due persone facciano lo stesso lavoro.
- Fai un fork del repository e lavora su un branch.
- Apri una pull request che faccia riferimento al numero della issue.
Altre issue di NVIDIA/OpenShell
-
state:triage-needed
Difficoltà 2/5 1-3 ore Idoneità per principianti 86/100
-
state:triage-needed
Difficoltà 2/5 1-3 ore Idoneità per principianti 78/100
-
bug: Ready=False/PodTerminating is treated as a terminal sandbox failureForse già presa @TaylorMutch l’ha presa 9 giorni fa. Apertastate:accepted state:pr-opened
Difficoltà 2/5 1-3 ore Idoneità per principianti 78/100
-
state:triage-needed
Difficoltà 1/5 1-3 ore Idoneità per principianti 78/100
-
state:triage-needed
Difficoltà 2/5 1-3 ore Idoneità per principianti 62/100
Tutte le issue di NVIDIA/OpenShell
Issue simili
-
Difficoltà 2/5 1-3 ore Idoneità per principianti 72/100
I maintainer di solito rispondono entro 2 giorni
-
autofixer: follow-up
Difficoltà 2/5 1-3 ore Idoneità per principianti 78/100
tursodatabase/turso#12531 ·
I maintainer di solito rispondono entro 1 giorno
-
bug help wanted ui
Difficoltà 2/5 1-3 ore Idoneità per principianti 82/100
userFRM/egui-charts#4292 ·
I maintainer di solito rispondono entro 1 giorno
-
CHANGELOG.md out of dateApertaIssue-Bug Need-Review
Difficoltà 1/5 1-3 ore Idoneità per principianti 85/100
PowerShell/DSC#1832 ·
I maintainer di solito rispondono entro 1 giorno
-
bug
Difficoltà 2/5 1-3 ore Idoneità per principianti 76/100
I maintainer di solito rispondono entro 1 giorno