From e2d49aface3477d7bb225e2e501ab2d2589203bc Mon Sep 17 00:00:00 2001 From: "Mos (Hermes)" Date: Wed, 13 May 2026 18:30:52 -0500 Subject: [PATCH] fix(tools/git/pr-ci-wait): stdin collision in python3 - < --- .../mosaic/framework/tools/git/pr-ci-wait.sh | 19 +++++++++++++++---- 1 file changed, 15 insertions(+), 4 deletions(-) diff --git a/packages/mosaic/framework/tools/git/pr-ci-wait.sh b/packages/mosaic/framework/tools/git/pr-ci-wait.sh index 4844a21..5277bc6 100755 --- a/packages/mosaic/framework/tools/git/pr-ci-wait.sh +++ b/packages/mosaic/framework/tools/git/pr-ci-wait.sh @@ -30,12 +30,19 @@ EOF # get_remote_host and get_gitea_token are provided by detect-platform.sh extract_state_from_status_json() { - python3 - <<'PY' + # Capture piped JSON BEFORE invoking `python3 - <