Skip to content

fix(autoresearch): verify setup pin state - #3370

Merged
zackees merged 1 commit into
teensy-fixfrom
codex/autoresearch-pin-state-agreement
Jun 25, 2026
Merged

zackees merged 1 commit into
teensy-fixfrom
codex/autoresearch-pin-state-agreement

Conversation

@zackees

@zackees zackees commented Jun 25, 2026

Copy link
Copy Markdown
Member

Summary

  • require setup RPC responses such as setPins to echo the TX/RX pins requested by the AutoResearch wrapper
  • fail the run with pin_state_mismatch when firmware setup state diverges from wrapper-requested pins
  • keep test RPC requested/actual pin validation in place and remove normal-path setPins FL_PRINT chatter so pin state lives in JSON-RPC fields

Validation

  • uv run --no-sync pytest ci/tests/test_autoresearch_rpc_acceptance.py ci/tests/test_autoresearch_phases.py -q
  • uv run --no-sync ruff check ci/autoresearch/phases.py ci/tests/test_autoresearch_rpc_acceptance.py ci/tests/test_autoresearch_phases.py
  • uv run --no-sync ruff format --check ci/autoresearch/phases.py ci/tests/test_autoresearch_rpc_acceptance.py ci/tests/test_autoresearch_phases.py
  • git diff --check -- ci/autoresearch/phases.py ci/tests/test_autoresearch_rpc_acceptance.py examples/AutoResearch/AutoResearchRemotePinMethods.cpp
  • 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: 3b6e459c-19eb-49dd-8a13-ecfc06eb7c35

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-pin-state-agreement

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.

@fastled-project-sync fastled-project-sync Bot moved this to Triage in FastLED Tracker Jun 25, 2026
@zackees
zackees merged commit 8486b90 into teensy-fix Jun 25, 2026
1 check passed
@zackees
zackees deleted the codex/autoresearch-pin-state-agreement branch June 25, 2026 00:08
@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