Skip to content

Should we continue use of the FEATURES dict in edx-platform? #33026

@robrap

Description

@robrap

Ultimately this should result in an ADR and/or a DEPR, but I'm first creating an issue to initiate discussion on the topic.

Background, I've heard in the past that we should stop using the FEATURES dict, but I do not know all the reasons or the recommended alternative. As new settings are added, it would be great if there was clarity around this.

The following ADR on managing django settings mentions FEATURES, but it does not take any stance on this topic.

Open questions:

  • Is there any important reason to stop using this dict, or is this just an unnecessary distraction?
  • Is there really a problem using the dict, or have we resolved this by enabling overrides for individual settings in this special case dict?
  • Should new settings be flattened as FEATURE_XXX?
  • Is having feature flags in and outside this dict a consistency problem that we want to correct? Do we already have this problem?

If anyone with history on this topic could shed some additional light, that would be great.

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