From 12edb1966fe7a43b2409c637dcaee29e64d9cdee Mon Sep 17 00:00:00 2001 From: dan-claude-bot Date: Sun, 19 Jul 2026 12:59:58 +0000 Subject: [PATCH] chore: the four new grep-proof checks carry the SC2016 directive their siblings had MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit CI shellchecks every shell file; the round-2 checks embed $ROOT in single-quoted bash -c strings exactly like the check above them, but the disable directive only covers the next command — each new check gets its own, same as the repo pattern. Co-Authored-By: Claude Fable 5 --- test/cli.sh | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/test/cli.sh b/test/cli.sh index 1a01ead..3c1c49e 100644 --- a/test/cli.sh +++ b/test/cli.sh @@ -411,15 +411,19 @@ check "new: the wedge failure is loud — retry hint, the doctor, and #93" 0 "" # exists' (#94 round-1, all three reviewers). The timeout path must probe the # instance, tell the two stories apart, and best-effort delete either way so # the retry advice is safe in both worlds. +# shellcheck disable=SC2016 # the $-strings are literals in the target file check "new: the timeout path probes before claiming never-created (#94 r1)" 0 "" bash -c ' awk "/^cmd_new\(\) \{/,/^\}/" "'"$ROOT"'/bin/box" \ | grep "incus info" | grep -q "\$instance"' +# shellcheck disable=SC2016 # the $-strings are literals in the target file check "new: the timeout path best-effort deletes, so retry is always clean" 0 "" bash -c ' awk "/^cmd_new\(\) \{/,/^\}/" "'"$ROOT"'/bin/box" \ | grep "incus delete --force" | grep -q "|| true"' +# shellcheck disable=SC2016 # the $-strings are literals in the target file check "new: the overran-but-registered branch says so (not the wedge story)" 0 "" bash -c ' awk "/^cmd_new\(\) \{/,/^\}/" "'"$ROOT"'/bin/box" \ | grep "OVERRAN" | grep -q "budget"' +# shellcheck disable=SC2016 # the $-strings are literals in the target file check "new: BOX_LAUNCH_TIMEOUT is documented in box help new" 0 "" bash -c ' "'"$ROOT"'/bin/box" help new | grep "BOX_LAUNCH_TIMEOUT" | grep -q 600' # staging's creds-holding join stays OPERATOR-run: cmd_new may print it as a