Skip to content

[codex] Guard ObjectFLED runtime output paths - #3386

Merged
zackees merged 1 commit into
teensy-fixfrom
codex/autoresearch-output-lint-driver-spans
Jun 25, 2026
Merged

zackees merged 1 commit into
teensy-fixfrom
codex/autoresearch-output-lint-driver-spans

Conversation

@zackees

@zackees zackees commented Jun 25, 2026

Copy link
Copy Markdown
Member

Summary

  • Extend the scoped AutoResearch runtime-output checker so explicit autoresearch-runtime-output-lint spans can protect non-AutoResearch C++ files, including .cpp.hpp driver implementation files.
  • Add focused Rust tests proving the guarded span rejects FL_PRINT*, FL_WARN*, Serial.printX, and fl::serial* output helpers.
  • Mark ObjectFLED transmit paths as protected spans and remove a debug-only direct FL_WARN_F from the protected rebuild path.
  • Clarify the AutoResearch sketch directive so setup-only fl::serial_begin/ready helpers remain allowed while runtime output goes through JSON-RPC / RESULT JSONL.

Validation

  • soldr cargo test --manifest-path ci/lint_cpp_rs/Cargo.toml autoresearch_runtime_output -- --nocapture
  • soldr cargo fmt --manifest-path ci/lint_cpp_rs/Cargo.toml -- --check
  • soldr cargo run --manifest-path ci/lint_cpp_rs/Cargo.toml -- --checker autoresearch_runtime_output examples\AutoResearch src\platforms\arm\teensy\teensy4_common\clockless_objectfled.cpp.hpp src\platforms\arm\teensy\teensy4_common\drivers\objectfled\channel_engine_objectfled.cpp.hpp
  • git diff --check
  • bash lint --cpp

@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: 3ee95831-36b4-43b3-9866-dae76cc39d7a

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/autoresearch-output-lint-driver-spans

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 fe56fc5 into teensy-fix Jun 25, 2026
1 check passed
@zackees
zackees deleted the codex/autoresearch-output-lint-driver-spans branch June 25, 2026 15:54
@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