Skip to content

[codex] Classify AutoResearch hardware failures - #3366

Merged
zackees merged 1 commit into
teensy-fixfrom
codex/autoresearch-failure-classification
Jun 24, 2026
Merged

zackees merged 1 commit into
teensy-fixfrom
codex/autoresearch-failure-classification

Conversation

@zackees

@zackees zackees commented Jun 24, 2026

Copy link
Copy Markdown
Member

Summary

  • Classifies failed AutoResearch test responses as zero_capture, decode_mismatch, or generic test failure using structured capture evidence.
  • Emits explicit failure classes for malformed responses, crashes, RPC timeouts, and GPIO electrical failures.
  • Adds host-side coverage for zero-capture and decode-mismatch classification.

Validation

  • git diff --check -- ci/autoresearch/phases.py ci/autoresearch/gpio.py ci/tests/test_autoresearch_rpc_acceptance.py
  • uv run --no-sync pytest ci/tests/test_autoresearch_rpc_acceptance.py ci/tests/test_autoresearch_phases.py ci/tests/test_gpio_serial_proxy_retry.py -q -> 78 passed
  • uv run --no-sync ruff check ci/autoresearch/phases.py ci/autoresearch/gpio.py ci/tests/test_autoresearch_rpc_acceptance.py
  • uv run --no-sync ruff format --check ci/autoresearch/phases.py ci/autoresearch/gpio.py ci/tests/test_autoresearch_rpc_acceptance.py
  • bash autoresearch teensy41 --object-fled --tx-pin 22 --rx-pin 8 --timeout 120 -> fbuild deploy succeeded on COM20; GPIO TX 22 -> RX 8 passed; ObjectFLED failed honestly with class=zero_capture and 0 captured bytes.

No bash compile, no PlatformIO backend, and no manual serial utility were used for hardware validation.

@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: de23e594-2f63-4dec-ac16-685368301e02

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-failure-classification

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 24, 2026
@zackees
zackees merged commit 1b3bc08 into teensy-fix Jun 24, 2026
1 check passed
@zackees
zackees deleted the codex/autoresearch-failure-classification branch June 24, 2026 23:16
@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