← The field guide

SPECIMEN No. 013 · Release practice

Feature Flags

A conditional that separates deploying code from releasing it, and eventually from understanding it.

📈 Proliferating
🏠 Habitat
Main branch, indefinitely
🦈 Natural predator
Flag cleanup
🤒 Common symptom
Which flag is on in prod?

✅ GOOD FIT

  • Separating deploy from release on a busy main branch
  • Running small experiments that must be undoable
  • Rolling agent-written changes out to 10% first

🚩 TOO FAR

  • Nobody knows which of 47 flags is on in prod
  • Support cannot reproduce what the customer actually sees
  • Every flag doubles the states someone must test

🎯 SWEET SPOT

Super Reasonable

Use flags freely for rollouts and experiments, but give each one an owner and an expiry date when it is created. Delete it within a sprint of full rollout, and keep long-lived toggles in separate, documented config.

IN THE WILD · 1 STORY · 2 TAKES

Observed Feature Flags