News for hackers. Stuff that matters.
Re:Deployments Not Releases – Get Good at Delivering Software by re-thc on Monday March 27, 2023 @07:51AM (#35325482)
Yes, I've seen not-so-big product with 100s of feature flags. It's impossible to test for. Just have to hope for the best. No 1 can keep track of them or know what are any more.

To make matters worse it can be dynamically enabled based on cookies / headers per customer.

Re:Deployments Not Releases – Get Good at Delivering Software by dboreham on Monday March 27, 2023 @09:27AM (#35326427)
They should be removed after the feature is deployed and stable. Some folks have a CI task that checks for stale FF and alerts.
Re:Deployments Not Releases – Get Good at Delivering Software by re-thc on Monday March 27, 2023 @09:46AM (#35326623)
Should is the headline of every incident report :)
Re:Deployments Not Releases – Get Good at Delivering Software by dgb23 on Monday March 27, 2023 @09:38AM (#35326551)
There are two similar things that can easily be conflated as they have some overlap, or can at least be used interchangeably in some cases.

For one we have feature flags, which should be used to disable features for certain environments, possibly AB testing and so on. You use those to reduce risk and friction in an ad-hoc fashion. They are meant to be simple booleans in code and short lived.

Then we have feature scope, registration, authorization etc. which can be more wide reaching. They should be part of the data model and treated like everything else that is data driven.

When we conflate the two, we get into trouble like you describe.

Re:Deployments Not Releases – Get Good at Delivering Software by carlmr on Monday March 27, 2023 @11:33AM (#35328030)
>They are meant to be simple booleans in code and short lived.

Simple? One "simple" boolean often doubles the number of code paths. 10 simple booleans can easily 1024x the number of code paths.

Short lived? There's nothing as permanent as a temporary measure.