Skip to content

docs(snapshot): qualify cross-sandbox restore for managed images - #12153

Closed
VishnuR23 wants to merge 2 commits into
NVIDIA:mainfrom
VishnuR23:docs/cross-sandbox-restore-managed-image
Closed

VishnuR23 wants to merge 2 commits into
NVIDIA:mainfrom
VishnuR23:docs/cross-sandbox-restore-managed-image

Conversation

@VishnuR23

@VishnuR23 VishnuR23 commented Sep 21, 2026 •

Copy link
Copy Markdown
Contributor

Outcome

The cross-sandbox restore section of docs/manage-sandboxes/backup-restore.mdx no longer reads as an unconditional grant for every Docker- and VM-driver sandbox.

Reason

The --to section already carries a note stating that --to is not available for a snapshot of a sandbox that uses a NemoClaw-managed image, added in #10619. Twelve lines below it, the driver-support sentence said:

Cross-sandbox restore from a stopped source is available for Docker- and VM-driver sandboxes.

Those two statements disagree for a stopped Docker-driver source built from a managed image. The sentence qualifies the path by driver, so a reader checking whether their sandbox is eligible can satisfy it and still be refused by the command.

rejectManagedSnapshotCloneUntilRebind in src/lib/actions/sandbox/snapshot/managed-profile.ts refuses the restore whenever the source carries a managed-snapshot profile authority, independently of the driver, so the note is the accurate statement and the paragraph was the stale one.

Related issues

Refs #10619

Changes

  • Name the managed-image limit in the sentence that grants cross-sandbox restore, so the paragraph agrees with the note above it and with what the command does.

No behavior changes. One sentence, one added clause.

Verification

  • npm run docs — passed, 0 errors, 69 guarded pages.
  • npm run docs:check-agent-variants — passed; every generated variant already up to date.
  • Normal commit hooks passed on the published commit.
  • Pre-push validation passed on this commit: Publication validation, TypeScript (plugin), TypeScript (JS config), TypeScript (CLI).
  • The diff contains no secrets, API keys, or credentials.

🤖 Generated with Claude Code

https://claude.ai/code/session_01VAoaWK8T98zLhCzNUk6RZF

Summary by CodeRabbit

  • Bug Fixes
    • Cross-sandbox restores from stopped sources are limited to Docker- and VM-driver sandboxes that do not use a NemoClaw-managed image. A recorded image and complete inference route are still required; restores stop before destination changes if either is missing.
    • Kubernetes gateway image resolution remains unchanged.

@copy-pr-bot

copy-pr-bot Bot commented Sep 21, 2026

Copy link
Copy Markdown

This pull request requires additional validation before any workflows can run on NVIDIA's runners.

Pull request vetters can view their responsibilities here.

Contributors can view more details about this message here.

@coderabbitai

coderabbitai Bot commented Sep 21, 2026 •

Copy link
Copy Markdown
Contributor

Review in Change Stack →

Navigate logical layers of code changes, visualize relationships, and explore their blast radius.

No actionable comments were generated in the recent review. 🎉

ℹ️ Recent review info
⚙️ Run configuration

Configuration used: Repository: NVIDIA/NemoClaw/.coderabbit.yaml

Review profile: CHILL

Plan: Enterprise

Run ID: 032f42f5-a360-42fb-bfec-9dbcce2d333b

📥 Commits

Reviewing files that changed from the base of the PR and between adb09ad and 1d7d77d.

📒 Files selected for processing (1)
  • docs/manage-sandboxes/backup-restore.mdx
🚧 Files skipped from review as they are similar to previous changes (1)
  • docs/manage-sandboxes/backup-restore.mdx

Included review availability: This review used your included allowance. Your plan provides up to 12 included reviews per hour; 11 remain after this review.


📝 Walkthrough

Walkthrough

The backup and restore documentation excludes NemoClaw-managed images from stopped-source cross-sandbox restores for Docker and VM drivers. The recorded-image and inference-route checks, and Kubernetes image resolution, remain unchanged.

Changes

Sandbox restore rules

Layer / File(s) Summary
Stopped-source restore eligibility
docs/manage-sandboxes/backup-restore.mdx
The documented restore rule excludes Docker- and VM-driver sandboxes that use a NemoClaw-managed image. Other stated restore requirements remain unchanged.

Priority: ⬇️ Low

Estimated code review effort: 1 (Trivial) | ~2 minutes

Change: Other

Suggested reviewers: ahunnargikar-nvidia

Merge Risk: ⚪ Minimal · up to 1d7d7

The documentation now accurately excludes NemoClaw-managed images from stopped-source Docker and VM cross-sandbox restores. No actionable merge-blocking risk remains.

🚥 Pre-merge checks | ✅ 5
✅ Passed checks (5 passed)
Check name Status Explanation
Description Check ✅ Passed Check skipped - CodeRabbit’s high-level summary is enabled.
Title check ✅ Passed The title clearly identifies the documentation change that qualifies cross-sandbox restore for managed images. It is concise and directly related to the primary change.
Docstring Coverage ✅ Passed No functions found in the changed files to evaluate docstring coverage. Skipping docstring coverage check. Docstring coverage is scoped to functions touched by this diff. Analyzed 0 functions across 0…
Linked Issues check ✅ Passed Check skipped because no linked issues were found for this pull request.
Out of Scope Changes check ✅ Passed Check skipped because no linked issues were found for this pull request.
✨ Finishing Touches
🧪 Generate unit tests (beta)
  • Create a new PR

Comment @coderabbitai help to get the list of available commands.

The cross-sandbox restore paragraph said the path is available for Docker- and
VM-driver sandboxes. That reads as a grant for every sandbox on those drivers,
including one that uses a NemoClaw-managed image, whose snapshot `restore --to`
NemoClaw refuses. The note above the same section already states that limit, so
the two statements disagreed for a stopped Docker-driver source built from a
managed image.

Name the managed-image limit in the sentence that grants the path, so the
paragraph agrees with the note and with what the command does.

Refs NVIDIA#10619

Co-Authored-By: Claude Opus 5 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_01VAoaWK8T98zLhCzNUk6RZF
Signed-off-by: Vishnu Rajeev <19866703+VishnuR23@users.noreply.github.com>
@VishnuR23
VishnuR23 force-pushed the docs/cross-sandbox-restore-managed-image branch from abe562c to adb09ad Compare September 21, 2026 05:27
@wscurran wscurran added area: docs Documentation, examples, guides, or docs build chore Build, CI, dependency, or tooling maintenance needs: rebase PR needs rebase or conflict resolution labels Oct 5, 2026
@ericksoa

Copy link
Copy Markdown
Member

Thank you @VishnuR23 for catching this documentation contradiction. The clarification was correct when submitted: the restore path rejected cross-sandbox restores for managed-image snapshots.

Since then, #12340 removed the public snapshot create/list/restore commands and replaced this page with the native-home persistence and rebuild guide. The paragraph corrected here is no longer present on main.

Closing this as superseded by that change; no replacement correction is needed for the current page. Thank you for the contribution!

@ericksoa ericksoa closed this Oct 12, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

area: docs Documentation, examples, guides, or docs build chore Build, CI, dependency, or tooling maintenance needs: rebase PR needs rebase or conflict resolution

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants