fix(portable): route receipt failures to valid recovery - #9194
Conversation
Signed-off-by: Prekshi Vyas <prekshiv@nvidia.com> (cherry picked from commit 9b1465ff7df9c693a15a251dbd087b3074dc311f)
|
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 (9)
📝 WalkthroughWalkthroughPortable Podman readiness failures now report recovery classifications. Doctor and gateway diagnostics use these classifications to distinguish onboarding, current-user authority, and recorded-socket recovery guidance. Tests and troubleshooting documentation cover the updated behavior. ChangesPortable Podman recovery
Estimated code review effort: 3 (Moderate) | ~20 minutes Merge Risk: ⚪ Minimal · up to The change routes portable receipt failures to valid recovery paths and limits diagnostics to validated socket endpoints; no actionable merge-blocking risk remains after normal checks and review. 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 |
|
🌿 Preview your docs: https://nvidia-preview-pr-9194.docs.buildwithfern.com/nemoclaw |
PR Review Advisor — No blocking findings reportedAdvisor assessment: No blocking advisor findings reported Model lanes
4 terminology differences from the second opinionAdvisory only. These are normalized differences from the primary terminology receipt.
1 additional E2E selection from the second opinionAdvisory only. The primary lane did not select these E2E jobs or targets.
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: 1 optional E2E recommendation
This automated review informs maintainers. Warnings and suggestions do not require a response. A maintainer decides whether to merge. |
prekshivyas
left a comment
There was a problem hiding this comment.
Reviewed exact head 5c6a000. No findings. Socketless invalid/legacy receipts route to portable onboarding, current-user authority mismatches route to the owning/current user, and endpoint repair is only suggested when a receipt-owned socket path exists. The only post-review delta is current main. Local exact-head validation: policy-boundary build passed, focused recovery suites passed 59/59, and diff check passed. GitHub does not permit me to approve my own PR.
cv
left a comment
There was a problem hiding this comment.
Replacement wording for the prior review receipt; this wording supersedes it.
Reviewed commit 5c6a000f5e6d036845cfbebee2a7fd4d0000c36d. No findings. Socketless invalid or legacy receipts route to portable onboarding, current-user authority mismatches route to the owning or current user, and endpoint repair is suggested only when a receipt-owned socket path exists. The only later delta is the merge from current main. Local validation for the reviewed commit: the policy-boundary build passed, the focused recovery suites passed 59/59, and the diff check passed. GitHub does not permit the author to approve their own PR.
cv
left a comment
There was a problem hiding this comment.
Approved at commit 5c6a000. Independent review passed, all feedback is resolved, and the repeated shard timeout is isolated to unchanged repository code already known to need extra time under load. Merge remains gated on the active retry and final image check.
Summary
Portable readiness failures without a recorded socket path no longer send users to repair a nonexistent endpoint. Invalid and legacy receipts now route to portable onboarding, current-user authority mismatches route to the recorded user or current-user onboarding, and socket service diagnostics appear only when a validated socket path is available.
Related Issue
Follow-up to #9186 for #9070.
Changes
nemoclaw onboard --experimental-profile portable.Type of Change
Quality Gates
5c6a000f5e6d036845cfbebee2a7fd4d0000c36d. Invalid, legacy, and current-user mismatch paths fail closed without fabricated endpoint repair. The doctor and gateway tests cover each recovery branch.Documentation Writer Review
docs-updateddocs/reference/troubleshooting.mdxroutes unsafe, invalid, and legacy receipts to portable onboarding; routes current-user mismatches to the recorded user or current-user onboarding; and limits socket service and API inspection to failures that report a socket path. Doctor and gateway guidance match these paths. The merge preserves the reviewed patch and adds current-base Google Gemini documentation and provider-model tests outside the nine PR-owned files. Focused recovery tests passed 59/59.npm run docscompleted with 0 errors and 2 existing warnings.git diff --checkpassed.Codex DesktopDGX 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 unavailablenpx vitest run --project cli --project integration src/lib/actions/sandbox/doctor-lifecycle-registration.test.ts src/lib/onboard/experimental/portable-runtime-readiness.test.ts test/gateway-failure-classifier.test.ts: 59 passednpm 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: Prekshi Vyas prekshiv@nvidia.com
Summary by CodeRabbit
Bug Fixes
Tests