A canary is not a percentage flag
Progressive delivery diagrams often draw a 5% → 25% → 100% ramp and call the whole thing a canary. On the platforms we ship — BuilderHelp's admin, Expo field client, OCR worker — those two ramps are not interchangeable. A canary is a deploy strategy: a new binary gets a slice of traffic while you watch error rate, latency, and saturation, then you promote or shift traffic back. A percentage flag is a release strategy: the binary is already everywhere, and an application gate opens behaviour for a cohort. Conflating them is how teams use a flag to paper over an unsafe deploy, or treat a UI copy change as if it needed a mesh-level traffic shift.
The unit of change is different
A canary changes which build answers the request. The load balancer, ingress, or rollout controller steers a percentage of traffic to version B while version A still serves the rest. Rollback means shifting traffic back to A — every change in that binary moves together.
A percentage flag changes which code path runs inside a build that is already live. The same binary evaluates an SDK, opens a branch for 5% of users, and leaves the rest on the old path. Rollback means flipping the flag. Other features that shipped in the same deploy stay up.
Those look similar on a dashboard that only shows a percentage. They answer different questions. The canary asks whether this build is safe to run under load. The flag asks whether this audience should see this behaviour yet.
What each one can see
Infrastructure canaries catch what application flags cannot: connection pool exhaustion, cold-start regressions, cache behaviour under real fan-out, memory growth that only shows when a slice of production traffic hits the new process. If the risk lives in the binary or the runtime, you need a traffic shift and SLI comparison — not a boolean in product code.
Flags catch what canaries blur: one feature among many in a deploy, a beta cohort by account attribute, an instant kill without tearing down pods. A canary that rolls back because a dark feature threw errors also rolls back the unrelated fix that shared the build. A flag would have dialed only that feature down.
On multi-surface products the mismatch gets sharper. The Next.js admin can take a canary behind a platform edge. The Expo binary and the OCR worker cannot be percentage-shifted the same way mid-session. When we need progressive exposure there, we use a release flag (or a capability gate in the API) on a build that is already installed — and we still canary the API deploy that hosts the new contract.
Do not use one to fake the other
Shipping a risky binary with every new path behind flags still leaves the process change live for 100% of traffic. Flags hide behaviour; they do not prove the build is healthy. We have seen teams call a 10% flag a canary and skip analysis templates because 'we can flip it off.' The flip only helps if the failure is in the gated branch. A bad migration runner, a broken health check, or a shared library bump is not behind that branch.
The other failure mode is canarying every product tweak. Copy, empty states, and entitlement UI do not need mesh analysis. They need a release flag with an owner and a removal date — the lifecycle we already enforce elsewhere. Routing 5% of traffic through a second deployment for a string change burns ops attention and teaches the team that canaries are ceremony.
The useful default is both, in order: canary the deploy with flags off for infrastructure signals, promote the build, then open the release flag by cohort. Rollback at the first stage is traffic shift. Rollback at the second is a dashboard toggle. Name which stage you are in before you pick the tool.
What we write on the runbook
Before a progressive change ships we label the mechanism: canary (build/traffic), release flag (cohort/behaviour), or both. The label decides the success signals, who can promote, and what 'abort' means.
Canary abort: automatic analysis against baseline error rate and latency, then traffic back to the previous revision. Flag abort: flip to off for the affected audience without redeploying. Mixing those sentences in one runbook is how on-call wastes the first ten minutes arguing about kubectl versus the flag console.
We also refuse the vague percentage without a type. 'Ramp to 25%' is not a plan until you say whether 25% means pods or users. Pods are a canary. Users are a flag. Write the noun next to the number.