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.
- Related: stopping breaking API changes before they reach clients
- Related: running a schema migration without taking production down
- How we work: scope, prototype, ship, run
- Shipping config to clients you cannot update overnight? Start a conversation
Sources
- Public postmortem of a remote-config flag removal. Public postmortem. October 2026.
Was this useful?
Related notes
Product engineering4 min read
How do you stop a mobile update after some phones already installed it?
Google halted Authenticator 5.2.2 after it crashed on iOS 27. Pause the rollout, and ship the fix as a new version phones can install.
- Rollouts
- Resilience
- Monitoring
Payments3 min read
What should checkout do when one payment method fails and the processor is still up?
Stripe and Mollie reported Apple Pay, MobilePay, and one iDEAL bank failing in November 2026. Hide that method and retry the same payment.
- Checkout
- Retail
- Resilience
- Monitoring
Reliability2 min read
How do you stop an expired certificate from taking a service down?
Four services broke on expired or mis-chained TLS certificates in November 2026. Inventory every certificate, renew automatically, and check from outside.
- TLS certificates
- Monitoring
- Resilience