From d604abd074f2b8e97d540db3e17a088d1eead708 Mon Sep 17 00:00:00 2001 From: cndgrr <59120057+cndgrr@users.noreply.github.com> Date: Mon, 3 Aug 2026 20:44:09 +0000 Subject: [PATCH] test(issueflow): spell a healthy blocked+attention issue as no diagnostic MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit #263 landed on main after this branch's head and asserts that a healthy assigned attention under blocked posts nothing at all. The #252 echo makes every blocked issue carry one comment — its parse — so the proxy is false while the contract behind it is not: probe 66 draws the parse echo and no attention diagnostic. Re-spelled the way the same section's other cases already spell it, as the absence of the attention-malformed marker, plus a companion assertion that exactly one comment landed. That is strictly tighter than test -f was: this case now fails if an attention comment appears beside the echo, which the old form could not detect once any comment existed. Refs #252 --- test/issueflow-reconcile.test.sh | 10 +++++++++- 1 file changed, 9 insertions(+), 1 deletion(-) diff --git a/test/issueflow-reconcile.test.sh b/test/issueflow-reconcile.test.sh index ae82aa3..ea43e9c 100644 --- a/test/issueflow-reconcile.test.sh +++ b/test/issueflow-reconcile.test.sh @@ -506,7 +506,15 @@ issue_probe 65 $'claimed\nattention' 1 true >/dev/null check "assigned attention under claimed is healthy" 1 "" test -f "$TMP/posted-65" attention_episode 66 "$(iso_at $((INOW - 60)))" issue_probe 66 $'blocked\nattention' 1 false "" 'Blocked by #999' >/dev/null -check "assigned attention under blocked is healthy" 1 "" test -f "$TMP/posted-66" +# A `blocked` issue now always carries one comment — the parse echo (#252) — +# so "healthy" can no longer be spelled "no comment file at all". It is spelled +# the way this section's other cases already spell it: no attention diagnostic. +# Both halves are pinned, so the case still fails if an attention comment +# appears beside the echo, or if a second comment of any kind does. +check "assigned attention under blocked is healthy" 1 "" \ + grep -qF '