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.
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.
| 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 and run node run.mjs feature-flag-rollback with Node.js 24. Compare the printed JSON with the recorded results. 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.