FA-74150 / Feature flag rollout bucketing / Member archive
Multi-context canonical key: Empty context keys are accepted · case 05
Contexts with a blank org key all share the canonical key "org:".
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 |
|---|---|---|---|
| empty key is invalid | "org:acme:user:" | null | 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 ↗