Skip to content

IgnoreMissingFeatureFilters should not be false by default #248

Description

@Rutix

Hi,

I was wondering why IgnoreMissingFeatureFilters is by default false? This is super dangerous when you have multiple services and can lead to significant production problems. We have the following situation:

  • We use Azure App Configuration Feature Manager to manage the whole load of feature toggles.
  • All services connect to that Azure App Configuration
  • We have configured in all our services that the feature toggles are refreshed
  • In most services we had the following configured: services.AddFeatureManagement();
  • Someone on production saw the "Microsoft.TimeWindow" feature filter and thought: "Hey that's handy!" and configured it. This caused all services to fail and throw exceptions which caused production outages.

Apart from that we should have tested this in a development environment, it is my opinion that "forgotten configuration" should never break an application. Especially since this can be a full sneaky mode and be caused by someone else.

I found #13 where this is discussed but I think the perspective of the default isn't discussed very well there.

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions