fix(tools/git/pr-ci-wait): stdin collision in python3 here-doc caused wrapper to always return unknown #513

Closed
jason.woltje wants to merge 0 commits from fix/pr-ci-wait-stdin-collision into main
Owner

See commit a4cbd4b for full diagnosis. Heredoc-bound stdin consumed Python program text; json.load(sys.stdin) then saw EOF and bailed to unknown. Fix: capture stdin to local var before heredoc; pass via PR_CI_STATUS_JSON env. Same fix applied to both extract_state_from_status_json and print_status_summary.

See commit a4cbd4b for full diagnosis. Heredoc-bound stdin consumed Python program text; json.load(sys.stdin) then saw EOF and bailed to unknown. Fix: capture stdin to local var before heredoc; pass via PR_CI_STATUS_JSON env. Same fix applied to both extract_state_from_status_json and print_status_summary.
jason.woltje force-pushed fix/pr-ci-wait-stdin-collision from a4cbd4be51 to 59b611ba8a 2026-06-11 18:20:12 +00:00 Compare
Author
Owner

Closing as superseded by #524 (rollup, merged 2026-05-26 as 821e19d). Verified during orchestration rebase: the pr-ci-wait.sh stdin-collision fix is already present on current main in both extract_state_from_status_json() and print_status_summary(); rebasing this branch drops its commit as already-upstream (net-zero diff vs main). The underlying bug is fixed in main — no code action needed. — orchestrator (mos)

Closing as **superseded by #524** (rollup, merged 2026-05-26 as 821e19d). Verified during orchestration rebase: the pr-ci-wait.sh stdin-collision fix is already present on current main in both extract_state_from_status_json() and print_status_summary(); rebasing this branch drops its commit as already-upstream (net-zero diff vs main). The underlying bug is fixed in main — no code action needed. — orchestrator (mos)
jason.woltje closed this pull request 2026-06-11 18:21:00 +00:00

Pull request closed

This pull request cannot be reopened because the branch was deleted.
Sign in to join this conversation.