|
|
|
|
|
by nijave
106 days ago
|
|
While very powerful, I think it's worth calling out some pitfuls. A few things we've ran into
- long lived feature flags that are never cleaned up (which usually cause zombie or partially dead code)
- rollout drift where different environments or customers have different flags set and it's difficult to know who actually has the feature
- not flagging all connected functionality (i.e. one API is missing the flag that should have had it) A good decom/cleanup strategy definitely helps |
|
Personally I've also had a lot of success requiring "expiration" dates for all flags, and when passed they emit a highly visible warning metric. You can always just bump it another month to defer it, but people eventually get sick of doing that and clean it up so it'll go away for good. Make it mildly annoying, so the cleanup is an improvement, and it happens pretty automatically.