Flagsmith outage, 16 June 2023
Environment based integrations not working for Edge API
- Started
- Resolved
- 16 Jun 2023, 18:13 UTC (after 33 min)
- Impact
- Minor
- Affected
- Edge API
Is this still happening?
No. Flagsmith marked this incident resolved on 16 Jun 2023, 18:13 UTC, 33 min after it began.
Right now: Flagsmith reports all systems operational. (as of 1 Dec, 21:50 UTC) Live Flagsmith status
At a glance
- Flagsmith rated this a minor incident.
- It was resolved after 33 min. That is shorter than a typical Flagsmith incident: the median of the 18 other resolved ones we recorded is 1 h 27 min.
- It was the first Flagsmith incident in 30 days.
- 5 earlier incidents look like the same kind of problem (same affected part or wording); the most recent was on 22 Jan 2026.
Our summary from the Flagsmith incidents we have recorded since 27 Feb 2023 - how we count.
What caused it: Flagsmith's root cause analysis
On June 7th at 10:33 UTC we released a change to our Edge API as part of [this issue](https://github.com/Flagsmith/flagsmith/issues/430) that filters out server-side only features when a client API key is used. These changes also affected the logic responsible for triggering environment-level integrations, causing them to fail. **Which integrations were affected?** * Mixpanel * Segment * Heap * Webhooks * Amplitude On June 15th at 22:25 UTC we were notified by a customer that they were not seeing data populated from their integration. First thing on June 16th the engineering team began investigating the issue. The team immediately identified that the change described above had changed the signature of a function that was also used by the integrations logic. Unfortunately, this change had not been picked up by our tests or code review, and the subsequent errors were not picked up by our monitoring. **Why didn’t our tests pick this up?** The unit tests covering the integrations logic utilised mocking, meaning that the change to the method signature was not correctly identified as an issue and our end to end test suite did not include the verification of successful integrations. **Why didn’t our monitoring pick this up?** The monitoring in place to track the error rate on the function responsible was using an incorrect aggregation algorithm meaning that the threshold for alert was never breached. At 18:03 UTC on June 16th a fix was released and service was resumed to all environment-based identity integrations \(listed above\). Unfortunately, due to the implementation of the asynchronous call to the lambda function that handles the integrations, it is not possible to recover the data that was lost during this period. ### What are we doing to prevent this from happening in the future * Improving our unit tests to rely less on mocks and, where they do rely on mocks, ensuring they utilise `spec` correctly \(see unittest documentation [here](https://docs.python.org/3/library/unittest.mock.html) for further reading\) * Extending our E2E testing suite on the Edge API to include tests for all integrations. * Alerting & monitoring: * Immediately this morning, we are changing our alerting to use the correct aggregation algorithm * In the near future, we will be improving these alerts to use percentiles and anomaly detection to ensure that errors are picked up quicker and are more accurate * Introducing Sentry to better track error logs that are...
Last update from Flagsmith
On June 7th at 10:33 UTC we released a change to our Edge API as part of [this issue](https://github.com/Flagsmith/flagsmith/issues/430) that filters out server-side only features when a client API key is used. These changes also affected the logic responsible for triggering environment-level integrations, causing them to fail. **Which integrations were affected?** * Mixpanel * Segment * Heap * Webhooks * Amplitude On June 15th at 22:25 UTC we were notified by a customer that they were not seeing data populated from their integration. First thing on June 16th the engineering team began investigating the issue. The team immediately identified that the change described above had changed the...
Read the full incident on the official Flagsmith status page
Similar Flagsmith incidents
Earlier incidents with the same affected part or wording - useful to see how long this kind of problem usually takes.
-
, resolved after 1 h 44 min
-
, resolved after 2 days
Small number of intermittent requests to Edge API failingPostmortem
-
, resolved after 1 h 9 min
Increased error rates on the Edge APIPostmortem
-
, resolved after 1 h
-
, resolved after 29 min
Other recent Flagsmith incidents
Something wrong on this page?
Thanks - your report is on its way to us. We read every one.