Skip to content

[codex] Always apply AutoResearch effective pins - #3368

Merged
zackees merged 1 commit into
teensy-fixfrom
codex/autoresearch-always-set-pins
Jun 24, 2026
Merged

zackees merged 1 commit into
teensy-fixfrom
codex/autoresearch-always-set-pins

Conversation

@zackees

@zackees zackees commented Jun 24, 2026

Copy link
Copy Markdown
Member

Summary

  • centralize AutoResearch setPins command generation for the final effective TX/RX pair
  • prepend or replace the leading setPins RPC after CLI pins, discovered pins, discovery fallback pins, or default pins are resolved
  • expand phase tests so default, explicit, discovered, and fallback pin flows all assert the queued setPins command

Why

Issue #3359 S2 requires wrapper logs, firmware state, and returned result pins to stay visible and synchronized. Before this change, AutoResearch only queued setPins for explicitly supplied CLI pins. Omitted/default pins and auto-discovery paths could proceed without applying the final effective pair through firmware RPC state.

Validation

  • git diff --check -- ci/autoresearch/phases.py ci/tests/test_autoresearch_phases.py
  • uv run --no-sync pytest ci/tests/test_autoresearch_phases.py -q -> 64 passed
  • uv run --no-sync ruff check ci/autoresearch/phases.py ci/tests/test_autoresearch_phases.py
  • uv run --no-sync ruff format --check ci/autoresearch/phases.py ci/tests/test_autoresearch_phases.py

Targets #3359 S2: always send setPins for the final effective TX/RX pair, including fallback/default cases.

@coderabbitai

coderabbitai Bot commented Jun 24, 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: f7a17e04-570f-47f7-9c97-e5c0fd5b4126

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-always-set-pins

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 84af9e0 into teensy-fix Jun 24, 2026
1 check passed
@zackees
zackees deleted the codex/autoresearch-always-set-pins branch June 24, 2026 23:36
@fastled-project-sync fastled-project-sync Bot moved this to Triage in FastLED Tracker Jun 24, 2026
@fastled-project-sync fastled-project-sync Bot moved this from Triage to Done in FastLED Tracker Jun 24, 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