From 5fdfd4f8438d50bccd45c2c08061c0e0922df141 Mon Sep 17 00:00:00 2001 From: Niek Otten Date: Tue, 21 Jul 2026 15:37:29 +0200 Subject: [PATCH] fix(verify): attach stdin (-i) so the zaak-status read-back runs (refs #106) MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit The cancellation reaches OpenZaak correctly (Geannuleerd status_created), but the verify read-back ran 'docker run python:3-slim python -' without -i, so the heredoc never reached the container's stdin and the script was empty — the check always saw an empty status. Add -i so the read actually queries OpenZaak. Co-Authored-By: Claude Opus 4.8 (1M context) --- infra/run-domain-check.sh | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/infra/run-domain-check.sh b/infra/run-domain-check.sh index 4455ba3..3c360d6 100755 --- a/infra/run-domain-check.sh +++ b/infra/run-domain-check.sh @@ -364,7 +364,8 @@ zaak_url_v="$(printf '%s' "$body" | grep -oiE 'http://[^"]*/zaken/api/v1/zaken/[ echo ">> confirming the zaak $zaak_url_v reached the Geannuleerd status in OpenZaak" read_zaak_status() { - docker run --rm --network "$net" \ + # -i so the heredoc reaches `python -` on the container's stdin (without it the script is empty). + docker run --rm -i --network "$net" \ -e OZ_CLIENT_ID="${OZ_CLIENT_ID:-big-reference-seed}" \ -e OZ_SECRET="${OZ_SECRET:-insecure-dev-secret-change-me}" \ python:3-slim python - "$1" <<'PY'