You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
First, temporary flags. These help us ramp traffic onto a feature slowly and safely using targeting rules. This is the main use-case. These flags happen to have an expected end date and we plan to nag people if the flag is still active after that date.
Second, there are "long-lived flags", which are expected to follow a kill-switch use-case. As an example, we have a latency sensitive homepage. If the "recommended products" module is causing us to breach our latency SLAs, we want to toggle the flag and disable that from rendering, so we can get the site back under the latency budget.
Unleash has a nice blog about this. Basically, the type of flag should indicate the life expectancy. That assumes you're able to determine what type of flag it is.
Another key use-case for long-lived flags (one that I'm particularly interested in from a security perspective) is flags that allow swaths of related functionality to be disabled due to a security breach, or as a circuit-breaker during an attack, for instance. Perhaps with a well-defined standard such as OpenFeature, it might even be possible to have security software perform such actions automatically.
@InTheCloudDan is temporary and permanent flags only used for UI purposes? I'm assuming it's used to highlight potentially stale flags that should be removed.
@justinabrahms I think this is a good discussion to have on record, and based on the info here, it seems like we can think of this as a "backend" concern that doesn't necessarily need to be defined in the OpenFeature spec or modeled in the SDK itself.
That said, I'm going to close this issue in the interest of keeping things tidy, but feel free to re-open if you disagree!
Activity
justinabrahms commentedon Mar 25, 2022
cc #27 where this was originally brought up.
beeme1mr commentedon Mar 25, 2022
Unleash has a nice blog about this. Basically, the type of flag should indicate the life expectancy. That assumes you're able to determine what type of flag it is.
toddbaert commentedon Mar 28, 2022
Cloudbees Feature Management shows some interesting flag states related to this (see "stale"/"inactive"):
https://docs.cloudbees.com/docs/cloudbees-feature-management/latest/feature-flags/environments#_feature_flag_status
Another key use-case for long-lived flags (one that I'm particularly interested in from a security perspective) is flags that allow swaths of related functionality to be disabled due to a security breach, or as a circuit-breaker during an attack, for instance. Perhaps with a well-defined standard such as OpenFeature, it might even be possible to have security software perform such actions automatically.
InTheCloudDan commentedon Mar 31, 2022
LaunchDarkly has support for multiple types of flag statuses as outlined at: https://docs.launchdarkly.com/home/code/flag-status
In addition we do have the concept of
temporaryvspermanentflags. And from the API(What we call the SDK) standpoint those are the samebeeme1mr commentedon Mar 31, 2022
@InTheCloudDan is
temporaryandpermanentflags only used for UI purposes? I'm assuming it's used to highlight potentially stale flags that should be removed.InTheCloudDan commentedon Mar 31, 2022
@beeme1mr exactly, it does not have any impact on evaluation of the flags.
toddbaert commentedon Apr 5, 2022
@justinabrahms I think this is a good discussion to have on record, and based on the info here, it seems like we can think of this as a "backend" concern that doesn't necessarily need to be defined in the OpenFeature spec or modeled in the SDK itself.
That said, I'm going to close this issue in the interest of keeping things tidy, but feel free to re-open if you disagree!
chore: resolve open dependabot security alerts (#395)