[KongchangAI]
Concept目标定向

targeting

In a feature flag system, the set of rules that define the scope in which a flag takes effect. Matching can be based on user ID, organization ID, attributes, or percentage-based buckets, and the mechanism is essentially a lightweight policy engine.

Timeline (last 90 days)

Nov 5

WorkOS has exposed Feature Flags targeting endpoints in its API, allowing developers to add and remove target organizations and users from their own systems.

Unverified50%
Nov 5

Targeting is the set of rules in a Feature Flag system that defines the "scope of effect" for a flag; rules can match by user ID, organization ID, attributes, or percentage buckets.

Unverified50%
Nov 5

In a typical evaluation model for Feature Flags, a flag's final value is jointly determined by explicit targeting rules, percentage rollout, and the default value.

Unverified50%
Nov 5

When a target is removed, the system skips that targeting rule and continues evaluating downward; if the flag's default value is on, users may still see the new feature.

Unverified50%
Nov 5

"Explicit exclusion" usually exists as a separate exclusion rule with higher priority than targeting rules, ensuring that the target never enters the rollout under any circumstances.

Unverified50%
Nov 5

Removing an organization or user from a flag's targeting does not equal turning off the flag's global state, nor does it necessarily mean the user immediately reverts to the old behavior.

Unverified50%
Nov 5

It is recommended to include targeting changes in auditing, recording who added or removed which organization from which flag at what time.

Unverified50%
Nov 5

Organization and user IDs often differ between test and production environments, so automation scripts should avoid hardcoding them.

Unverified50%
Nov 5

Removal paths need to be tested as thoroughly as addition paths, because removal semantics depend on the default value and can easily diverge from expectations.

Unverified50%

All Facts (9)

Unverified

Removal paths need to be tested as thoroughly as addition paths, because removal semantics depend on the default value and can easily diverge from expectations.

50%
Unverified

Targeting is the set of rules in a Feature Flag system that defines the "scope of effect" for a flag; rules can match by user ID, organization ID, attributes, or percentage buckets.

50%
Unverified

In a typical evaluation model for Feature Flags, a flag's final value is jointly determined by explicit targeting rules, percentage rollout, and the default value.

50%
Unverified

When a target is removed, the system skips that targeting rule and continues evaluating downward; if the flag's default value is on, users may still see the new feature.

50%
Unverified

"Explicit exclusion" usually exists as a separate exclusion rule with higher priority than targeting rules, ensuring that the target never enters the rollout under any circumstances.

50%
Unverified

Removing an organization or user from a flag's targeting does not equal turning off the flag's global state, nor does it necessarily mean the user immediately reverts to the old behavior.

50%
Unverified

It is recommended to include targeting changes in auditing, recording who added or removed which organization from which flag at what time.

50%
Unverified

Organization and user IDs often differ between test and production environments, so automation scripts should avoid hardcoding them.

50%
Unverified

WorkOS has exposed Feature Flags targeting endpoints in its API, allowing developers to add and remove target organizations and users from their own systems.

50%

Source Articles