Repository navigation
Conversation
|
Note Reviews pausedIt looks like this branch is under active development. To avoid overwhelming you with review comments due to an influx of new commits, CodeRabbit has automatically paused this review. You can configure this behavior by changing the Use the following commands to manage reviews:
Use the checkboxes below for quick actions:
No actionable comments were generated in the recent review. 🎉 ℹ️ Recent review info⚙️ Run configurationConfiguration used: Path: .coderabbit.yaml Review profile: CHILL Plan: Enterprise Run ID: 📒 Files selected for processing (1)
Included review availability: Your plan provides up to 12 included reviews per hour; 11 remain after this review. 📝 WalkthroughWalkthroughChangesThe rebuild flow now copies Serving profile provenance preservation
Priority: ➖ Normal Estimated code review effort: 2 (Simple) | ~10 minutes Change: Bug fix · Severity of issue fixed: Medium Suggested reviewers: Merge Risk: ⚪ Minimal · up to The change preserves sandbox serving provenance during rebuild, with focused regression coverage and validation passing; it is mergeable. 🚥 Pre-merge checks | ✅ 5✅ Passed checks (5 passed)
✨ Finishing Touches🧪 Generate unit tests (beta)
Comment |
|
✨ Thanks for the fix and regression tests. This preserves serving profile provenance during sandbox rebuild, addressing the regression from #11417. Related open issues: |
80f6155 to
750f2fa
Compare
750f2fa to
b317d10
Compare
|
Noticed the same failed checks are also on other forks, happy to provide any additional validation or changes if you all need 🫡 |
b317d10 to
d4eb1c3
Compare
rsliter
left a comment
There was a problem hiding this comment.
Reviewed exact head d4eb1c3. Rebuild now seeds the replacement session from the target sandbox registry entry, whose serving-profile provenance has already passed registry normalization. Saved provenance wins over stale session metadata, while an absent registry value clears unrelated stale session state. Exact focused validation passed all four profile-metadata cases.
Thank you!! Hope to continue learning more! |
Signed-off-by: Adrian Osorio Blanchard <[email protected]>
d4eb1c3 to
74a2258
Compare
Signed-off-by: Julie Yaunches <[email protected]>
|
Alternative review completed for exact head Alternative method: reviewed the full two-file diff against trusted Results: all 10 tests in Residual limitations: no local Advisor specialist artifact is available, and no live DGX Spark rebuild was run. Hosted CI, automated review collection, and repository-prescribed E2E remain pending. |
|
Thank you, @Adr1an04, for the fix and the regression tests. We preserved your contribution in #11686, and the replacement commit keeps you as its author. NemoClaw’s trusted CI and PR E2E workflows only run for branches in NVIDIA/NemoClaw because those jobs use reviewed SDK packages and protected credentials. Full CI/CD therefore cannot complete on this fork PR. I’m closing this PR in favor of #11686 so the complete checks can run. Thank you for contributing this fix. |
## Outcome Rebuild preserves the target sandbox's saved serving profile provenance when it creates the replacement session. This PR adopts Adrian Osorio Blanchard's reviewed contribution from #11461 onto a repository-owned branch. The move lets the full trusted CI and E2E workflows evaluate the change. ## Reason The rebuild path omitted `servingProfileProvenance`, so a replacement session received `null` when the sandbox registry contained valid metadata. Fork PRs cannot access the reviewed OpenShell SDK package or the credentials used by trusted PR E2E jobs. Repository policy therefore requires this adoption before full CI/CD can run. ### Related issues Fixes #11417 Adopts #11461 ## Changes - Pass the target sandbox's normalized provenance into the replacement session. - Add four regression cases for present and absent provenance with matching and unrelated current sessions. - Preserve Adrian Osorio Blanchard as the commit author. ## Verification - `npm exec -- vitest run --project cli src/lib/actions/sandbox/rebuild-flow-target-session.test.ts` — all 10 tests passed. - The pre-push hook — publication validation and CLI TypeScript checks passed. Unselected plugin and JavaScript checks were skipped. - Tree comparison — the adopted commit matches the latest source tree from #11461. - The diff contains no secrets, API keys, or credentials. ## Review notes The local Advisor could not start its OpenShell sandbox. It reported `sandbox is not ready` and SSH exit 255. The authorized alternative review covered the full diff, correctness, security boundaries, regression coverage, and test selection. No actionable finding remained. The original PR has human approval and a successful CodeRabbit review for the same source tree. This replacement still requires its own trusted CI and E2E results. --- Signed-off-by: Julie Yaunches <[email protected]> <!-- This is an auto-generated comment: release notes by coderabbit.ai --> ## Summary by CodeRabbit - **Bug Fixes** - Preserved serving-profile provenance when recreating sandbox sessions. - Prevented stale session metadata from overwriting the correct provenance. - Ensured missing provenance remains absent when no value is available. - **Tests** - Added coverage for current and non-current session recreation scenarios. <!-- end of auto-generated comment: release notes by coderabbit.ai --> Signed-off-by: Adrian Osorio Blanchard <[email protected]> Signed-off-by: Julie Yaunches <[email protected]> Co-authored-by: Adrian Osorio Blanchard <[email protected]>
Outcome
Rebuild preserves the sandbox's saved serving profile metadata instead of dropping it when creating the replacement session.
Reason
The session reset omitted
servingProfileProvenance, so the replacement session receivednulleven when the sandbox registry contained the metadata.Related issues
Fixes #11417
Changes
Verification
npx --no-install vitest run --project cli \ src/lib/actions/sandbox/rebuild-flow-target-session.test.ts \ -t 'profile metadata' --reporter verboseReview notes
Validation used local tests with external operations mocked. A live DGX Spark rebuild was not tested.
Thanks for the report and for taking a look!
Signed-off-by: Adrian Osorio [email protected]
Summary by CodeRabbit
Signed-off-by: Julie Yaunches [email protected]