Remove stale LaunchDarkly flags with Azure DevOps pipelines
The same scheduled cleanup on Azure Pipelines: a variable group for the secrets, a weekly run, and an Azure Repos pull request per flag.
Practical write-ups on retiring feature flags: the manual procedure, and how to automate it.
The same scheduled cleanup on Azure Pipelines: a variable group for the secrets, a weekly run, and an Azure Repos pull request per flag.
Ask LaunchDarkly which flags have been ON for weeks and aren’t permanent, let an agent remove each one from the code, and get a pull request per flag.
Confirm it’s ON, take a baseline, find every reference, keep the ON path, delete the dead code and OFF-path tests, then verify.