Skip to content

fix(ci): use focus URI on non-macOS to satisfy clippy - #85

Merged
DevVig merged 1 commit into
mainfrom
fix/clippy-focus-uri-unused
Jul 21, 2026
Merged

fix(ci): use focus URI on non-macOS to satisfy clippy#85
DevVig merged 1 commit into
mainfrom
fix/clippy-focus-uri-unused

Conversation

@DevVig

@DevVig DevVig commented Jul 21, 2026

Copy link
Copy Markdown
Owner

Summary

Test plan

  • cargo clippy -p microbridged --all-targets -- -D warnings
  • CI green on Ubuntu + macOS

Made with Cursor

Ubuntu CI treats the macOS-only open path as an unused binding after the
v0.3.7 integration expansion merge.
Copilot AI review requested due to automatic review settings July 21, 2026 17:04
@coderabbitai

coderabbitai Bot commented Jul 21, 2026

Copy link
Copy Markdown

Warning

Review limit reached

You’ve reached a temporary PR review limit under our Fair Usage Limits Policy.

Your recent review volume is higher than typical usage, so adaptive limits are currently applied.

Next review available in: 12 minutes

Enable usage-based reviews in Billing to review now. Otherwise, wait until the next included review is available.
You're only billed for reviews past your plan's rate limits ($0.25/file).

How can I continue?

After more reviews become available, a review can be triggered using the @coderabbitai review command as a PR comment. Alternatively, push new commits to this PR.

To avoid repeated limits, reduce automatic review volume by pausing incremental auto-reviews earlier, using label-based review opt-in, excluding WIP or generated PR titles, or requesting reviews manually when the PR is ready. If your team needs uninterrupted high-volume reviews, an organization admin can enable usage-based reviews.

How do review limits work?

CodeRabbit enforces per-developer PR review limits for each organization. Most developers receive the normal plan review availability.

For paid Pro and Pro+ PR reviews, CodeRabbit uses adaptive limits for sustained high-volume activity. When a developer's recent PR review activity reaches the 95th percentile or higher among CodeRabbit users, additional reviews become available more gradually as earlier reviews age out of the rolling window.

Please refer docs for additional details.

Review details
⚙️ Run configuration

Configuration used: Organization UI

Review profile: CHILL

Plan: Pro

Run ID: 1af29ef8-18f1-471b-9481-5e6e6abda237

📥 Commits

Reviewing files that changed from the base of the PR and between 580824e and b7d93c6.

📒 Files selected for processing (1)
  • crates/microbridged/src/state.rs

Comment @coderabbitai help to get the list of available commands.

@DevVig
DevVig merged commit 3a7251b into main Jul 21, 2026
7 of 8 checks passed
@DevVig
DevVig deleted the fix/clippy-focus-uri-unused branch July 21, 2026 17:05

Copilot AI left a comment

Copy link
Copy Markdown

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Pull request overview

This PR fixes a Linux/Ubuntu CI failure introduced by macOS-only deep-link handling by ensuring the focus URI is consumed on non-macOS builds and returning a clear, non-no-op error when deep-link opening isn’t supported.

Changes:

  • Adds a non-macOS cfg branch that returns an error for Action::OpenFocusedThread deep-link attempts.
  • Includes the computed focus URI in the non-macOS error message to avoid unused variable: url warnings and improve diagnostics.

💡 Add Copilot custom instructions for smarter, more guided reviews. Learn how to get started.

DevVig added a commit that referenced this pull request Jul 21, 2026
## Summary
- Replace `brew services list | awk/grep` with `--json | jq` in
finalize-release workflow and smoke-formula script to fix Intel `Broken
pipe` flakes under `pipefail`.
- Align leftover `0.3.6` drift in
`apps/microbridge-ui/src-tauri/Cargo.toml` and `package-lock.json` to
`0.3.7`.
- Add `docs/releases/v0.3.7.md` and a `route_action` +
`OpenFocusedThread` unit test proving non-macOS URI error / macOS Ok
path (#85 regression).

## Test plan
- [x] `cargo clippy -p microbridged --all-targets -- -D warnings`
- [x] `cargo test -p microbridged`
- [ ] CI: `rust (ubuntu-latest)`, `rust (macos-latest)`, `ui`

<!-- This is an auto-generated comment: release notes by coderabbit.ai
-->

## Summary by CodeRabbit

* **New Features**
* Added automatic discovery of installed agent runtimes at daemon
startup.
  * Added an embedded local MCP endpoint at `http://127.0.0.1:9190/mcp`.
  * Added universal focus deep-linking via agent key presses.
  * Introduced a community adapter SDK.
* **Upgrade Notes**
* No migration is required; integrations may need reconnection after
upgrading if adapters were disabled.
* Focus deep-linking is supported on macOS; other platforms report an
explanatory error.
* **Documentation**
  * Added release notes for version 0.3.7.

<!-- end of auto-generated comment: release notes by coderabbit.ai -->
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants