flagsmith icon indicating copy to clipboard operation
flagsmith copied to clipboard

Segment flag change sends Slack notification for every segment on the flag

Open Jaribeau opened this issue 2 years ago • 1 comments

Changing the flag state of a segment override sends 1 Slack notification for every segment on the flag, whether that segment is impacted by the change or not.

Example: example_feature : off with segment overrides: segment_a : on segment_b : on segment_c : on

Changing the flag state of segment_a override may impact segment_b and segment_c, and so based on the current slack notifications I would expect 3 slack notifications:

Flag state / Remote config value updated for feature example_feature and segment segment_a/b/c Environment: production

However, changing the flag state of segment_b should not impact segment_a, so:

Expected behaviour: 2x notifications. Current behaviour: 3x notifications. (in our use case its ~15 for every change, which makes it harder to get an at-a-glance idea of what was changed).

Not critical, but a nice to have if its an easy change 🙂

Jaribeau avatar Sep 19 '22 15:09 Jaribeau

Thanks! We're working on a big backend overhaul of this entire component which I've added to the Milestone.

dabeeeenster avatar Sep 19 '22 18:09 dabeeeenster

Hey @Jaribeau, this should be resolved for you now.

matthewelwell avatar Mar 06 '23 14:03 matthewelwell