Skip to content

fix: hide adb console windows on Windows#503

Merged
thymikee merged 1 commit into
mainfrom
fix/android-adb-windows-console-hide
May 12, 2026
Merged

fix: hide adb console windows on Windows#503
thymikee merged 1 commit into
mainfrom
fix/android-adb-windows-console-hide

Conversation

@thymikee
Copy link
Copy Markdown
Member

@thymikee thymikee commented May 12, 2026

Summary

  • Set windowsHide: true on shared process helpers so Windows subprocesses do not flash console windows.
  • Apply the same hidden-window option to the direct local ADB streaming spawner.
  • Add regression coverage for both shared process helpers and the local ADB provider spawner.

Closes #502

Touched files: 4. Scope stayed within shared process execution, Android ADB provider code, and focused tests.

Validation

  • pnpm exec vitest run src/utils/__tests__/exec-windows-hide.test.ts src/platforms/android/__tests__/adb-executor.test.ts
  • pnpm format
  • pnpm check:quick
  • Android test-app manual check on Pixel 9 Pro XL emulator: pnpm test-app:install, pnpm test-app:android, agent-device snapshot -i --platform android --json; verified the Agent Device Tester UI loaded and snapshot returned Android nodes.

Known gap: pnpm check:unit was attempted. The full suite hit environment/test harness failures unrelated to this change: two failing tests passed when rerun in isolation, and src/__tests__/client-metro-packaged.test.ts cannot complete in this shell because no npm binary is available and its cleanup path kills PID 0 after that setup failure.

@github-actions
Copy link
Copy Markdown

github-actions Bot commented May 12, 2026

PR Preview Action v1.8.1

QR code for preview link

🚀 View preview at
https://callstackincubator.github.io/agent-device/pr-preview/pr-503/

Built to branch gh-pages at 2026-05-12 17:12 UTC.
Preview will be ready when the GitHub Pages deployment is complete.

@thymikee thymikee force-pushed the fix/android-adb-windows-console-hide branch from 9770c4a to 4aa0379 Compare May 12, 2026 17:11
@thymikee thymikee merged commit 3966c5e into main May 12, 2026
18 checks passed
@thymikee thymikee deleted the fix/android-adb-windows-console-hide branch May 12, 2026 17:15
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.

adb commands spawn unnecessary console windows constantly

1 participant