Skip to content
Source
Sign inSign up
pingdotgg/t3code

fix(server): Macs without Android no longer show avdmanager discovery warnings #25815

Mergedt3dotgg(GitHub profile, opens in a new tab)merged 1 commit intomain fromrefs/pull/25815/headmerged by t3dotgg(GitHub profile, opens in a new tab) View on GitHub

Macs with no Android SDK showed a "Device discovery warning" in the Device panel on every refresh: [android-utils] Failed to run \avdmanager list avd`:. On macOS the device hub lists both iOS and Android, so it probes avdmanager` even when Android is not installed. The panel already says "Android SDK was not found" for these hosts, so the warning only repeated that.

Now hub errors from [android-utils] are hidden when the host has no usable Android SDK. When the SDK is present, Android errors still show. Local and SSH device hosts share this path.

Proof: a new test fails on main and passes with the fix. I also ran the same hub version on a Mac without Android. It returned exactly this one error and still listed its simulators.

Reviewed with sol-loop: 1 round with GPT-6.1 Sol. Sol verdict: approved

🤖 Generated with Claude Code using Claude Opus 5.5

    1. Approvability

      Verdict: Approved at d2f1b8c

      Macroscope's review found this PR approvable — This is a small, self-contained server bug fix that filters redundant Android discovery warnings only when Android is unavailable while preserving existing discovery behavior otherwise. Focused tests cover both unavailable and available Android cases, with no schema, deployment, security, or static-analysis changes.

      You can add or adjust custom eligibility rules. [Learn more](https://docs.macroscope.com/approvability#example-custom-eligibility-rules).
    2. Thread transfer impact

      ✅ Thread transfer remains within every enforced ceiling.

      ProviderMetricMain baselineThis PRImpactPR ceiling
      CodexTotal thread wire5.0 KiB5.0 KiB+6 B (+0.1%)6.8 KiB✅
      CodexThread snapshot wire3.8 KiB3.8 KiB0 B (0.0%)4.9 KiB✅
      CodexLive turn WebSocket wire1.2 KiB1.3 KiB+6 B (+0.5%)2.0 KiB✅
      CodexLive turn WebSocket decoded21.6 KiB21.6 KiB0 B (0.0%)24.4 KiB✅
      CodexLive turn messages220 (0.0%)8✅
      ClaudeTotal thread wire5.0 KiB5.0 KiB0 B (0.0%)6.8 KiB✅
      ClaudeThread snapshot wire3.8 KiB3.8 KiB0 B (0.0%)4.9 KiB✅
      ClaudeLive turn WebSocket wire1.3 KiB1.3 KiB0 B (0.0%)2.0 KiB✅
      ClaudeLive turn WebSocket decoded21.9 KiB21.9 KiB0 B (0.0%)24.4 KiB✅
      ClaudeLive turn messages220 (0.0%)8✅

      Baseline: b84e121 · PR result: d2f1b8c · Source CI: success

      Scenario and decoded snapshot size

      10 historical turns, 5 command tools per turn, 878.9 KiB retained MCP result per historical turn, and a 1.05 MiB retained result in the measured turn.

      • Codex decoded thread snapshot: 108.5 KiB
      • Claude decoded thread snapshot: 108.8 KiB

      Updated in place by a trusted workflow. PR artifacts are strictly validated and never executed.

Sign in to join this conversation.