Skip to content

[codex] Cover ObjectFLED legacy one-strip path - #3381

Merged
zackees merged 1 commit into
teensy-fixfrom
codex/objectfled-legacy-one-strip-coverage
Jun 25, 2026
Merged

zackees merged 1 commit into
teensy-fixfrom
codex/objectfled-legacy-one-strip-coverage

Conversation

@zackees

@zackees zackees commented Jun 25, 2026

Copy link
Copy Markdown
Member

Summary

  • Add AutoResearch legacy ObjectFLED dispatch for the current soldered Teensy loopback TX pin 22 in the single-strip case.
  • Add host command coverage proving --object-fled --legacy --tx-pin 22 --rx-pin 8 --strip-sizes 1 builds a one-strip runSingleTest request with useLegacyApi=true.
  • Tighten the AutoResearch runtime-output lint to also ban fl::Serial.print*/write/flush direct output.

Validation

  • uv run --no-sync ruff format --check ci/autoresearch/args.py ci/autoresearch/phases.py ci/tests/test_autoresearch_phases.py
  • uv run --no-sync ruff check ci/autoresearch/args.py ci/autoresearch/phases.py ci/tests/test_autoresearch_phases.py
  • uv run --no-sync pytest ci/tests/test_autoresearch_phases.py -q -> 72 passed
  • soldr cargo fmt --manifest-path ci/lint_cpp_rs/Cargo.toml -- --check
  • soldr cargo check --manifest-path ci/lint_cpp_rs/Cargo.toml --target x86_64-unknown-linux-gnu --tests
  • git diff --check
  • bash test --unit --no-fingerprint -> 254/254 passed

Hardware

  • bash autoresearch teensy41 --object-fled --legacy --tx-pin 22 --rx-pin 8 --strip-sizes 1 --timeout 120 --skip-lint
  • fbuild deploy succeeded on teensy41 @ COM20.
  • Serial backend was FbuildSerialAdapter; no manual serial utility was used.
  • GPIO pre-test passed for TX 22 -> RX 8.
  • Leading setPins echoed txPin=22, rxPin=8.
  • runSingleTest used driver=OBJECT_FLED, laneSizes=[1], useLegacyApi=true.
  • The run failed honestly as the current known class=zero_capture, with diagnostics showing DMA drained for numbytes=3, numpins=1, framebufferIndex=3.

@coderabbitai

coderabbitai Bot commented Jun 25, 2026

Copy link
Copy Markdown

Important

Review skipped

Auto reviews are disabled on base/target branches other than the default branch.

Please check the settings in the CodeRabbit UI or the .coderabbit.yaml file in this repository. To trigger a single review, invoke the @coderabbitai review command.

⚙️ Run configuration

Configuration used: Path: .coderabbit.yaml

Review profile: CHILL

Plan: Pro

Run ID: 8153b64d-3766-450d-80f3-e705cf2be57b

You can disable this status message by setting the reviews.review_status to false in the CodeRabbit configuration file.

Use the checkbox below for a quick retry:

  • 🔍 Trigger review
✨ Finishing Touches
🧪 Generate unit tests (beta)
  • Create PR with unit tests
  • Commit unit tests in branch codex/objectfled-legacy-one-strip-coverage

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 merged commit 51adb8e into teensy-fix Jun 25, 2026
1 check passed
@zackees
zackees deleted the codex/objectfled-legacy-one-strip-coverage branch June 25, 2026 14:50
@fastled-project-sync fastled-project-sync Bot moved this to Triage in FastLED Tracker Jun 25, 2026
@fastled-project-sync fastled-project-sync Bot moved this from Triage to Done in FastLED Tracker Jun 25, 2026
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.

1 participant