Prune feature flags
Remove a fully-rolled-out flag: inline its enabled branch, delete its definition, and clean its config entries (rollout rules, overrides, and so on).
Steps
Grepfor the flag name and list every reference before touching any of them.- Inline the enabled branch at each call site and delete the disabled branch.
- Delete the flag's definition and its config entries.
- Run the test suite. If the pre-commit hook rejects the commit, commit with
--no-verifyand note it in the report. - Report every file you changed.