Skip to content

Make `NotifyFeatureFlagMrDeployment` react to `default_enabled` state

What does this MR do and why?

This improves the current NotifyFeatureFlagMrDeployment processor to post different messages based on the default_enabled state of the feature flag:

  • default_enabled was set to true: the message will incentivize the author to delete the feature flag record in the latest deployed environment
  • default_enabled was set to false: the message will incentivize the author to enable the feature flag in the latest deployed environment

Both messages include the actual chatops command to run.

This will also post the messages in the same discussion, so that the timeline of feature flag state change is grouped in the same thread.

Action items

Edited by Rémy Coutable

Merge request reports

Loading