Repository navigation
Checks that run on Windows too, the reference driver's retry, and WINDOWS.md from today's run - #291
Merged
Merged
Conversation
…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.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
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
mobium-app.sh,ios-device.shmktemp -t prefix, which only macOS accepts: "too few X's in template" under Git Bash$CHECK_TMP, whichlib.shalready makes portably and removesgraybox-edges.shpkill, which Git Bash does not havelib.shgainskill_matching:pkill -fon macOS and Linux, and on Windows the command line read fromWin32_Process, since Git Bash'spsshows no argumentsassistant.shexternal-driver.shexamples/drivers/mobium-driver-adbretries it 3 times, 0.7 s apart, as Mobium's own backend does (snapshotRetries)Rerun on the laptop from this branch:
WINDOWS.md
go testpasses on Windows, and MCP lists 78 tools (the doc said 75)clients.shpasses all five clients in one runmobium shutdownended a frozen emulator in 11 sd="dq"reachesmobium.exeasd=dq, before Mobium sees it. PowerShell 7.3+, MCP and the clients pass it whole. This was measured with an unhandled-schemeopen, whose error echoes the command Mobium sent.-gpu hostputs 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 cipasses locally.