Hacker
Vadim Sh
@mars
Projects
FlagFuzz
Flagsmith Experimentation HackathonNov 2026
FlagFuzz finds the feature-flag combinations that break your app, on a live self-hosted Flagsmith. Problem: every flag is tested on and off, but almost nobody tests flags together. Ten flags have 1,024 possible states, and the bug usually hides in one specific pair. In the demo, the new cart works, express checkout works, and turning both on takes payments down with an HTTP 500, while the whole test suite stays green in the default state. Who would use it: teams that run Flagsmith and already have a test suite, before they roll out a flag or as a check in CI. How it works: FlagFuzz reads the project's flags from Flagsmith through the Admin API, so there is no flag list to maintain. It takes the flag states of the Production environment as a baseline, creates an isolated FlagFuzz environment, and flips flags there: each flag alone, then every pair. Before each test run it waits until the SDK API serves the new states, then runs the app's own test suite. A test that fails only in a pair run, and not in the baseline or for either flag alone, is reported as a flag interaction. The dashboard shows a heat matrix that names the exact pair, and a CLI mode fails the build in CI. Production is only read, never changed, and the fuzz environment is restored after each run. One command (docker compose up) starts self-hosted Flagsmith, a demo shop that reads its flags with the Flagsmith Python SDK, and FlagFuzz. Limitations: it only fuzzes on/off states, tests pairs rather than triples, and is only as good as the tests it runs.