A capability rollout introduces a newer browser path without immediately removing the prior way to complete a task. The policy has three independent gates: browser ability, product exposure, and current user authorization. Feature detection cannot grant access to a private export, and a release flag cannot make an unsupported API work. Retiring a fallback is a migration with an owner, evidence, and a reversal path, because old tabs and embedded environments may outlive the deploy that changed the code.
Capability Rollout and Fallback Retirement
Working case
The permit service adds client-side PDF preview for case 47. A staged release exposes it to a subset of reviewers, but a device with the required browser APIs can still fail because its memory is low. One team removes the server preview after the first successful desktop trial. Support then finds that embedded review stations still depend on it. The team must keep server rendering available until target environments complete real review tasks and failure rates remain acceptable over the agreed observation window.
Implementation boundary
function previewPath(release, environment) {
if (!release.authorized || !release.enabled || !environment.previewApi) return 'server-preview';
return environment.memoryBudgetMb >= 256 ? 'client-preview' : 'server-preview';
}
console.log(previewPath({ authorized: true, enabled: true }, { previewApi: true, memoryBudgetMb: 128 }));
// Output: server-previewEvaluate the server-side exposure flag and record authorization first, then probe the local API. Keep old and new paths tied to the same case revision so output cannot silently diverge. Record anonymous outcome categories: offered, started, completed, canceled, failed, and fallback used. Avoid collecting document bytes in telemetry. A kill action should disable the new path without needing a fresh client bundle, while the fallback remains available. Before retirement, inspect active client versions, embedded web views, support cases, and completion by environment. Publish a compatibility window and a rollback plan for old tabs.
Cost and boundaries
Maintaining two paths adds code, testing, and server capacity. Removing the fallback saves those costs only after its users have another reliable route. If the new preview uses O(document bytes) memory in the browser, a low-end device may fail even when the API exists. Run a memory and latency budget with realistic 47-page documents, and keep server rendering for devices that exceed it. Telemetry cardinality should be bounded to route and outcome classes rather than individual case IDs.
Failure trace
Enable the preview for one test cohort and force a browser memory failure halfway through rendering. The reviewer must return to the server preview without losing the case revision or selected page. Disable the feature flag while a tab is open and ensure the next attempt follows the old path. Deliver a response from a prior case after navigation; it must not paint the current case. Then simulate an older tab requesting an asset after rollout and rollback. Before removing server preview, run the task on every supported station and review fallback-use counts.
Verification
- Capability, exposure, and authorization are separate gates.
- A kill action leaves the old path usable.
- Fallback removal requires evidence from supported stations.
Practice drill
Write a rollout record for a new case preview with a named owner, exposure stages, completion target, error threshold, and stop action. Keep both routes for an observation period measured by active client versions rather than calendar time alone. Exercise permission denial, API absence, memory failure, and flag rollback. At retirement review, show task completion across device classes and a plan to restore the fallback if a hidden dependency appears.
Decision note
A fallback earns retirement through observed task completion and recoverability, not through a browser support label.
Common Mistakes
- Removing the fallback after a desktop-only trial.
- Equating API presence with enough device memory.
- Recording private case IDs in rollout telemetry.
Related lessons
Progressive Browser Compatibility; Feature Probes and Functional Fallbacks; Polyfill Cost and Target Browser Policy; Cross-Browser Input and Device Contracts; Feature Release and Experiment Controls; Artifact Manifest, Rollout, and Rollback Coherence.
Connected practice
Build Project: progressive case export release and review Web Development: components and compatibility quiz.
