Repository navigation
maestro: ship --config as config.yaml at the root of the flows zip - #87
Open
jochen-testingbot wants to merge 1 commit into
Open
jochen-testingbot wants to merge 1 commit into
jochen-testingbot wants to merge 1 commit into
Conversation
A custom --config file was zipped under its own name (ci-config.yaml, or
../ci-config.yaml when it lives outside the flows directory). Maestro on the
device only reads config.yaml/config.yml, so it ran the file as a flow
('Config Field Required') and ignored its tags and env. Verified on
production (Pixel 8 emulator, 2026-12-01): with this change the config is no
longer run as a flow and the dry-run shows config.yaml next to the flows.
The archive root is now the flows' common directory even when the config
lives elsewhere, so the flows don't end up in a sub directory.
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.
Problem
testingbot maestro app.apk ./flows --config ci-config.yamlzipped the config under its own name, or as../ci-config.yamlwhen it sits outside the flows directory. On the device Maestro only treatsconfig.yaml/config.ymlas configuration, so it:includeTagsandenv.I reproduced this on production on 2026-12-01 (Pixel 8 emulator, CLI 1.6.0).
Fix
archiveNameFor: the--configfile, matched by resolved path, is stored asconfig.yaml; every other file keeps its relative name.zipBaseDirectory: the archive root comes from the flow files alone, so a config outside the flows doesn't push them into a subfolder.Tests
New
tests/providers/maestro_config_zip.test.ts. The full suite passes (1082 tests); tsc, eslint and prettier are clean.Verified on production
cfg.yamlandconfig.yamlat the root.includeTagsapply.envstill doesn't reach the flow: Maestro's workspace config has noenv. testingbot/vm develop needs to apply it; that's a separate vm PR.