Hacker
Deshu Goyel
@deshugoyel
Projects
FlagChaos — Combinatorial Flag Fuzzer, Time-Travel Proxy & Self-Healing Auto-Rollback for Self-Hosted Flagsmith OSS
Flagsmith Experimentation HackathonNov 2026
Feature flags are easy to test individually, but N flags create 2^N live states—and hidden multi-flag interaction bugs slip past unit tests straight into production. Worse, when a flag flip causes an outage, reproducing the exact prior flag state or rolling it back takes precious minutes. I built FlagChaos—a zero-dependency, drop-in reverse proxy (:8088) and Control Room UI (/_chaos) for self-hosted Flagsmith OSS that gives any engineering team three capabilities: 1. Combinatorial Chaos Fuzzer (2^N Sweep): Automatically tests every combination of your live Flagsmith flags against your app's endpoints and isolates the exact minimal culprit flag set that causes HTTP 500 crashes before users hit them. 2. Flag Time-Travel Scrubber: Records every Flagsmith FLAG_UPDATED webhook (verified via HMAC-SHA256) onto a versioned timeline so developers can drag a slider to rewind their local app to any past flag state without touching live Flagsmith. 3. Self-Healing Auto-Rollback Guard: Probes the app on flag flips; when a newly enabled flag triggers an HTTP 500 spike, FlagChaos automatically disables that flag in self-hosted Flagsmith via Management API PATCH and logs the incident.