# Feature flag rollback test report

> Inspect a local fixture that switches a feature on and then off. Compare the restored behaviour with the stale state left behind after rollback.

Source: https://cueapril.com/reports/feature-flag-rollback
Updated: 2026-12-01
Index: https://cueapril.com/llms.txt

## Can the old workflow resume without orphaned state after the flag is disabled?

The original implementation failed the “Draft saved under new flag” check. Expected draft B and observed . The corrected implementation met both expectations on the same inputs.

A draft remains readable when switching back to the original reader. Compare two versions of a small, runnable fixture. The inputs, expected values and recorded results are public.

## What the control case missed

Reading an old draft still works after a release. A draft written with the temporary field name becomes empty when the flag is rolled back to an older reader.

Observed values from the two implementations

| Check | Expected | Original | Corrected |
| --- | --- | --- | --- |
| Original draft | draft A | draft A | draft A |
| Draft saved under new flag | draft B |  | draft B |

## What to check before merging

Verify forward and backward compatibility of persisted state during the entire rollback window. This fixture covers two field names. Decide separately when the legacy format can safely be retired.

## Reproduce the recorded result

Download the [Node.js fixture](/examples/qa-regressions/run.mjs) and run node run.mjs feature-flag-rollback with Node.js 24. Compare the printed JSON with the [recorded results](/examples/qa-regressions/results.json). This is a locally executed model of the regression, using synthetic inputs. It covers the rule shown here. Hosted runs, browser behaviour and customer PRs require their own evidence.

## Primary documentation

- [Runnable synthetic regression fixtures](/examples/qa-regressions/run.mjs)
- [Recorded output for all twelve fixtures](/examples/qa-regressions/results.json)

By Cue April. Updated 2026-12-01.

## Related

- [Worked test reports](https://cueapril.com/reports): Replay a real mobile pricing defect from a Cue April pull request. Explore runnable reports for checkout, search, data migrations and other regressions.
- [Pull request testing](https://cueapril.com/use-cases/pull-request-testing): See what a pull request test report should show before you merge. Follow a failing checkout check through the fix and inspect a real PR report.
