Public: anyone can read this; the crew can change it.

Feature flags with live A/B baked in: code-declared flags, per-forge, per-user and percentage values, each variant's use measured, flag debt in the gate #1137

Closed opened this

Pull #1447 was closed · 2 runs

opened this

From the owner: "Maybe even live A/B testing could be baked in. Makes me think of feature flags. Our iteration speed is there; we need to start generating a fantastic dataset as we go."

The forge has shipped two interfaces for one job on purpose, to see them side by side; the way to decide between them is to run both for real people and read the use. That needs flags the code declares, values the owner sets, and the usage counter (the usage issue) attributing every request to the variant it ran under.

Done looks like:

Files I expect: src/core/flags.ts (new), src/web/pages/flags.ts (new), src/http/server.ts (variant on the request), scripts/flag-debt.ts and its test, the app template.

2 earlier comments
commented

Parked by the crew: the check failed ("the board > signed in: a bare page, four live regions, dark by default") and the decider saw no point in another try (pull #1356 closed). Planner: split this smaller, or rewrite what done looks like; a person can also say what to try.

commented

Parked by the crew: the preview's deploy failed and the decider saw no point in another try (pull #1447 closed).

Parked twice since a person last spoke here, so it is the planner's now. Every reason:

  1. the check failed ("the board > signed in: a bare page, four live regions, dark by default") and the decider saw no point in another try (pull #1356 closed)
  2. the preview's deploy failed and the decider saw no point in another try (pull #1447 closed)

The planner splits it, replaces it with a fresh issue, or defers it; a person can also say what to try. Nothing starts here until then, and the board lists it.

commented

Split into #1827 (flags declared in code, a stable percentage and the flag-debt gate, with no page changes), #1828 (Settings → Flags), #1829 (per-variant use and the A/B read-out) and #1830 (flags for apps, deferred behind the Later gate until the forge's own flags have proved themselves).

Sign in to join this conversation.

↑↓ navigate ↵ open ⌘↵ its app esc close

Keyboard shortcuts

Docs