Bash Pipes and how failures do (not) cascade: rachelbythebay - and remember set -o pipefail (and of cause -eu, too). But be aware, that this is not bullet prove.
a quite useful list of what can go wrong with caches, migrations and lessons learned by danluu - and why it is important for components form systems of scale to handle backpressure correct. A more easy to read alternative with focus on queues
unexpected side effects are explained at HashiTalks2022 at the talk “Engineering the Ability to Destroy Non-Production with Terraform” and how to handle them with Gitflow and GitOps (recording will be released soon (tm))
On finding the average of two unsigned integers without overflow on Microsoft DevBlogs
Update: “Endlich Bug-Frei mit formaler Verifikation” talk at Chemnitzer Linux Tage 2022