feat(sandbox): validated fast-start sandbox path for bursty agent workloads

Aperta
#5,873 0 commenti 0 reazioni 0 assegnatari Vedi su GitHub

Nessuno ha ancora preso questa issue.

Valutazione

Difficoltà
5/5
Tempo stimato
Più di una settimana
Idoneità per principianti
12/100
Tipo di issue
Funzionalità
Chiarezza
Abbastanza chiara
Stato di attività
Attiva
Stack tecnologico
rust

Direzione di ricerca

This is an investigation rather than a scoped edit: start by locating the sandbox provisioning path and the experimental Firecracker driver in the OpenShell Rust codebase, and read how the Daytona-based configuration is wired in. Then build a reproducible cold-start and cached-image benchmark that can be run against both provisioning paths. Done means the profiling results, the Firecracker compatibility findings, the comparative measurements and a documented fast-start configuration with prerequisites and limitations are all recorded against the acceptance criteria — none of which the issue pins to a file or version.

Scritto dal modello di indicizzazione a partire dal testo della issue.

Descrizione

state:triage-needed
User Story

An NVIDIA AI lab partner uses OpenShell for running bursty agent workloads that need sandboxes to become available on demand, and wants a validated fast-start sandbox path so that sandbox provisioning is no longer the dominant source of startup latency.

Problem Statement

The partner reports that sandboxes provisioned through their existing Daytona-based setup take minutes to become available. For bursty agent workflows, where sandboxes are created and torn down frequently, this startup time is a significant bottleneck.

OpenShell's experimental Firecracker driver is a possible alternative, but its compatibility with the partner's Daytona-based configuration and the achievable end-to-end startup gains have not been validated. Specific OpenShell versions, platforms and driver configuration details were not provided.

Impact / Why This Matters

Startup latency measured in minutes makes OpenShell impractical for bursty, short-lived agent sandboxes: time-to-first-work is dominated by provisioning rather than by the agent itself. Without a validated fast-start path, users with this workload shape have no supported configuration to adopt and must either accept the latency or keep sandboxes warm.

Proposed Design
  • Profile the current sandbox provisioning path to identify which stages contribute to the multi-minute startup time.
  • Assess compatibility of the experimental Firecracker driver with a Daytona-based sandbox configuration and document any gaps or required changes.
  • Measure representative cold-start and cached-image start times for the Firecracker path and compare them against the current provisioning path.
  • Based on the results, document a recommended fast-start sandbox configuration for bursty agent workloads, including its limitations.
Acceptance Criteria
  • Sandbox provisioning is profiled and the stages responsible for the multi-minute startup time are identified and documented.
  • Firecracker driver compatibility with a Daytona-based sandbox configuration is validated, with any incompatibilities documented.
  • Cold-start and cached-image start times are measured for both the current path and the Firecracker path, using a reproducible benchmark method.
  • A fast-start sandbox configuration is documented with its supported platforms, prerequisites and known limitations.
  • Bursty agent workloads can obtain a sandbox with startup latency substantially below the current multi-minute baseline, with the improvement demonstrated by the benchmark above.
Alternatives Considered
  • Continue using the current Daytona-based provisioning path unchanged, accepting multi-minute sandbox startup times.
  • No other alternatives were provided.

Reported to NVIDIA by an AI lab partner.

Lingua principale
Rust
Stelle
21.5k
Fork
2.1k
Metriche di merge delle PR
Nessuna PR unita negli ultimi 30g

Preparare l'ambiente

Come iniziare

  1. Leggi tutta la issue e poi la guida ai contributi del progetto.
  2. Commenta sulla issue per dire che te ne occupi tu — evita che due persone facciano lo stesso lavoro.
  3. Fai un fork del repository e lavora su un branch.
  4. Apri una pull request che faccia riferimento al numero della issue.

Altre issue di NVIDIA/OpenShell

Tutte le issue di NVIDIA/OpenShell

Issue simili

Altre issue su Rust

Ricevi le nuove issue nella tua casella

Un breve riepilogo di issue GitHub adatte ai principianti.