fix(onboard): print portable recovery instead of --resume - #8897
Conversation
Signed-off-by: Rui Luo <ruluo@nvidia.com>
|
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 (8)
📝 WalkthroughWalkthroughPortable-profile recovery guidance now uses fresh portable onboarding commands instead of incompatible resume commands. Sandbox, gateway, and incomplete-exit failure paths pass profile-aware recovery state and include targeted tests. ChangesPortable recovery guidance
Estimated code review effort: 3 (Moderate) | ~20 minutes Sequence Diagram(s)sequenceDiagram
participant OnboardingFailure
participant RecoveryHint
participant RecoveryCommand
participant CLI
OnboardingFailure->>RecoveryHint: pass portable profile state
RecoveryHint->>RecoveryCommand: select recovery command
RecoveryCommand-->>RecoveryHint: return portable fresh-onboarding command
RecoveryHint-->>CLI: print profile-specific recovery guidance
Possibly related PRs
Suggested labels: Suggested reviewers: 🚥 Pre-merge checks | ✅ 4 | ❌ 1❌ Failed checks (1 warning)
✅ Passed checks (4 passed)
✨ Finishing Touches 💡 1📝 Generate docstrings 💡
🧪 Generate unit tests (beta)
Comment |
Code Coverage OverviewLanguages: TypeScript TypeScript / code-coverage/pluginThe overall coverage in commit a100a27 in the TypeScript / code-coverage/cliThe overall coverage in commit a100a27 in the Show a code coverage summary of the most impacted files.
Updated |
PR Review Advisor — Blocking findings reportedAdvisor assessment: Blockers require maintainer review Model lanes
4 terminology differences from the second opinionAdvisory only. These are normalized differences from the primary terminology receipt.
Second-opinion terminology and E2E selections are advisory. Live E2E does not run automatically for pull requests. 3 semantic terminology decisionsTerminology decisions are advisory. They affect the assessment only when a separate finding identifies concrete semantic impact.
E2E guidanceAdvisory only. A maintainer can dispatch the default E2E suite for the commit under review. Recommended E2E: None Manual-only E2E: Blockers
|
|
CI disposition after the single safe reruns:
The one permitted rerun has been used, so I will not retry it again. The remaining failed managed-activation check is an external repository-workflow blocker that requires a fresh repository event or maintainer acceptance. All other required gates and human review must still pass. |
Summary
When
--experimental-profile portableonboarding fails, recovery text previously suggestednemoclaw onboard --resume. Portable onboarding always starts fresh and rejects--resume, so that guidance was a dead end. After this change, those failure paths printnemoclaw onboard --experimental-profile portableinstead.Related Issue
Fixes #8873
Changes
onboardRecoveryCommand()and makeprintOnboardResumeHint()profile-aware.Type of Change
Quality Gates
Documentation Writer Review
docs-updated|no-docs-needed|blockedDGX Station Hardware Evidence
Verification
Signed-off-by:line and every commit appears asVerifiedin GitHubpre-commit,commit-msg, andpre-pushhooks passed, ornpm run validate:prpassed after refreshingorigin/mainwhen hooks were skipped or unavailablenpm testfor broad runtime/test-harness changes;npm run checkfor repo-wide validation/coverage changes — command/result:npm run docsbuilds without warnings (doc changes only)Signed-off-by: Rui Luo ruluo@nvidia.com
Summary by CodeRabbit