1
0
mirror of https://github.com/Unleash/unleash.git synced 2024-12-22 19:07:54 +01:00
unleash.unleash/website/docs/how-to/how-to-troubleshoot-flag-exposure.md
Gastón Fournier 94916bc46d
docs: improve troubleshooting (#5233)
## About the changes
Adding details based on customer struggles
2023-10-31 15:00:25 +01:00

944 B

title
My feature flag is enabled but all/some of our users are not exposed to it

To confirm how users will have flags resolved, follow these steps:

  1. Ensure your application is waiting for the ready event: It could be that frontend clients are calling isEnabled('feature-flag') before they have the response from the server. In this case, you should defer isEnabled calls until the client has emitted the ready event.
  2. The Unleash Playground was developed with this particular use case in mind. An access token can be used along with context values (passed in via the UI) to see how a flag will be resolved.
  3. When using a gradual rollout strategy, be mindful of the stickiness value. When evaluating a flag, if the provided context does not include the field used in the stickiness configuration, the gradual rollout strategy will be evaluated to false.