Bash scripts often begin as glue and become deployment systems. Unquoted variables, missing `pipefail`, non-idempotent operations, and ambiguous globbing can turn a normal release into a partial production change with a green CI status.
Without following this practice, teams typically discover the problem during a production incident. The cost of fixing issues reactively is 10-100x higher than preventing them proactively. This becomes especially dangerous at scale when multiple teams depend on the same infrastructure, because one team's shortcut becomes another team's outage. Organizations that skip this practice often find themselves in a cycle of firefighting instead of building. The pattern is predictable: it works fine in development, survives staging, and fails spectacularly in production under real traffic and real failure conditions.