Product engineering

How do you retire a feature flag or remote config value without crashing every client at once?

Retire a feature flag in phases, and make every client fall back to its last-known-good config instead of crashing.

1 min readDEV GroupEnterprise product teams · Operations

What went wrong

Retire it in phases, and make every client fall back to its last-known-good config instead of crashing. A public postmortem from October 2026 shows the alternative. A mobile analytics SDK vendor removed a stale remote config flag in a two-line cleanup. The client SDK already shipped inside apps still referenced it and did not validate the payload, so every app that fetched the new config crashed once on launch. The config system was also the global kill switch, so the change reached every client at once. Tests passed. Status dashboards tracked server health only and stayed green. The bad config was served for about two hours and eleven minutes before rollback to the last-known-safe version, and crash reports lagged because they upload on the next launch.

Config is a contract

Config is a contract with every client version still in the field. The server sees a key it can remove; an old client sees a key it requires. Validate every payload on the client, and keep the cached last-known-good config when one fails.

Retire a flag in phases

Retire a flag in three steps: stop reading it in a client release, wait for old versions to age out, then delete the key. Add a CI check that blocks removing a key still referenced in code. Roll config out by percentage, in phases, and halt on client crash rate, not just server health. Put client signals, such as crash-free sessions, on the same dashboard as the servers. Keep a tested, one-step rollback to the last-known-safe config. Flag lifecycle, config validation, and rollout gates are software work, and that is where we fit.

Sources

  • Public postmortem of a remote-config flag removal. Public postmortem. October 2026.

Was this useful?

Get in touch

Seeing one of these in your system?

Describe what exists today and where it breaks. We will come back with a technical point of view and a scoped first step.