feat: add test-preflight runner and deployer prepare adapters
agent-runtime executes fixed tester node operations over JSON stdin. deployer prepare brings up the local test Compose service the same way. test-preflight now passes the tester binding; tester select skips unauthorized cases before creating a runner.
This commit is contained in:
@@ -210,6 +210,9 @@ def android_identity(path: Path, context: RuntimeContext) -> str:
|
||||
for command in commands:
|
||||
result = run_command(command, context=context)
|
||||
if result.code == 0:
|
||||
plain = result.output.strip()
|
||||
if re.fullmatch(r"[A-Za-z][A-Za-z0-9_.-]*", plain):
|
||||
return plain
|
||||
match = re.search(r"(?:name|application-id)[=:]['\"]?([A-Za-z0-9_.]+)", result.output)
|
||||
if match:
|
||||
return match.group(1)
|
||||
|
||||
Reference in New Issue
Block a user