-
Notifications
You must be signed in to change notification settings - Fork 126
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Use GetInstance to load feature flags instead of rill.yaml #4800
Conversation
If this PR is not a release blocker, I think it would be a good time to solidify our precedence for different feature flag methods going forward. I'm of the opinion that we should remove setting feature flags via localStorage or the URL. If others say we need to maintain that, then we'll need to change the feature flag implementation so that certain flags cannot be "overridden". For instance, you might set |
Good point. Ideally we should have a check in the backend as well. Because it is trivial to force change it on client side and still enable export. |
@begelundmuller Since the issue was with an incomplete release, do you think this is a blocker still? |
I don't think it should be a release blocker |
I'm game for this. Both setting flags via local storage and via URL preceded our ability to set flags in |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Approving, since removing URL & local storage feature flag support can always be done in a separate PR.
closes #4763
We cannot use repo APIs in cloud to get rill.yaml. Feature flags was moved to GetInstance. This PR updates to make use of GetInstance.