fix(installer): constrain Station metadata override - #7139
Conversation
Signed-off-by: Senthil Ravichandran <senthilr@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 (5)
📝 WalkthroughWalkthroughThe installer and Station preparation helper now reject ChangesForced Station validation
Estimated code review effort: 2 (Simple) | ~15 minutes Sequence Diagram(s)sequenceDiagram
participant Installer
participant ReleaseClassifier
participant StationPreparation
participant GPUIdentityCheck
Installer->>ReleaseClassifier: classify Station release
ReleaseClassifier-->>Installer: release state
Installer->>StationPreparation: start forced installation
StationPreparation->>GPUIdentityCheck: verify GB300 PCI identity
GPUIdentityCheck-->>StationPreparation: validation result
StationPreparation-->>Installer: reject or continue preparation
Possibly related PRs
Suggested labels: Suggested reviewers: 🚥 Pre-merge checks | ✅ 5✅ Passed checks (5 passed)
✨ Finishing Touches🧪 Generate unit tests (beta)
Comment |
PR Review Advisor — InformationalAdvisor assessment: Informational / high confidence Model lanes
Nemotron output stays in workflow artifacts and does not change the assessment above. E2E guidanceAdvisory only. E2E / PR Gate selects and runs jobs independently. Recommended E2E: This automated review informs maintainers. Warnings and suggestions do not require a response. A maintainer decides whether to merge. |
Summary
Restricts
--force-station-installto DGX Station GB300 systems whose release metadata is actually unrecognized. Recognized profiles now fail before host mutation, while the remaining forced path also verifies the exact GB300 PCI identity and fails closed if its required prompt becomes unreadable.Related Issue
Fixes #7138
Changes
The PCI and prompt-read changes close the two unaddressed force-path findings reported by the PR Review Advisor on #7132.
Type of Change
Quality Gates
Verification
Signed-off-by:line and every commit appears asVerifiedin GitHubpre-commit,commit-msg, andpre-pushhooks passed, including shfmt, ShellCheck, repository checks, secret scanning, CLI type-checking, and commitlintnpx vitest run --project installer-integration test/install-express-prompt.test.ts test/install-station-dgx-os.test.ts(128 passed, 1 skipped);npx vitest run --project installer-integration test/install-station-host-preparation.test.ts(55 passed);npx vitest run --project integration test/install-station-platform-identity.test.ts(20 passed)npm 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: Senthil Ravichandran senthilr@nvidia.com
Summary by CodeRabbit