Repository navigation
Extract shared BSD hardware classes (NetBSD/OpenBSD dedup) - #3381
Conversation
Merge identical NetBSD/OpenBSD implementations into shared classes in the unix hardware package: - BsdUsbDevice (usbdevs -v parsing) - BsdGraphicsCard (pcidump -v parsing) - BsdSoundCard (dmesg audio/pci parsing) - BsdSensors (systat sensor queries) Eliminates ~280 duplicated lines across 8 removed files.
|
No actionable comments were generated in the recent review. 🎉 ℹ️ Recent review info⚙️ Run configurationConfiguration used: Repository UI Review profile: CHILL Plan: Pro Run ID: 📒 Files selected for processing (11)
💤 Files with no reviewable changes (4)
📜 Recent review details⏰ Context from checks skipped due to timeout of 90000ms. You can increase the timeout in your CodeRabbit configuration to a maximum of 15 minutes (900000ms). (15)
🧰 Additional context used🧠 Learnings (2)📚 Learning: 2026-04-06T04:45:47.644ZApplied to files:
📚 Learning: 2026-04-12T19:22:09.716ZApplied to files:
🔇 Additional comments (7)
📝 WalkthroughWalkthroughThis PR consolidates BSD hardware support by moving OpenBSD-specific device implementations to a shared BSD package, renaming them from ChangesBSD Hardware Support Consolidation
Estimated code review effort🎯 3 (Moderate) | ⏱️ ~20 minutes Possibly related PRs
Poem
🚥 Pre-merge checks | ✅ 4 | ❌ 1❌ Failed checks (1 warning)
✅ Passed checks (4 passed)
✏️ Tip: You can configure your own custom pre-merge checks in the settings. ✨ Finishing Touches🧪 Generate unit tests (beta)
Thanks for using CodeRabbit! It's free for OSS, and your support helps us grow. If you like it, consider giving us a shout-out. Comment |
Codecov Report❌ Patch coverage is
Additional details and impacted files@@ Coverage Diff @@
## master #3381 +/- ##
============================================
+ Coverage 75.02% 75.04% +0.01%
Complexity 76 76
============================================
Files 573 573
Lines 21773 21773
Branches 3607 3607
============================================
+ Hits 16336 16340 +4
+ Misses 3394 3391 -3
+ Partials 2043 2042 -1
Flags with carried forward coverage won't be shown. Click here to find out more. ☔ View full report in Codecov by Harness. 🚀 New features to boost your workflow:
|
Summary
Merge identical NetBSD and OpenBSD implementations into shared classes in the
oshi.hardware.common.platform.unixpackage:BsdUsbDevice— sharedusbdevs -vparsingBsdGraphicsCard— sharedpcidump -vparsingBsdSoundCard— shareddmesgaudio/pci pattern parsingBsdSensors— sharedsystatsensor queriesEliminates ~280 duplicated lines across 8 removed files.
Test plan
Summary by CodeRabbit
Release Notes