Repository navigation
Orb bridges: ESP-Claw adapter (tinyagentos/orb/bridges/esp_claw.py, spec s5 row) - #3977
Conversation
RED-PROOF:
```text
FFFFF............... [100%]
=================================== FAILURES ===================================
_________________ test_esp_claw_evaluate_one_orb_with_address __________________
def test_esp_claw_evaluate_one_orb_with_address():
"""Test esp_claw.evaluate with one orb matching esp-claw app id."""
> from tinyagentos.orb.bridges import esp_claw
E ImportError: cannot import name 'esp_claw' from 'tinyagentos.orb.bridges' (/tmp/exec-tsk-4cfupy/tinyagentos/orb/bridges/__init__.py)
tests/orb/test_bridge_esp_claw.py:9: ImportError
___________ test_esp_claw_evaluate_underscore_app_id_does_not_match ____________
def test_esp_claw_evaluate_underscore_app_id_does_not_match():
"""Test esp_claw.evaluate does not match app 'esp_claw' (underscore)."""
> from tinyagentos.orb.bridges import esp_claw
E ImportError: cannot import name 'esp_claw' from 'tinyagentos.orb.bridges' (/tmp/exec-tsk-4cfupy/tinyagentos/orb/bridges/__init__.py)
tests/orb/test_bridge_esp_claw.py:30: ImportError
_____________________ test_esp_claw_installed_returns_none _____________________
def test_esp_claw_installed_returns_none():
"""Test esp_claw.installed returns None."""
> from tinyagentos.orb.bridges import esp_claw
E ImportError: cannot import name 'esp_claw' from 'tinyagentos.orb.bridges' (/tmp/exec-tsk-4cfupy/tinyagentos/orb/bridges/__init__.py)
tests/orb/test_bridge_esp_claw.py:48: ImportError
______________ test_esp_claw_adapter_registered_and_evaluate_all _______________
def test_esp_claw_adapter_registered_and_evaluate_all():
"""Test esp_claw is in adapters() and evaluate_all includes it without error."""
from tinyagentos.orb.bridges import adapters, evaluate_all
module_names = [m.__name__.rsplit(".", 1)[1] for m in adapters()]
> assert "esp_claw" in module_names
E AssertionError: assert 'esp_claw' in ['mimiclaw']
tests/orb/test_bridge_esp_claw.py:58: AssertionError
___________________________ test_esp_claw_constants ____________________________
def test_esp_claw_constants():
"""Test esp_claw module constants."""
> from tinyagentos.orb.bridges import esp_claw
E ImportError: cannot import name 'esp_claw' from 'tinyagentos.orb.bridges' (/tmp/exec-tsk-4cfupy/tinyagentos/orb/bridges/__init__.py)
tests/orb/test_bridge_esp_claw.py:73: ImportError
=========================== short test summary info ============================
FAILED tests/orb/test_bridge_esp_claw.py::test_esp_claw_evaluate_one_orb_with_address
FAILED tests/orb/test_bridge_esp_claw.py::test_esp_claw_evaluate_underscore_app_id_does_not_match
FAILED tests/orb/test_bridge_esp_claw.py::test_esp_claw_installed_returns_none
FAILED tests/orb/test_bridge_esp_claw.py::test_esp_claw_adapter_registered_and_evaluate_all
FAILED tests/orb/test_bridge_esp_claw.py::test_esp_claw_constants - ImportErr...
5 failed, 15 passed in 0.41s
```
GREEN:
```text
.................... [100%]
20 passed in 0.20s
```
|
ⓘ Qodo reviews are paused because your trial has ended. Ask your workspace admin to add credits to resume reviews. Manage billing |
|
No actionable comments were generated in the recent review.
|
| Layer / File(s) | Summary |
|---|---|
Adapter evaluation and validation tinyagentos/orb/bridges/esp_claw.py, tests/orb/test_bridge_esp_claw.py, changelog.d/tsk-4cfupy-orb-bridge-esp-claw.md |
Adds bridge metadata and evaluation behavior for LAN Orbs running esp-claw. Tests cover target creation, non-matching app IDs, installed() returning None, registration, and adapter constants. The changelog describes the adapter and its configuration instructions. |
Priority:
Estimated code review effort: 2 (Simple) | ~10 minutes
Change: Feature
Possibly related PRs
- jaylfc/taOS#3966: Defines the bridge result and adapter evaluation interfaces used by this adapter.
- jaylfc/taOS#3884: Adds the LAN Orb data returned to the adapter for app filtering and target construction.
Merge Risk: 
Minimal · up to b5a20
-
The adapter provides the documented default device configuration URL. No actionable merge-blocking issue remains; merge readiness is subject to normal checks.
Pre-merge checks: 
5
-
Full details: Docstring Coverage
-
Explanation
Docstring coverage is 100.00% which is sufficient. The required threshold is 80.00%. Docstring coverage is scoped to functions touched by this diff. Documentation-only edits and deletions within surviving functions are included; unchanged diff context and fully deleted functions are excluded. Analyzed 7 functions across 2 files. (1 skipped: 1 unsupported.)
-
Finishing Touches: 💡 1
-
🛠️ Fix failing CI checks: 💡
-
- Commit to this branch
- Create a new PR
📝 Generate docstrings
-
- Commit to this branch
- Create a new PR
🧪 Generate unit tests (beta)
-
- Commit to this branch
- Create a new PR
-
- Autofix · Keep fixing CodeRabbit findings and required CI, and resolving merge conflicts
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.
Comment @coderabbitai help to get the list of available commands.
|
Lead review (taosc-dev, card tsk-4cfupy, head c1eb53b): PASS. Checked against the card line by line: constants, installed(), instruction strings verbatim, matching rule, pure (no network/subprocess/discovery), only the adapter + its test + the changelog fragment touched. Red-first fence is real and names tests that ship here. All five adapter PRs (#3972 #3973 #3976 #3977 #3978) applied together on origin/dev: The only red check is bot-review-gate (no CodeRabbit artifact on this head yet, CR rate-limited). Merge waits a CR artifact + Jay (tinyagentos/orb/ path). |
CARD TITLE (intent, not commit subject): Orb bridges: ESP-Claw adapter (tinyagentos/orb/bridges/esp_claw.py, spec s5 row)
Autonomous build of board card tsk-4cfupy.
tsk-4cfupy: Orb bridges: ESP-Claw adapter
RED-PROOF:
GREEN:
Files:
changelog.d/tsk-4cfupy-orb-bridge-esp-claw.md | 9 ++++
tests/orb/test_bridge_esp_claw.py | 77 +++++++++++++++++++++++++++
tinyagentos/orb/bridges/esp_claw.py | 47 ++++++++++++++++
3 files changed, 133 insertions(+)
In-house review (pre-PR)
in-house-review: PASS (kilo/nvidia/nemotron-3-ultra-550b-a55b:free)
reviewer output
VERDICT: PASS
In-house-Review: PASS model=kilo/nvidia/nemotron-3-ultra-550b-a55b:free head=c1eb53b69 needs-lead=0
Summary by Gitar
This will update automatically on new commits.
Summary by CodeRabbit