Flagsmith / Flagsmith/flagsmith

Slack integration drops segment create/update/delete events

Open
#8,223 0 comments 0 reactions 0 assignees View on GitHub
Dominant language
Python
Stars
6.6k
Forks
567
Avg merge
1d 13h
Merged PRs (30d)
121

Description

## Summary
The Grafana integration posts annotations for segment create/update/delete events. The Slack integration sends nothing for the same events. Feature flag changes and segment overrides on a feature do reach Slack. We need to add standalone segment changes.

## Steps to reproduce
1. Configure both the Grafana and Slack integrations on the same project, with the Slack config mapped to an environment.
2. Create, update, or delete a segment.
3. Compare the two integrations.

**Observed:** Grafana receives an annotation for the segment change. Slack receives nothing. A feature toggle and a segment override on a feature both post to Slack.

**Expected:** Segment create/update/delete events post to the configured Slack channel, matching Grafana.

## Related issues (not duplicates)
- **#7983** Slack doesn't notify on identity flag overrides.
- **#4090** Add links to the audit log and entities in Slack messages.

Contributor guide

Open the contributing guide

Research direction

Start by locating the Slack and Grafana integration event handlers and compare how segment create, update, and delete events are routed. Reproduce the issue with both integrations configured, then verify that each standalone segment change produces a Slack message in the configured channel.

Written by the indexing model from the issue text.

Assessment

Tech stack
python
Domain
backend
Issue type
Bug
Difficulty
3/5
Estimated time
1-2 days
Activity status
Quiet
Clarity
Mostly clear
Newbie friendliness
62/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.