-
Notifications
You must be signed in to change notification settings - Fork 138
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
Enable conversation memory feature flags #2095
Conversation
Signed-off-by: HenryL27 <[email protected]>
@HenryL27 integration tests are failing. Could you please take a look at it? |
oh yes. we tested the feature flags. one sec |
Signed-off-by: HenryL27 <[email protected]>
Signed-off-by: HenryL27 <[email protected]>
Settings settings = Settings.builder().put(ConversationalIndexConstants.ML_COMMONS_MEMORY_FEATURE_ENABLED.getKey(), false).build(); | ||
when(this.clusterService.getSettings()).thenReturn(settings); | ||
when(this.clusterService.getClusterSettings()) | ||
.thenReturn(new ClusterSettings(settings, Set.of(ConversationalIndexConstants.ML_COMMONS_MEMORY_FEATURE_ENABLED))); |
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.
This line seems redundant to all the files. Can't we put this in a common file (may be testutil or something) and then invoke this.
Signed-off-by: HenryL27 <[email protected]>
Codecov ReportAttention:
Additional details and impacted files@@ Coverage Diff @@
## main #2095 +/- ##
============================================
- Coverage 81.82% 81.82% -0.01%
+ Complexity 5617 5616 -1
============================================
Files 543 543
Lines 22810 22810
Branches 2339 2339
============================================
- Hits 18665 18664 -1
- Misses 3210 3213 +3
+ Partials 935 933 -2
Flags with carried forward coverage won't be shown. Click here to find out more. ☔ View full report in Codecov by Sentry. |
* Enable conversation memory feature flags Signed-off-by: HenryL27 <[email protected]> * amend feature flag tests Signed-off-by: HenryL27 <[email protected]> * remove accidentally committed files Signed-off-by: HenryL27 <[email protected]> * apply spotless Signed-off-by: HenryL27 <[email protected]> * fix final feature disablement test. whoops Signed-off-by: HenryL27 <[email protected]> * move common feature disablement code to util class Signed-off-by: HenryL27 <[email protected]> --------- Signed-off-by: HenryL27 <[email protected]> (cherry picked from commit 850c748)
* Enable conversation memory feature flags Signed-off-by: HenryL27 <[email protected]> * amend feature flag tests Signed-off-by: HenryL27 <[email protected]> * remove accidentally committed files Signed-off-by: HenryL27 <[email protected]> * apply spotless Signed-off-by: HenryL27 <[email protected]> * fix final feature disablement test. whoops Signed-off-by: HenryL27 <[email protected]> * move common feature disablement code to util class Signed-off-by: HenryL27 <[email protected]> --------- Signed-off-by: HenryL27 <[email protected]> (cherry picked from commit 850c748)
* Enable conversation memory feature flags Signed-off-by: HenryL27 <[email protected]> * amend feature flag tests Signed-off-by: HenryL27 <[email protected]> * remove accidentally committed files Signed-off-by: HenryL27 <[email protected]> * apply spotless Signed-off-by: HenryL27 <[email protected]> * fix final feature disablement test. whoops Signed-off-by: HenryL27 <[email protected]> * move common feature disablement code to util class Signed-off-by: HenryL27 <[email protected]> --------- Signed-off-by: HenryL27 <[email protected]> (cherry picked from commit 850c748) Co-authored-by: HenryL27 <[email protected]>
* Enable conversation memory feature flags Signed-off-by: HenryL27 <[email protected]> * amend feature flag tests Signed-off-by: HenryL27 <[email protected]> * remove accidentally committed files Signed-off-by: HenryL27 <[email protected]> * apply spotless Signed-off-by: HenryL27 <[email protected]> * fix final feature disablement test. whoops Signed-off-by: HenryL27 <[email protected]> * move common feature disablement code to util class Signed-off-by: HenryL27 <[email protected]> --------- Signed-off-by: HenryL27 <[email protected]> (cherry picked from commit 850c748) Co-authored-by: HenryL27 <[email protected]>
* Enable conversation memory feature flags Signed-off-by: HenryL27 <[email protected]> * amend feature flag tests Signed-off-by: HenryL27 <[email protected]> * remove accidentally committed files Signed-off-by: HenryL27 <[email protected]> * apply spotless Signed-off-by: HenryL27 <[email protected]> * fix final feature disablement test. whoops Signed-off-by: HenryL27 <[email protected]> * move common feature disablement code to util class Signed-off-by: HenryL27 <[email protected]> --------- Signed-off-by: HenryL27 <[email protected]>
Description
Enable feature flags for GA conversation search in 2.12
Issues Resolved
[List any issues this PR will resolve]
Check List
By submitting this pull request, I confirm that my contribution is made under the terms of the Apache 2.0 license.
For more information on following Developer Certificate of Origin and signing off your commits, please check here.