Maestro CLI 2.13.0 check-syntax for CI

Maestro Team

Maestro CLI 2.13.0: check-syntax for CI

This release makes maestro check-syntax usable as a CI step: pass it all your flow files and it reports every problem in each, checks that referenced files exist, and can print JSON. maestro record works again without --local, several times faster and with smaller files. There are also iOS fixes, including for iOS 26 and 27, and the driver builds again on Xcode 27.1.

check-syntax, built for CI

  • Check every flow file in one run. maestro check-syntax now accepts any number of flow files (for example flows/*.yaml) and reports every problem in each one with file, line and column. It also checks that files referenced by runFlow, retry, runScript and addMedia exist, so a flow that points at a missing script fails at lint time instead of at maestro test.
  • JSON output for CI and agents. --format json prints every problem as one JSON document; text output shows the first 20 per file and ends with a summary line. Exit codes are 0 clean, 1 for problems, 2 for usage or file-read errors.
  • Breaking: check any CI job that calls check-syntax. A clean run now prints a summary line instead of OK, problems go to stdout instead of stderr, a missing file exits 2 instead of 1, a file with only a list of commands and no config section is now an error (add a config section, or pipe the snippet in with -, which still accepts one), and a flow referencing a missing file now fails. If your job greps for OK or reads stderr, update it to rely on the exit code. Pass flow files only: a directory exits 2, and a workspace config.yaml is reported as a flow with errors, so keep it out of a glob like flows/*.yaml. JavaScript inside ${...} and platform support are not checked.

maestro record works again without —local

  • Videos always render on your machine. maestro record <flow> out.mp4 no longer uses the remote renderer, which was offline. Rendering is several times faster than before and files are smaller. --local is still accepted and has no effect.
  • The output folder is created for you. If the folder you name does not exist, maestro record creates it before the flow runs.
  • Android videos run until the last commands complete. Videos no longer end before the last commands show as completed in the overlay, so flows that end on assertions show their final status.
  • Clean output in CI and piped runs. maestro record respects --no-ansi and non-TTY runs, so terminal logs are plain text. The video overlay is unchanged.

iOS fixes

  • Deeply nested screens are read faster and in full. On screens nested more than 60 levels deep, reading the hierarchy is much faster, and items such as the entries of an open UIMenu are no longer missing.
  • Photo pickers are tappable on iOS 26 and later. Photos and buttons in UIImagePickerController and PHPickerViewController are now in the hierarchy, including when the keyboard is up and on iPad, so tapOn works on them.
  • The notifications permission alert is tapped once. Maestro waits for the alert to settle before auto-tapping it, so the tap no longer lands twice or hits the app behind.
  • Associated-domain web sign-in works after clearState on iOS 27 simulators. Sign-in through ASWebAuthenticationSession with an HTTPS callback succeeds after launchApp with clearState: true. For apps that use one, clearState takes about 10 seconds longer. To do this, Maestro briefly opens a URL on each of the app’s associated domains in Safari, so your servers will see requests to /__maestro_swc_refresh.
  • Building the iOS driver for physical devices works again on Xcode 27.1. Building the driver for physical devices with maestro driver-setup, and building from source, works again. The driver now needs iOS 15 or later, on devices and simulators. Simulator users get a prebuilt driver, so the Xcode 27.1 build error never affected them.

Also in this release

  • Maestro Cloud upload warnings in the CLI and MCP. maestro cloud prints warnings that Maestro Cloud returns at upload time (for example, a deprecated device) in yellow under the device-specs box, and the run_on_cloud MCP tool returns them as warnings.
  • The new version notice works again. From 2.13.0 on, the CLI tells you when a newer Maestro is out, including in CI logs. Turn it off with MAESTRO_DISABLE_UPDATE_CHECK=true; with that set, no request is sent at all.
  • log4j updated to 2.25.5. Removes a finding that vulnerability scanners were flagging on 2.25.3.

Upgrade with curl -fsSL "https://get.maestro.mobile.dev" | bash.

Share

Get the next one in your inbox

Pick what you want to hear about. Unsubscribe any time.

What to send you