feat(health): tolerate unrelated LeakDetector schema mismatches - #5564
feat(health): tolerate unrelated LeakDetector schema mismatches#5564jayzhudev wants to merge 1 commit into
Conversation
|
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)
Included review availability: Your plan provides up to 12 included reviews per hour; 10 remain after this review. Summary by CodeRabbit
WalkthroughThe leak detector collector now deserializes a focused local projection. It preserves required metadata and state fields while avoiding unrelated schema fields. Health reports, targets, alerts, and tests use the direct state values. ChangesLeak detector collector
Estimated code review effort: 3 (Moderate) | ~20 minutes Merge Risk: ⚪ Minimal · up to This localized change is merge-ready after normal checks and review; no actionable merge-blocking risk remains. 🚥 Pre-merge checks | ✅ 4 | ❌ 1❌ Failed checks (1 warning)
✅ Passed checks (4 passed)
Full details: Linked Issues checkExplanation The changes satisfy issue
✨ Finishing Touches🧪 Generate unit tests (beta)
Comment |
There was a problem hiding this comment.
💡 Codex Review
Here are some automated review suggestions for this pull request.
Reviewed commit: 04d9336ddf
ℹ️ About Codex in GitHub
Codex has been enabled to automatically review pull requests in this repo. Reviews are triggered when you
- Open a pull request for review
- Mark a draft as ready
- Comment "@codex review".
If Codex has suggestions, it will comment; otherwise it will react with 👍.
When you sign up for Codex through ChatGPT, Codex can also answer questions or update the PR, like "@codex address that feedback".
Signed-off-by: Jay Zhu <jayzhu@nvidia.com>
04d9336 to
2a43aee
Compare
|
This should be a quirk in nv-redfish and not here. |
Yeah I thought about it, but the change surface in nv-redfish may be a bit too large for this quirk. |
yoks
left a comment
There was a problem hiding this comment.
I would rather add it to nv-redfish quirk and bump version in repo. Rather than introducing separate contract here.
It should not be, it is JSON manupulation or conversion for specific firmware and Value |
A captured BMC response may report fields such as
ReactionDelaySecondsas 0.0, while the generatednv_redfish::LeakDetectormodel correctly requires an integer and fails deserialization.Adding a collector-local projection for BMC leak-detector responses so unrelated property mismatches do not block data reporting.
Related issues
Resolves #5554
Type of Change
Breaking Changes
Testing