AntiPattern
Command Exit Semantics Trap
exit-status-misinterpretation-set-e
Shell step configuration and command exit codes get misinterpreted, so pipelines fail or succeed based on “match/no match” rather than the intended meaning, breaking CI logic and deployments when tools like grep and git diff are used under set -e.