All glossary terms
Cross-cutting

Feature flag

A feature flag is a runtime toggle that gates whether a code path is active. Flags decouple deployment (ship the code dark) from release (turn the flag on for some/all users) and enable instant rollback without redeploying.

Feature flag platforms (LaunchDarkly, Statsig, GrowthBook, in-house) typically support: kill switches (instant disable on incident), percentage rollouts (canary the feature), targeting rules (enable for specific users/teams/regions), and experimentation (A/B test variants). Anti-patterns: flag accumulation (flags that should have been cleaned up months ago becoming permanent code complexity), and using flags for permissions logic (use a proper authz system).

Related terms