fix(cli): admit remediable host storage - #8922
Conversation
Signed-off-by: Rebecca Sliter <571084+rsliter@users.noreply.github.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 (1)
🚧 Files skipped from review as they are similar to previous changes (1)
📝 WalkthroughWalkthroughHost probing now uses a dedicated readiness projection. A sole remediable Docker storage conflict becomes ChangesHost probe readiness policy
Estimated code review effort: 3 (Moderate) | ~20 minutes Sequence Diagram(s)sequenceDiagram
participant HostProbeCommand
participant createPublicHostProbeReadinessReport
participant hasRemediableStorageConflict
HostProbeCommand->>createPublicHostProbeReadinessReport: pass strict readiness report
createPublicHostProbeReadinessReport->>hasRemediableStorageConflict: evaluate storage conflict
hasRemediableStorageConflict-->>createPublicHostProbeReadinessReport: return remediation availability
createPublicHostProbeReadinessReport-->>HostProbeCommand: return projected readiness report
Possibly related PRs
Suggested labels: Suggested reviewers: 🚥 Pre-merge checks | ✅ 5✅ Passed checks (5 passed)
✨ Finishing Touches🧪 Generate unit tests (beta)
Comment |
Code Coverage OverviewLanguages: TypeScript TypeScript / code-coverage/pluginThe overall coverage in commit 04c3fbc in the TypeScript / code-coverage/cliThe overall coverage in commit 04c3fbc in the Show a code coverage summary of the most impacted files.
Updated |
|
🌿 Preview your docs: https://nvidia-preview-pr-8922.docs.buildwithfern.com/nemoclaw |
There was a problem hiding this comment.
Actionable comments posted: 1
🤖 Prompt for all review comments with AI agents
Verify each finding against current code. Fix only still-valid issues, skip the
rest with a brief reason, keep changes minimal, and validate.
Inline comments:
In `@docs/reference/system-readiness.mdx`:
- Line 120: Update the status and exit-code rule in system-readiness
documentation to require host.docker.storage_remediation_available in addition
to host.docker.storage_incompatible being the sole blocking finding. State that
without the remediation capability, the host must not be reported as supported.
🪄 Autofix
Fix all unresolved CodeRabbit comments on this PR:
- Push a commit to this branch (recommended)
- Create a new PR with the fixes
ℹ️ Review info
⚙️ Run configuration
Configuration used: Path: .coderabbit.yaml
Review profile: CHILL
Plan: Enterprise
Run ID: 64d70256-19ba-4dfa-ba98-89c3def4eccb
📒 Files selected for processing (6)
docs/reference/system-readiness.mdxsrc/commands/host/probe.test.tssrc/commands/host/probe.tssrc/lib/readiness/index.tssrc/lib/readiness/presentation.test.tssrc/lib/readiness/presentation.ts
PR Review Advisor — No blocking findings reportedAdvisor assessment: No blocking advisor findings reported Model lanes
8 terminology differences from the second opinionAdvisory only. These are normalized differences from the primary terminology receipt.
3 additional E2E selections 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 2 optional E2E recommendations
1 warning · 0 suggestionsWarningsWarnings do not block.
|
Signed-off-by: Rebecca Sliter <571084+rsliter@users.noreply.github.com>
Summary
nemoclaw host probenow reportssupportedwith exit code0when a Docker storage conflict is the sole blocker and a supported lifecycle remediation path is available.The public report retains the storage conflict as a warning, while the strict internal readiness report remains incompatible for operation-specific admission.
Related Issue
Fixes #8849
Changes
A direct change to the shared public projection could admit remediation for unrelated consumers.
Presentation tests protect the sole-blocker, unavailable-remediation, and additional-blocker cases.
host.docker.storage_incompatiblevisible as a warning without mutating the strict readiness report.host probethrough the new projection and update its command tests.Existing tests covered remediation availability but did not cover the public host-probe status and exit-code projection.
Type of Change
Quality Gates
host proberemains read-only, strict internal readiness remains fail-closed, and any additional blocking or fatal finding prevents the projection.Documentation Writer Review
docs-updateddocs/reference/system-readiness.mdxDGX 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)Targeted test commands:
The docs build completed with 0 errors and 2 existing warnings.
The CLI type check and build completed successfully.
Signed-off-by: Rebecca Sliter 571084+rsliter@users.noreply.github.com
Summary by CodeRabbit
New Features
0, while remaining visible as warnings.Documentation