Skip to content

Checks that run on Windows too, the reference driver's retry, and WINDOWS.md from today's run - #291

Merged
lana-20 merged 1 commit into
mainfrom
windows-checks-portable
Oct 27, 2026
Merged

lana-20 merged 1 commit into
mainfrom
windows-checks-portable

Conversation

@lana-20

@lana-20 lana-20 commented Oct 27, 2026

Copy link
Copy Markdown
Contributor

A sweep on the Windows laptop (Windows 11 build 26200, main at d36ce9e) failed four checks on causes in the checks themselves, not in Mobium. This fixes them and records the run in docs/WINDOWS.md.

The fixes

Check Failed on Fix
mobium-app.sh, ios-device.sh mktemp -t prefix, which only macOS accepts: "too few X's in template" under Git Bash files go in $CHECK_TMP, which lib.sh already makes portably and removes
graybox-edges.sh pkill, which Git Bash does not have lib.sh gains kill_matching: pkill -f on macOS and Linux, and on Windows the command line read from Win32_Process, since Git Bash's ps shows no arguments
assistant.sh asked to open Google's Calculator on an emulator image that has none, and failed lists the apps first (failing if it can't, per CHALLENGES 269) and refuses with exit 2 when the app is missing
external-driver.sh the reference driver gave up on uiautomator's transient "null root node" examples/drivers/mobium-driver-adb retries it 3 times, 0.7 s apart, as Mobium's own backend does (snapshotRetries)

Rerun on the laptop from this branch:

Check Result
graybox-edges PASS
mobium-app PASS (including the "injected position" step that failed on 2026-10-22)
assistant refused (exit 2), naming the missing app
external-driver PASS

WINDOWS.md

  • What today's run found, in the status section:
    • go test passes on Windows, and MCP lists 78 tools (the doc said 75)
    • the quick start passes in Windows PowerShell 5.1 and PowerShell 7.6
    • clients.sh passes all five clients in one run
    • A deep link reaches an Android device whole (CHALLENGES 369) #288's deep-link quoting holds from Windows
    • mobium shutdown ended a frozen emulator in 11 s
    • still unexplained: tv-app, speech, codegen
  • Windows PowerShell 5.1 drops double quotes inside an argument. d="dq" reaches mobium.exe as d=dq, before Mobium sees it. PowerShell 7.3+, MCP and the clients pass it whole. This was measured with an unhandled-scheme open, whose error echoes the command Mobium sent.
  • Memory on an 8 GB machine:
    • With Chrome open in the emulator, it froze or exited twice.
    • -gpu host puts the laptop's NVIDIA GPU to work, but qemu holds more memory idle (3.1 GB against 2.0–2.4 GB) and still exited in the first Chrome round.

make ci passes locally.

…DOWS.md from today's run

A sweep on the Windows laptop at d36ce9e failed four checks on themselves:
mobium-app.sh and ios-device.sh used macOS's `mktemp -t prefix`, which GNU
mktemp in Git Bash refuses; graybox-edges.sh stopped its logcat with pkill,
which Git Bash does not have; assistant.sh asked to open Google's
Calculator on an emulator image that has none and failed instead of
refusing; and the reference driver gave up on uiautomator's transient
"null root node" where mobium's own backend retries it. The files go in
CHECK_TMP; lib.sh gains kill_matching, which reads command lines from
Windows there; assistant.sh refuses, exit 2, without its app; the driver
retries three times, 0.7 s apart.

WINDOWS.md: what the run found, 78 tools, Windows PowerShell 5.1 dropping
double quotes inside an argument, and the 8 GB machine's memory.
@lana-20
lana-20 merged commit 575b26b into main Oct 27, 2026
3 checks passed
@lana-20
lana-20 deleted the windows-checks-portable branch October 27, 2026 23:25
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.

1 participant