Repository navigation
[codex] fix AutoResearch network client endpoints - #3608
Merged
Merged
Conversation
|
Caution Review failedThe pull request is closed. ℹ️ Recent review info⚙️ Run configurationConfiguration used: Path: .coderabbit.yaml Review profile: CHILL Plan: Pro Run ID: 📒 Files selected for processing (1)
📝 WalkthroughWalkthroughThe runNetClientTest function in AutoResearchNet.cpp was updated to construct and test HTTP requests against /status and /leds endpoints instead of /data. Watchdog feed calls were added between blocking HTTP GET tests. ChangesClient Test Endpoint Update
Estimated code review effort: 1 (Trivial) | ~5 minutes ✨ Finishing Touches📝 Generate docstrings
🧪 Generate unit tests (beta)
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 |
This was referenced Aug 5, 2026
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Summary
Fixes AutoResearch
runNetClientTestto call the routes actually registered bystartNetServer.The client helper now checks:
GET /pingGET /statusGET /ledsinstead of the stale
GET /dataroute, which the WROOM server does not expose.Root cause
startNetServer()registers/ping,/status,/echo, and/leds.runNetClientTest()still built a/dataURL, so the dual-device C6-to-WROOM traffic helper returnedtests_passed=1, tests_failed=1with a 404 even when the server was reachable.Validation
Hardware setup discovered with
fbuild port scan:COM11: CP210x NodeMCU/WROOM-class ESP32 serverCOM9: ESP32-C6 clientReflashed both boards through
bash autoresearch ... --upload-port ... --skip-lintafter this patch; fbuild deploy succeeded on both.Dual-device run after the fix:
192.168.4.2runNetClientTestpassed all 3 endpoints:/ping,/status,/leds[10]: pass[10,10]: pass[10,10,10,10]: pass[10]*8: timed out after 180s, WROOM still responded topingBaselines:
[10]*8passed in 160 ms and[10]*16passed in 370 ms[10,10]and[10]*4passedSummary by CodeRabbit