Filters
How to search
  • Plain words find names, texts and examples.
  • "two words" finds the exact phrase.
  • --name or -x finds an option.
  • #word looks only inside commands.
  • @grep finds lessons and labs that use grep.
  • Filters: cat:network · in:labs · in:notes · level:rhcsa · ch:8 · root:yes. Put ! before a word to leave it out. OR between words means one of them.
  • ↑ ↓ to move · Enter to open · Esc to close · / to search

Automation & toolingMixed 22 series

Five signs your automation is fragile

Fragile automation rarely looks fragile on the day it is written. It looks fast.

Quick reference

  1. It runs from one laptop, one shell, one person's memory.
  2. A second run makes the state worse, not the same.
  3. The first sign of failure is a customer message.
  4. Secrets live in the script, the repo, or a pinned message.
  5. Nobody can say what it touched, or how to undo it.

Explained

It runs from one laptop. The shell history is the documentation, the environment is the config, and the person who wrote it is the scheduler. The first holiday is an outage.

A second run makes it worse. The script appends instead of replacing and creates instead of updating, so the only safe path is a fresh account. That is a data-loss bug waiting for a retry.

The first sign of failure is a customer. No alert fires because nobody defined what success looks like, so the first report is a support ticket.

Secrets live in the script. A token in a repo, a password in a unit file, a key pasted into chat: each one is a rotation you cannot perform and a leak you cannot scope.

Nobody can say what it touched. No lock, no run id, no list of changes. Undo becomes an investigation.

The honest caveat: a fragile script that runs once a year can be cheaper than the platform you would build to replace it. Fix the ones on a schedule.

The lesson: fragility is a property of the owner, not of the language.

Your turn: Which of the five would your last incident match?

More notes: Automation & tooling

Open in the notes app: search, filters, copy This note on GitHub