Questions tagged [feature-flags]

For questions regarding feature flags - enabling features based on flags on users/roles to do canary style deployments.

Feature flags are a method of restricting access to (potentially new) features to certain users (or roles/groups, depending on the setup).

One aspect of using feature flags is that you can introduce new features without opening them up to all users, enabling you to do canary deployments, to avoid widespread impact in case of issues.

44 questions
4
votes
1 answer

Azure Feature Flag is not updating after cache expiration

We have FeatureFlag: IsServiceNeeded with no label set in Feature Manager of Azure App Configuration. We have used in built method AddAzureAppConfiguration by setting up the cache interval. We are using .net core 3.1 web api and Feature Manager of…
3
votes
1 answer

How are users identified in LaunchDarkly?

I'm using LaunchDarkly for feature flag management and I don't know where to get the key of the current user. Here is an example from the LD documentation of their React SDK: import { withLDProvider } from 'launchdarkly-react-client-sdk'; export…
ganqqwerty
  • 1,894
  • 2
  • 23
  • 36
3
votes
1 answer

Why is the Azure App Configuration feature flag not found?

Azure Functions app, runtime v3. The application has a FunctionsStartup class that first enables Azure App Configuration in its ConfigureAppConfiguration method: builder.ConfigurationBuilder.AddAzureAppConfiguration(options => { options …
Michiel van Oosterhout
  • 22,839
  • 15
  • 90
  • 132
2
votes
1 answer

How to Mock FeatureFilterEvaluationContext Parameters?

I created a custom feature filter and in EvaluateAsync I get the feature flag's custom settings from Azure's Feature manager for this specific feature flag's filter. public virtual Task EvaluateAsync(FeatureFilterEvaluationContext…
ScubaSteve
  • 7,724
  • 8
  • 52
  • 65
1
vote
1 answer

Growthbook immediate update on mobile app

I use Growthbook to maintain my feature toggle and some other remotely configured values on my Flutter app. I successfully connect the app by using the provided SDK and connection keys. I created some "features" on the Growthbook UI, and tested out…
Naufal Rajabi
  • 334
  • 4
  • 13
1
vote
2 answers

Request forbidden while fetching feature flag from gitlab to react application

I have created a feature flag in gitlab. I need to fetch the value of that particular flag in my React application. I have written the below code, and the code generates the 403 Forbidden error. I have also checked the permission to the personal…
Nikhil
  • 56
  • 1
  • 9
1
vote
0 answers

How to read Treatment values from split GO SDK

My split.io feature flag is sky_name feature flag has following treatment { "sk_price":"45788" } I want to read sk_price when treatment is on. My sample code is as below import ( "github.com/splitio/go-client/v6/splitio/client" …
Madhawa
  • 87
  • 7
1
vote
0 answers

AWS - AppConfig - Feature flags - CDK V1 - AppConfig Feature Flags Helper: Malformed 'Content' provided

I am trying to create an AWS AppConfig app, configuration profile, environment, hosted configuration, deployment strategy and the deployment constructs from CDK V1 (Node.js). I am following @aws-cdk_aws-appconfig.CfnHostedConfigurationVersion AWS…
1
vote
0 answers

Ngrx with feature flags - best practices

I am using ngrx in my project and I would like to include feature flagging on it, but I was checking some articles on the web and none of them mention ngrx, they used plain Angular service, guard or directive. I was wondering if that makes sense as…
Alejandro
  • 102
  • 9
1
vote
0 answers

How to Implement Feature-Flags in Java/Spring with Kubernetes Replica Set?

I implemented some feature-flag logic following Baeldungs guide, and it works great as long as the service is isolated (local, or 1 pod in the cloud) when I update the feature-flag via the controller endpoint. The issue is, I deploy 2 pods for the…
luke16
  • 21
  • 1
  • 5
1
vote
2 answers

How to disable certain Nuxt 3 pages?

Sometimes you have unfinished pages you don't want to make publicly available yet but you still want to publish the rest of your work. You can either strictly work with feature branches, or you rename your page file ending into something like .txt,…
Marian Klühspies
  • 15,824
  • 16
  • 93
  • 136
1
vote
2 answers

Is IFeatureManager cache not refreshed for the first call after cache has expired?

In ASP.NET Core 6 minimal API, I've been working with Azure App Configuration feature flags. I have set up the feature flag configuration so that the flags expire in 5 seconds. builder.Configuration.AddAzureAppConfiguration( options =>…
1
vote
0 answers

How can I access AWS AppConfig feature flag in a angular frontend

At our organization we are using AWS AppConfig to manage feature flags throughout our development cycle, AppConfig flags are easily accessible in backend services like lambda etc. but our frontend is single action page build using angular and we are…
1
vote
1 answer

LaunchDarkly turn off for certain environments

I'm using the React SDK for LaunchDarkly and I need to initialize it just for certain environments. For example I need to skip LaunchDarkly initialization for localrun. Is there a way to do it? This is the way I initialize it: export default…
1
vote
2 answers

Unable to resolve service for type 'Microsoft.FeatureManagement.IFeatureManager' while attempting to activate 'Startup'

I have asp.net core 3.1 web api project. I have added the nuget package: Microsoft.FeatureManagement.AspNetCore Add the below in the appsettings.local.json: { "FeatureManagement": { "EnableNewFeature": true } } Startup.cs public class…
santosh kumar patro
  • 7,231
  • 22
  • 71
  • 143
1
2 3