Skip to content

Read default flag values from files

Mark Lapierre requested to merge ml-read-default-flag-values-from-files into master

What does this MR do and why?

Lets us properly use feature flags when a flag has a default value defined in a feature flag definition file but doesn't have a record in the database yet because the flag hasn't been toggled.

  • Reads default flag values from definition files during tests if the API doesn't return a value.
  • Adds an e2e sanity test that checks if the definition fails can be read.

A job to run the new sanity test will be added in gitlab-org/quality/pipeline-common!191 (merged)

Closes #362182 (closed)

Tasks

MR acceptance checklist

This checklist encourages us to confirm any changes have been analyzed to reduce risks in quality, performance, reliability, security, and maintainability.

Edited by Mark Lapierre

Merge request reports

Loading