-
Notifications
You must be signed in to change notification settings - Fork 178
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
fix(api): account for old plate reader serial format when parsing the device info. #16824
base: chore_release-8.2.0
Are you sure you want to change the base?
Conversation
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.
What exactly is the old format that the fullmatch
doesn't match? Just extra whitespace around the serial number or something?
Because if it's actual "content," like XYZBYOABC123
instead of BYOABC123
, that seems like something that we should capture in the regex instead of discarding it.
unfortunely its more annoying than that New format: |
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.
Haha oof. Okay, yeah, this makes sense. Though, can we either add:
- Tests covering all the formats that we're trying to handle
- Or a comment next to
SERIAL_PARSER
giving examples of all the formats that we're trying to handle
Never mind, there's a deeper issue that I'll need to look into. |
I'm re-opening this to at least fix the serial number parsing. |
Overview
The RMA plate reader we just got back from byonoy has the old serial format in their eeprom, so we can't parse the serial number correctly, leading to issues addressing the device. Let's change the serial parsing to account for this, so we can continue to use the old byonoy devices.
Test Plan and Hands on Testing
Changelog
match
instead offullmatch
when parsing the plate reader serial number to account for old formatReview requests
Risk assessment
low, unreleased