From 2fcf16627d2846acda1ce908169c4d3223330d32 Mon Sep 17 00:00:00 2001 From: laily Date: Wed, 14 Oct 2026 17:30:11 +0800 Subject: [PATCH] fix(tester): expose bundle provisioning failure action --- skills/tester/scripts/mobile_bundle.py | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/skills/tester/scripts/mobile_bundle.py b/skills/tester/scripts/mobile_bundle.py index 5e09fab..825f42f 100755 --- a/skills/tester/scripts/mobile_bundle.py +++ b/skills/tester/scripts/mobile_bundle.py @@ -454,6 +454,10 @@ def execute(args: argparse.Namespace) -> int: record.update({"status": "environment-fail", "failure_class": "automatic-repair-failed", "error": str(exc), "evidence": context.evidence}) path = write_run(context.root, record) output = {"status": record["status"], "run": str(path), "platforms": record["platforms"], "worktree": record.get("worktree")} + if record.get("error"): + output["error"] = record["error"] + if record.get("next_action"): + output["next_action"] = record["next_action"] print(json.dumps(output, ensure_ascii=False, indent=2), file=sys.stderr if record["status"] != "ready" else sys.stdout) return 0 if record["status"] == "ready" else 1