FA-74269 / Feature flag rollout bucketing / Member archive
Bootstrapped flag payload merge: Flags unknown locally are never added · case 04
Newly created flags never reach clients until a full reload.
Case contract
Payloads are {version, flags: {key: {value, version, deleted?}}}. An incoming payload with a lower payload version than local is ignored entirely. Otherwise each incoming flag replaces the local entry only when the key is new or its flag version is strictly higher; deleted tombstones follow the same rule. Return sorted [key, value] pairs for merged flags that are not deleted.
Why this case matters
Clients bootstrap from HTML-embedded flags and then stream updates; stale data must not win.
One recorded failure
Sample boundary fixtureThis sample comes from the broken implementation of a controlled reproducer.
| Boundary fixture | Actual | Expected | Outcome |
|---|---|---|---|
| new flag with version zero is adopted | [] | [["b", "on"]] | Failed |
MEMBER ARCHIVE
The complete case is available to members.
This record includes three runnable implementations, regression fixtures, execution results, and source hashes.
Member access is invitation-based. Sign in with your invited account to inspect the sources.
Sign in to the archive ↗