Repository navigation
fix(autoresearch): reject unsupported RX pins - #3356
Conversation
|
Caution Review failedThe pull request is closed. ℹ️ Recent review info⚙️ Run configurationConfiguration used: Path: .coderabbit.yaml Review profile: CHILL Plan: Pro Run ID: 📒 Files selected for processing (4)
📝 WalkthroughWalkthroughThe PR adds a pin-match guard to ChangesAutoResearch RX validation and RPC error handling
Estimated code review effort🎯 2 (Simple) | ⏱️ ~12 minutes Possibly related issues
Possibly related PRs
Poem
✨ Finishing Touches📝 Generate docstrings
🧪 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 |
Summary
Fixes #3355.
Part of #3353.
This makes AutoResearch reject unsupported RX pins honestly instead of allowing
FastLED.addRx()to hand back a dummy channel and then spending time on a driver test that cannot capture bytes.Changes:
FastLED.addRx()returns null or a channel whosegetPin()does not match the requested RX pin.success: false.setPinsfail.Verification
Result: 4 passed.
Result: expected failure at
setPinswithRxChannelCreationFailed; only 1 RPC test request sent. This confirms the unsupported Teensy RX pin is rejected before driver testing.Summary by CodeRabbit
Bug Fixes
Tests
success: false.