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 "Feature flags" list with flag status indicators called out.
The various flag statuses are explained below:
Status type
Name
Definition
New
This flag is new and has not been requested yet.
Active
LaunchDarkly is receiving requests for this flag.
Launched
The launched icon appears when all users have been receiving one variation of this flag, with no configuration changes, for seven days. 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.
Inactive
This flag has not been requested for seven days. You may be able to remove this flag from your code.