fix(rustfs-mirror): the minio/mc image has no grep, so count in the shell #486
Loading…
Reference in a new issue
No description provided.
Delete branch "sean/mirror-no-grep"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
The diff gate counted with grep -c and the minio/mc image has no grep, sed or awk. The command substitution yielded an empty string instead of a number, set -eu could not catch it because the failure was inside $(... || true), and the Job ran all five passes reporting blanks where the counts belong. Counting is now case and arithmetic in a read loop -- no binary to be missing -- and the guard refuses any of the seven absent tools. Five controls, each confirmed red. https://claude.ai/code/session_01KZoQin34jeyt6nDGqvJA76