-
Notifications
You must be signed in to change notification settings - Fork 362
Updated regex for slot_ibm to include optional -R\d+ segment. #6246
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
base: master
Are you sure you want to change the base?
Updated regex for slot_ibm to include optional -R\d+ segment. #6246
Conversation
This allows matching both standard and extended slot formats: Standard: U50EE.001.WZS00TL-P3-C14 Extended: U50EE.001.WZS00TL-P3-C14-R1 Change ensures compatibility with newer hardware naming conventions that include resource identifiers after the slot number. Backward Compatibility: Existing slot formats without -R remain fully supported. No impact on current parsing logic for standard slot names. Testing Impact: Verified regex against both formats to ensure correct matching. Additional unit tests recommended for extended slot names to prevent regressions. Signed-off-by: Maram Srimannarayana Murthy <msmurthy@linux.vnet.ibm.com>
WalkthroughA regex pattern in the Estimated code review effort🎯 2 (Simple) | ⏱️ ~5-10 minutes
Pre-merge checks✅ Passed checks (3 passed)
📜 Recent review detailsConfiguration used: CodeRabbit UI Review profile: CHILL Plan: Pro 📒 Files selected for processing (1)
⏰ 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). (43)
🔇 Additional comments (1)
Tip 📝 Customizable high-level summaries are now available in beta!You can now customize how CodeRabbit generates the high-level summary in your pull requests — including its content, structure, tone, and formatting.
Example instruction:
Note: This feature is currently in beta for Pro-tier users, and pricing will be announced later. 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✅ All modified and coverable lines are covered by tests. Additional details and impacted files@@ Coverage Diff @@
## master #6246 +/- ##
=======================================
Coverage 73.48% 73.49%
=======================================
Files 206 206
Lines 22494 22494
=======================================
+ Hits 16530 16531 +1
+ Misses 5964 5963 -1 ☔ View full report in Codecov by Sentry. 🚀 New features to boost your workflow:
|
PraveenPenguin
left a comment
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
LGTM
clebergnu
left a comment
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
@maramsmurthy thanks for this contribution. Could you please:
- Put an (external) reference to the format of the extended version of the identifiers
- Add a test that matches both old and new (extended) versions
Thanks!
This allows matching both standard and extended slot formats: Standard: U50EE.001.WZS00TL-P3-C14
Extended: U50EE.001.WZS00TL-P3-C14-R1
Change ensures compatibility with newer hardware naming conventions that include resource identifiers after the slot number. Backward Compatibility:
Existing slot formats without -R remain fully supported. No impact on current parsing logic for standard slot names. Testing Impact:
Verified regex against both formats to ensure correct matching. Additional unit tests recommended for extended slot names to prevent regressions.
Summary by CodeRabbit
✏️ Tip: You can customize this high-level summary in your review settings.