FA-74134 / Feature flag rollout bucketing / Member archive
Multi-context canonical key: Colons are escaped before percent signs · case 04
Keys containing ":" become "%253A", so multi-context keys disagree with other SDKs.
Case contract
contexts maps kind -> key. Empty input or any empty key -> None. A context containing only the kind "user" is keyed by the bare user key. Otherwise join, over kinds in sorted order, kind + ":" + escaped key with ":", where escaping replaces "%" by "%25" and then ":" by "%3A".
Why this case matters
Canonical context keys feed bucketing and caches; two spellings of one context split its traffic.
One recorded failure
Sample boundary fixtureThis sample comes from the broken implementation of a controlled reproducer.
| Boundary fixture | Actual | Expected | Outcome |
|---|---|---|---|
| context sample 6 | "device:bob:org:a%253Ab" | "device:bob:org:a%3Ab" | 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 ↗