Repository navigation
serial: raise CanOperationError on truncated frame reads - #2175
aloneangel45 wants to merge 2 commits into
Conversation
AI Review: serial: raise CanOperationError on truncated frame readsThe fix resolves #2157: every truncation point now raises Findings
Verdictrequest changes |
|
@zariiii9003 Addressed every item from your review in
Verified locally with |
|
Thanks for picking this up! I ran my repro from #2157 against the branch (8fc8fea). On main, cutting the frame at different points gave The new tests pass for me too. Small heads-up in case anyone else sees it: locally, |
|
@DanShinde Thanks for verifying the repro against this branch! |
Summary of Changes
Related Issues / Pull Requests
Type of Change
Checklist
uff check can examples doc; mypy --python-version 3.11 & 3.14 can/interfaces/serial/serial_can.py).