Skip to content
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

[Tapioca Add-on] Use gradual rollout API #2083

Closed
wants to merge 1 commit into from

Conversation

KaanOzkan
Copy link
Contributor

Motivation

Implementation

Tests

@KaanOzkan KaanOzkan added the enhancement New feature or request label Nov 22, 2024
@@ -32,8 +32,7 @@ def initialize
sig { override.params(global_state: RubyLsp::GlobalState, outgoing_queue: Thread::Queue).void }
def activate(global_state, outgoing_queue)
@global_state = global_state
# TODO: Uncomment
# return unless @global_state.experimental_features
return unless @global_state.enabled_feature?(:tapioca_addon)
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

This is camel case because it comes from the JSON settings and we don't convert it to snake case.

Suggested change
return unless @global_state.enabled_feature?(:tapioca_addon)
return unless @global_state.enabled_feature?(:tapiocaAddon)

@@ -67,7 +66,7 @@ def version
sig { params(changes: T::Array[{ uri: String, type: Integer }]).void }
def workspace_did_change_watched_files(changes)
# TODO: Uncomment
# return unless T.must(@global_state).experimental_features
return unless T.must(@global_state).enabled_feature?(:tapioca_addon)
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Need to also remove the TODO comment above.

Suggested change
return unless T.must(@global_state).enabled_feature?(:tapioca_addon)
return unless T.must(@global_state).enabled_feature?(:tapiocaAddon)

@KaanOzkan KaanOzkan closed this Nov 22, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants