Skip to content

Phase 2 slice 5: Migrate sandbox lifecycle to SDK and gRPC #9831

Closed as not planned
Closed as not planned

Description

@rsliter

Warning

this issue is pending scoping and should only be picked up by rsliter.

Parent Epic: #9802

Outcome

Use the curated SDK and main-service gRPC client for sandbox lifecycle mutations that satisfy the Phase 1 lifecycle contract.

Draft scope

  • Map curated SDK create and delete operations to NemoClaw-owned lifecycle requests and results.
  • Use released start and stop RPCs when current consumers require them and the curated SDK has no equivalent.
  • Prove parity for each migrated image, label, environment, provider, GPU, policy, resource, and advanced-spec field.
  • Preserve create, wait, rollback, delete, absence verification, and cleanup ordering.
  • Select one transport for each lifecycle operation.
  • Retain CLI composition for local image builds, create-time upload, terminal behavior, and detached forwarding when no equivalent RPC exists.

Acceptance evidence

  • Successful creation reaches the expected observed state with the intended policy and provider configuration.
  • Delete success requires authoritative absence evidence.
  • Transport ambiguity after create, start, stop, or delete is reconciled before retry, rollback, or cleanup.
  • Failed create, rollback, cancellation, rebuild, and cleanup preserve Phase 1 state transitions.
  • No lifecycle mutation uses automatic cross-transport fallback.

Test plan

  • Shared CLI, SDK, and gRPC lifecycle contracts.
  • Conversion and error tests for every migrated lifecycle input.
  • Existing onboarding, rebuild, destroy, rollback, uninstall, GPU, and recovery tests.
  • Focused lifecycle E2E evidence against the exact selected gateway and runtime.

Dependencies and sequencing

Blocked by Phase 2 Slices 1 and 3.

Deferred scope

  • Local Dockerfile builds and build-context preparation.
  • Create-time upload and detached port forwards.
  • Deletion of CLI lifecycle methods until every migrated path has merged evidence.

Activity

  1. self-assigned this
    on Aug 20, 2026
  2. added theissue type on Aug 20, 2026
  3. added
    area: architecture
    area: sandbox
    needs: design
    on Aug 21, 2026
  4. wscurran commented on Nov 17, 2026

    @wscurran
    Contributor

    Hi Rebecca, thanks for the work and discussion here. We’re planning an updated architecture for NemoClaw, so we’re closing this remaining work for the earlier implementation as not planned.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

Labels

area: architecturearea: sandboxneeds: design

Type

Projects

No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions