
Hacker
vinayaksonthalia
@vinayaksonthalia
Elsewhere
Flagsmith Release Reviewer
Flagsmith Experimentation HackathonNov 2026
We built Flagsmith Release Reviewer for engineers and release operators who need to understand the impact of a feature flag change before approving it. A configuration can be valid and still produce the wrong outcome. In our checkout example, a customer belongs to both a rollout pilot and a protected holdback. If the pilot override has higher precedence, checkout would turn on for that customer even though the release policy says it should stay off. The reviewer starts with a rollout contract. Its read-only draft command finds the flag and segments by name and returns their IDs and current priorities. The operator fills in the proposed override and the expected outcome for each synthetic persona. The reviewer reads the current state through the official Flagsmith CLI and evaluates the proposal with the pinned Flagsmith engine in an isolated container. It reports what changes, which overrides stay in place, and the current, projected, and expected flag state and value for each persona. Engineers can use the CLI directly or give an agent read-only access through our local MCP server. If a projected outcome violates the release policy, the reviewer returns a hold with the affected personas. For a corrected plan, it provides a digest for human review. In the disposable lab, a separate controller rechecks the approved plan, applies the scoped change, and verifies the result through the Flagsmith API and live SDK. We verified the workflow on checkout, pricing, and invoice-export cases, including a three-segment conflict. The current implementation targets a pinned self-hosted Flagsmith release and restricts apply to an explicitly designated local lab. We used AI tools, including Codex, Google Antigravity, and Claude, to assist with research, design critique, implementation, testing, and documentation. We also used AI-generated narration in the demo. The reported product behavior and measurements come from executed tests, SDK checks, and recorded runs.
vinayaksonthalia
MergetoberOct 2026
ReplayGuard — Keep the failure. Test the repair.
First CommitSep 2026
https://builder.aws.com/content/3JaGth221CS1nTh1CbbjKd8gt4b/the-retry-fix-that-rejected-the-next-order-a-lambda-and-sqs-failure-lab
SudoByte@sudoanshul
Brace — the crash-test lab for Postgres migrations
The Zerops ChallengeAug 2026
Brace — a crash-test lab for Postgres migrations, built on one contrarian point: every migration tool tells you a migration TAKES a lock — none tell you WHO it kills. Staging has no traffic, so every migration looks instant there; the outage only shows up in production, inside a lock you can't see, as writes that quietly die waiting. So Brace makes the body count a first-class output. What it does: you paste a migration; Brace clones your database at production scale (a real 10-million-row Postgres twin), fills it with live labelled write traffic (checkouts, logins, cart-adds), runs the migration into that crowd, and counts the writes it kills — real 55P03 lock-timeout errors, measured two independent ways (write-rate collapse and pg_locks, which have to agree). A plain CREATE INDEX freezes every write for ~28 seconds and kills 432 user actions; add one word, CONCURRENTLY, and it's 0.00s blocked, nobody dead. (The exact freeze varies with load; the verdict doesn't.) The part I'm proudest of is the verdict that admits defeat. Brace ships four verdicts — SAFE, UNSAFE, ERRORED, INCONCLUSIVE — and one invariant every feature preserves: it never returns SAFE without a real measurement, or an explicit, labelled confession of what it didn't test. A metadata-only ADD COLUMN that only looks safe because nothing was holding the table carries an "acquisition_not_simulated" qualifier; a migration that never acquires its lock under load returns INCONCLUSIVE, not a guessed green light; a ×200 scale projection is flagged "modeled_beyond_measurement". I attacked it across ~30 adversarial runs and it never once said "safe" about something that wasn't — a false SAFE is worse than no tool, because it's one that gets you paged with your guard down. Beyond the hero: hostile mode (holds a competing transaction so a fast DDL's lock-acquisition freeze is measured, not assumed), multi-statement sequences (per-statement plus worst-of verdict on one twin), bring-your-own-schema (hosted, synthetic) and bring-your-own-data (self-host, data never leaves your infra), a scale projection onto your real row count, a CI/deploy-gate CLI (brace-check, exit-code friendly), least-privilege roles as the actual security boundary (brace_migrator / brace_traffic, both NOSUPERUSER), a plain-English teach layer with a safe rewrite for every warning, and a hosted remote MCP server so any coding agent (Claude Code, Cursor) gates its own migrations by URL before it ships them. How I used Zerops: Zerops is the deploy-and-runtime platform the whole thing stands on — and the one fact that makes Brace possible is that Zerops hands you a real Postgres you OWN (an actual `postgres` superuser via service env vars). Cloning a database on every run with CREATE DATABASE ... TEMPLATE and reading pg_locks directly needs a true superuser that managed Postgres (RDS-class) restricts. Brace is four services from one import.yml on a private network — web (static dashboard), api (the Go engine), mcp (the hosted Model Context Protocol endpoint), and db (PostgreSQL 16 on dedicated vCPU); the superuser DSN never leaves the private network, which IS the security model. I measured the platform instead of trusting its docs: timing a clone of the 894 MB template on Zerops hardware took 1 minute 21 seconds, which killed my clone-on-demand design and made a warm-twin pool mandatory core architecture — cloning happens in a background worker, never in the request path. The dedicated vCPU on db is the one deliberate spend, so CONCURRENTLY's heap scans don't starve the load and the "safe" run stays flat. I even probed the L7 balancer to confirm it wouldn't buffer the live SSE pulse (X-Accel-Buffering: no, respected). It's Postgres-native and self-hostable, not lock-in: one import.yml anyone can run, and BRACE_SEED=off points it at a restored production dump so your data never leaves your infrastructure — for a couple of dollars a day. AI note: I used Claude Code heavily as a pair programmer for the build and to help edit this writeup. Every measurement, every bug, and the final call on every design decision and every word is mine — and every number here came off real Zerops hardware. Blog post: https://vinayaksonthalia.medium.com/your-migration-passed-staging-here-are-the-240-writes-it-would-have-killed-in-production-770849197116