This topic explains what the different flag statuses are, and how to view them in the LaunchDarkly user interface (UI).
Using the flag status indicator
The flag status indicator lets you view when a flag is active or inactive. It's important to understand flag statuses so you know which flags are safe to remove from your code.
Every feature flag has a status that reflects the state of a flag in each environment.
For example, if the flag is listed as "Active" in your Production environment, LaunchDarkly is currently receiving requests for that flag using your Production SDK key.
Here is a screenshot of flag status indicators on the Feature flags list:
The various flag statuses are explained below:
You created the flag fewer than seven days ago and it has never been requested.
LaunchDarkly is receiving requests for this flag.
The launched icon appears when all context instances have been receiving one variation of this flag, with no configuration changes, for seven days or more. This includes the off variation. This is calculated by tracking flag evaluations and configuration changes over a seven-day period. For example, if a flag is evaluated and returns the same variation each time to everyone who evaluates it in a seven-day period, and no configuration changes are made to the flag during that period, its status changes to "launched." You may be able to remove this flag from your code.
The flag has not been requested for at least seven days. You may be able to remove this flag from your code.