feat(sandbox): validated fast-start sandbox path for bursty agent workloads
Ninguém assumiu esta issue ainda.
Avaliação
- Dificuldade
- 5/5
- Tempo estimado
- Mais de uma semana
- Facilidade para iniciantes
- 12/100
- Tipo de issue
- Funcionalidade
- Clareza
- Razoavelmente clara
- Status de atividade
- Ativa
- Stack de tecnologia
- rust
- Domínio
- infrastructure, performance
Direção de pesquisa
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.
Escrita pelo modelo de indexação a partir do texto da issue.
Descrição
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.
- Linguagem predominante
- Rust
- Estrelas
- 21.5k
- Forks
- 2.1k
- Métricas de merge de PRs
- Nenhum PR com merge em 30d
Preparar o ambiente
- Sem Dockerfile nem arquivo Docker Compose
- Tem um modelo de pull request
- Ler o guia de contribuição
Primeiros passos
- Leia a issue inteira e depois o guia de contribuição do projeto.
- Comente na issue dizendo que vai assumir — evita que duas pessoas façam o mesmo trabalho.
- Faça um fork do repositório e trabalhe em uma branch.
- Abra um pull request que referencie o número da issue.
Mais de NVIDIA/OpenShell
-
state:triage-needed
Dificuldade 2/5 1-3 horas Facilidade para iniciantes 86/100
-
state:triage-needed
Dificuldade 2/5 1-3 horas Facilidade para iniciantes 78/100
-
bug: Ready=False/PodTerminating is treated as a terminal sandbox failureTalvez já em andamento @TaylorMutch assumiu há 9 dias. Abertastate:accepted state:pr-opened
Dificuldade 2/5 1-3 horas Facilidade para iniciantes 78/100
-
state:triage-needed
Dificuldade 1/5 1-3 horas Facilidade para iniciantes 78/100
-
state:triage-needed
Dificuldade 2/5 1-3 horas Facilidade para iniciantes 62/100
Todas as issues de NVIDIA/OpenShell
Issues semelhantes
-
Dificuldade 2/5 1-3 horas Facilidade para iniciantes 72/100
Mantenedores costumam responder em até 2 dias
-
autofixer: follow-up
Dificuldade 2/5 1-3 horas Facilidade para iniciantes 78/100
tursodatabase/turso#12531 ·
Mantenedores costumam responder em até 1 dia
-
bug help wanted ui
Dificuldade 2/5 1-3 horas Facilidade para iniciantes 82/100
userFRM/egui-charts#4292 ·
Mantenedores costumam responder em até 1 dia
-
CHANGELOG.md out of dateAbertaIssue-Bug Need-Review
Dificuldade 1/5 1-3 horas Facilidade para iniciantes 85/100
PowerShell/DSC#1832 ·
Mantenedores costumam responder em até 1 dia
-
bug
Dificuldade 2/5 1-3 horas Facilidade para iniciantes 76/100
Mantenedores costumam responder em até 1 dia