Skip to content

Warn user of feature flags risks

Dominic Couture requested to merge dcouture-warn-flag-enable into master

What does this MR do and why?

It adds a warning in the rails console when a user enables a feature flag and links to our documentation.

Feature flags carry a certain level of risk (we don't backport security fixes to features behind feature flags that are disabled by default for example) and we want to make it clearer to users to might not be aware of our documentation.

Related to #366384 (closed)

Screenshots or screen recordings

image

How to set up and validate locally

  1. Hop in the rails console with rails c
  2. Feature.enable(:my_flag)

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 Dominic Couture

Merge request reports

Loading