Skip to content

fix(autoresearch): tolerate empty RP2040 port marker - #3634

Merged
zackees merged 1 commit into
masterfrom
feat/rp2040-rpc-smoke-no-port
Jul 14, 2026
Merged

zackees merged 1 commit into
masterfrom
feat/rp2040-rpc-smoke-no-port

Conversation

@zackees

@zackees zackees commented Jul 14, 2026 •

Copy link
Copy Markdown
Member

Follow-up to #3633 and fbuild #1042. The fbuild deployer now correctly refuses unrelated COM ports while waiting for RP2040 CDC; this runner change handles the explicit empty marker without crashing and lets the deploy result report the real failure. Focused autoresearch tests pass.

Summary by CodeRabbit

  • Bug Fixes
    • Improved deployment port detection when the port information appears alongside other output text.
    • Deployment handling now reliably extracts the assigned application port from varied command output formats.

@zackees
zackees force-pushed the feat/rp2040-rpc-smoke-no-port branch from f5a003a to 61b25e3 Compare July 14, 2026 21:14
@zackees
zackees merged commit 8b6b595 into master Jul 14, 2026
9 of 10 checks passed
@coderabbitai

coderabbitai Bot commented Jul 14, 2026 •

Copy link
Copy Markdown

Review Change Stack

Note

Currently processing new changes in this PR. This may take a few minutes, please wait...

⚙️ Run configuration

Configuration used: Path: .coderabbit.yaml

Review profile: CHILL

Plan: Pro

Run ID: 1386ae6d-4e34-491c-a534-5445ac2cceaf

📥 Commits

Reviewing files that changed from the base of the PR and between f7df508 and 61b25e3.

📒 Files selected for processing (1)
  • ci/util/fbuild_runner.py
 _______________________________________________________
< Once upon a dream, I found all the bugs in your code. >
 -------------------------------------------------------
  \
   \   \
        \ /\
        ( )
      .( o ).
ℹ️ Recent review info
⚙️ Run configuration

Configuration used: Path: .coderabbit.yaml

Review profile: CHILL

Plan: Pro

Run ID: 1386ae6d-4e34-491c-a534-5445ac2cceaf

📥 Commits

Reviewing files that changed from the base of the PR and between f7df508 and 61b25e3.

📒 Files selected for processing (1)
  • ci/util/fbuild_runner.py

📝 Walkthrough

Walkthrough

run_fbuild_deploy now detects FBUILD_DEPLOY_PORT= anywhere in fbuild deploy output lines and extracts the following whitespace-delimited port token. The returned port continues to populate FbuildCommandResult.

Changes

Fbuild deploy

Layer / File(s) Summary
Parse embedded deploy port markers
ci/util/fbuild_runner.py
run_fbuild_deploy extracts the port token after FBUILD_DEPLOY_PORT= regardless of its position within the output line.

Estimated code review effort: 1 (Trivial) | ~3 minutes

Possibly related issues

✨ Finishing Touches
📝 Generate docstrings
  • Create stacked PR
  • Commit on current branch
🧪 Generate unit tests (beta)
  • Create PR with unit tests
  • Commit unit tests in branch feat/rp2040-rpc-smoke-no-port

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.

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