Skip to content

fix(autoresearch): report WS2814 legacy pattern sizes on passing runs - #4600

Merged
zackees merged 1 commit into
masterfrom
fix/issue-4578-ws2814-patterns
Sep 25, 2026
Merged

zackees merged 1 commit into
masterfrom
fix/issue-4578-ws2814-patterns

Conversation

@zackees

@zackees zackees commented Sep 25, 2026

Copy link
Copy Markdown
Member

Closes #4578

runSingleTest only sent pattern entries for failing runs, but the host requires a non-empty patterns list for every WS2814 legacy run. Passing WS2814 runs now send a compact size summary, and every entry carries passed.

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 was malformed_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

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]>
@zackees
zackees merged commit b785df2 into master Sep 25, 2026
84 of 85 checks passed
@fastled-project-sync fastled-project-sync Bot moved this to Triage in FastLED Tracker Sep 25, 2026
@fastled-project-sync fastled-project-sync Bot moved this from Triage to Done in FastLED Tracker Sep 25, 2026
@coderabbitai

coderabbitai Bot commented Sep 25, 2026

Copy link
Copy Markdown

Review in Change Stack →

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 configuration

Configuration used: Repository: FastLED/FastLED/.coderabbit.yaml

Review profile: CHILL

Plan: Advanced

Run ID: 60c44e0d-8108-4061-adfd-fab3772e5cb0

📥 Commits

Reviewing files that changed from the base of the PR and between 23a7c92 and a6de975.

📒 Files selected for processing (1)
  • examples/AutoResearch/AutoResearchRemoteRunSingleTest.cpp
 _____________________________________________________________
< Oompa Loompa doompadee doo, I've got a code review for you. >
 -------------------------------------------------------------
  \
   \   (\__/)
       (•ㅅ•)
       /   づ
✨ Finishing Touches
📝 Generate docstrings
  • Commit to this branch
  • Create a new PR
🧪 Generate unit tests (beta)
  • Commit to this branch
  • Create a new PR

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.

❤️ Share

Comment @coderabbitai help to get the list of available commands.

@zackees
zackees deleted the fix/issue-4578-ws2814-patterns branch November 5, 2026 05:52
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

Status: Done

Development

Successfully merging this pull request may close these issues.

AutoResearch: esp32c6 --rmt --legacy --chipset ws2814 returns an empty patterns list (malformed_response)

1 participant