fixi(nvlink): safe handling of legacy/missing chassis_serial field in…#2871
Merged
Conversation
… persisted nvlink_info Signed-off-by: Roopesh Tamma <rtamma@nvidia.com>
Contributor
|
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 (2)
Summary by CodeRabbit
WalkthroughThe PR makes legacy ChangesLegacy NVLink compatibility
Estimated code review effort🎯 2 (Simple) | ⏱️ ~10 minutes 🚥 Pre-merge checks | ✅ 5✅ Passed checks (5 passed)
✏️ Tip: You can configure your own custom pre-merge checks in the settings. ✨ Finishing Touches🧪 Generate unit tests (beta)
Comment |
🔍 Container Scan Summary
Per-CVE detail lives in the per-service |
rwthompsonii
requested changes
Jun 25, 2026
tmcroberts97
approved these changes
Jun 25, 2026
nv-dmendoza
pushed a commit
that referenced
this pull request
Jun 25, 2026
…#2871) … persisted nvlink_info <!-- Describe what this PR does --> Make sure that nvlink_info can be safely deserialized even if chassis_serial field in persisted json blob is missing or empty. Also, make partition monitor backfill chassis_serial in nvlink_info when the field is empty ## Related issues #2857 ## Type of Change <!-- Check one that best describes this PR --> - [ ] **Add** - New feature or capability - [ ] **Change** - Changes in existing functionality - [X ] **Fix** - Bug fixes - [ ] **Remove** - Removed features or deprecated functionality - [ ] **Internal** - Internal changes (refactoring, tests, docs, etc.) ## Breaking Changes <!-- If checked, describe the breaking changes and migration steps --> <!-- Breaking changes are not generally permitted, please discuss on a GitHub discussion or with the development team if you believe you need to break a backward compatibility guarantee --> - [ ] **This PR contains breaking changes** ## Testing <!-- How was this tested? Check all that apply --> - [ X] Unit tests added/updated - [ ] Integration tests added/updated - [ X] Manual testing performed - [ ] No testing required (docs, internal refactor, etc.) ## Additional Notes <!-- Any additional context, deployment notes, or reviewer guidance --> Signed-off-by: Roopesh Tamma <rtamma@nvidia.com>
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
… persisted nvlink_info
Make sure that nvlink_info can be safely deserialized even if chassis_serial field in persisted json blob is missing or empty. Also, make partition monitor backfill chassis_serial in nvlink_info when the field is empty
Related issues
#2857
Type of Change
Breaking Changes
Testing
Additional Notes