HomePhabricator
Diffusion Comm c2bb76aec775

[services][feature-flags] Determine enabled features set

Description

[services][feature-flags] Determine enabled features set

Summary:
Determine a set of enabled features based on the provided params. The idea is described in https://linear.app/comm/issue/ENG-2614/specify-requirements-of-feature-flags-service but the most important part is that when determining a config we take it from the newest version not younger that the version we check.

Depends on D6857

Test Plan: Called the function and checked if it returns correct value depending on the params. It is though a good idea to have some unit tests for it.

Reviewers: michal, bartek, jon, varun

Reviewed By: bartek

Subscribers: ashoat, atul

Differential Revision: https://phab.comm.dev/D6858

Details

Provenance
tomekAuthored on Feb 22 2023, 2:47 AM
Reviewer
bartek
Differential Revision
D6858: [services][feature-flags] Determine enabled features set
Parents
rCOMMbfc7bdb5917f: [services][feature-flags] Query the db
Branches
Unknown
Tags
Unknown