Repository navigation
fix(autoresearch): report WS2814 legacy pattern sizes on passing runs - #4600
Merged
Merged
Conversation
runSingleTest only serialized pattern entries for failing runs, but the host validator requires a non-empty patterns list for every WS2814 legacy run (to prove 4 bytes/LED went out). Passing WS2814 runs were therefore always classified malformed_response. Emit a compact runNumber/totalLeds/totalBytes/passed summary for passing WS2814 runs, and tag every entry with `passed` so the host report renders them correctly. Verified on ESP32-C6 (TX0->RX1): `bash autoresearch esp32c6 --rmt --legacy --chipset ws2814 --strip-sizes 1,2,3,4,100` now PASSES 6/6 (was malformed_response); ws2818 regression 3/3 PASS. Closes #4578 Co-Authored-By: Claude Opus 5.5 <[email protected]>
|
Navigate logical layers of code changes, visualize relationships, and explore their blast radius. Note Currently processing new changes in this PR. This may take a few minutes, please wait... ⚙️ Run configurationConfiguration used: Repository: FastLED/FastLED/.coderabbit.yaml Review profile: CHILL Plan: Advanced Run ID: 📒 Files selected for processing (1)
✨ 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 |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Closes #4578
runSingleTest only sent pattern entries for failing runs, but the host requires a non-empty
patternslist for every WS2814 legacy run. Passing WS2814 runs now send a compact size summary, and every entry carriespassed.Hardware evidence (ESP32-C6, TX GPIO0 → RX GPIO1):
bash autoresearch esp32c6 --rmt --legacy --chipset ws2814 --strip-sizes 1,2,3,4,100: RESULT PASS 6 test(s), 8/8 patterns each. Before the fix this wasmalformed_response.--chipset ws2818 --strip-sizes 1,100: RESULT PASS 3 test(s) (regression check).ci/tests/test_autoresearch_phases.py: 178 passed.bash lint: pass.Firmware-only change in the AutoResearch example; no library code or bloat impact.
🤖 Generated with Claude Code