Repository navigation
feat: add RP2040 watchdog recovery mode - #3638
Merged
Merged
Conversation
zackees
force-pushed
the
feat/rp2040-rpc-smoke-no-port
branch
from
July 14, 2026 21:59
1ff5b0e to
c12055b
Compare
|
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 (3)
📝 WalkthroughWalkthroughAdds a ChangesWatchdog soak workflow
Estimated code review effort: 4 (Complex) | ~45 minutes Sequence Diagram(s)sequenceDiagram
participant Runner
participant WatchdogSoak
participant RPCClient
participant RP2040
participant RPCSmoke
Runner->>WatchdogSoak: start watchdog soak
WatchdogSoak->>RPCClient: connect and ping
WatchdogSoak->>RPCClient: call deliberateHang
RPCClient->>RP2040: trigger watchdog reset
WatchdogSoak->>RP2040: wait for CDC disconnect and re-enumeration
WatchdogSoak->>RPCClient: reconnect to recovered port
RPCClient->>RP2040: ping recovered endpoint
WatchdogSoak->>RPCSmoke: run post-reset RPC smoke
Possibly related issues
Possibly related PRs
✨ 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 |
13 tasks
This was referenced Aug 2, 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.
Add --watchdog-soak to the pin-free AutoResearch workflow. It sends deliberateHang through RpcClient, records the acknowledgement, waits for CDC disappearance/re-enumeration, validates post-reset ping/reset uptime, and reruns the RPC smoke set. Includes stock RP2040 no-port handling and skips GPIO discovery. Tests: 112 autoresearch tests passed. Attached hardware execution is still pending because the current deliberateHang run leaves this Pico in BOOTSEL before ACK/recovery.
Summary by CodeRabbit
New Features
--watchdog-soakcommand-line option to enable the new test mode.Validation